Microsoft.SqlServer.Rmo
The namespace implements the Replication Management Object (RMO) model. RMO provides programmatic access to Microsoft SQL Server replication from a managed code environment.
Enumerates the options for adding a column to a table published in an existing publication.
Include the newly added column to all existing publications in which the underlying table is published.
Do not include the newly added column to any publication in which the underlying table is published.
Include the newly added column only to specified publications.
Returns information about the results of the last run of a replication agent.
Initializes a new instance of the class.
Gets or sets the date and time when the last agent run message was logged.
A value that specifies a date and time.
Gets or sets the last message logged from a replication agent.
A value that specifies the message.
Gets or sets the last status logged by a replication agent.
A object value that specifies the status.
Gets or sets an object to which users can attach their own data.
An system object value that specifies custom user data.
Encapsulates all operations on replication agent profiles, such as creating, deleting, adding, and removing parameters, and assigning specific profiles to certain agents.
Initializes a new instance of the class.
Initializes a new instance of the class with a specified agent profile ID value and server connection.
An value that uniquely identifies the agent profile.
A object that specifies a connection to the instance of Microsoft SQL Server.
Initializes a new instance of the class with the specified profile name and server connection.
A value that specifies the name of an agent profile.
A object that specifies a connection to an instance of SQL Server that is a Distributor.
Adds a parameter to the replication agent profile.
A value that specifies the name of a profile parameter.
A value that specifies a value for the profile parameter.
Assigns the replication agent profile to a specific replication agent job.
A value that specifies the name of the distribution database used by the replication agent job.
An value that specifies the replication agent job.
Changes the value of an existing replication agent parameter in the profile.
A that specifies the name of the parameter.
A that specifies the new value for the parameter.
Creates the replication agent profile on the instance of SQL Server by using the current properties.
Returns information about parameters that can be set and that are available for the replication agent profile.
An of objects.
Returns all existing parameters that are set for the replication agent profile.
An of objects.
Sets the profile as the default profile for all replication agents of the same type.
Removes an existing replication agent profile from the Distributor.
Removes an existing parameter from the replication agent profile.
A value that specifies the name of the parameter to be removed.
Generates a Transact-SQL script that can be used to re-create the agent profile.
A value that contains a list of Transact-SQL statements in the script.
A object value that specifies the scripting options.
Gets or sets the type of replication agent for which the profile is intended.
An object value that specifies the replication agent type.
Specifies whether this profile is the default profile for the given replication agent type.
A value.
Gets or sets a textual description of the replication agent profile.
A value that contains a textual description of the agent profile.
Gets or sets the name of the replication agent profile.
A value that specifies the name.
Specifies whether the replication agent profile is pre-defined by replication or created by a user.
An object value that specifies the type of agent profile.
Represents parameters in a replication agent profile.
Initializes a new instance of the class.
Gets or sets the name of the parameter in a replication agent profile.
A value that specifies the parameter name.
Gets or sets an object to which users can attach their own data.
An that specifies custom user data.
Gets or sets the value of the parameter in a replication agent profile.
An value that specifies the value.
Represents a supported parameter used in replication agent profiles.
Initializes a new instance of the class.
Represents the default value of the replication agent parameter.
A value that specifies the default value of the agent profile parameter.
Represents the maximum value for the replication agent parameter.
An value.
Represents the minimum value of the replication agent parameter.
An value that specifies the minimum value of the agent profile parameter.
Represents the name of the replication agent parameter.
A value that specifies the parameter name.
Specifies whether the replication agent parameter has a default value.
A value. If the value is true, the replication agent parameter has a default value that is represented by . If the value is false, the replication agent parameter does not have a default value.
Specifies whether the replication agent parameter has a maximum value.
A value. If the value is true, the replication agent parameter has a maximum value that is represented by . If the value is false, the replication agent parameter does not have a maximum value.
Specifies whether the replication agent parameter has a minimum value.
A value. If the value is true, the replication agent parameter has a minimum value that is represented by . If the value is false, the replication agent parameter does not have a minimum value.
Gets or sets an object to which users can attach their own data.
An that specifies the custom user data.
Indicates whether a replication agent profile is system-defined or user-defined.
The replication agent profile is pre-defined by replication.
The replication agent profile is custom-defined by the user.
Enumerates the various types of replication agents.
All types of replication agents.
A replication Distribution Agent.
A replication Log Reader Agent.
A replication Merge Agent.
A miscellaneous replication agent.
A replication Queue Reader Agent.
A replication Snapshot Agent.
The base class from which the class and class are derived.
Initializes a new instance of the class.
A value.
Internal only
Creates a new article on the currently connected instance of SQL Server based on the current properties of the object or the object.
Removes an existing article on the currently connected instance of SQL Server based on the current properties of the object or the object.
Generates a Transact-SQL script that can be executed to create or delete the object or the object on the server.
A value that contains the Transact-SQL script.
A object value that specifies the scripting options.
Gets the article ID value.
An value that specifies the article ID.
Gets or sets the name and full path of the Transact-SQL script file that is used to create the destination object at the Subscriber.
A value that specifies the name and full path of the article schema script file.
Gets or sets the name of the database that contains the data and the objects that are published in the article.
A value that specifies the name of the publication database.
Gets or sets a textual description of the article.
A value that specifies the description of the article.
Gets or sets the database object that is the source database object for the article at the Subscriber.
A value that specifies the name of the database object.
Gets or sets the schema owner of the source database object for the article at the Subscriber.
A value that specifies the owner of the database object.
Gets or sets the identity range management options for the article.
An enumeration value that specifies the desired identity range management options.
Gets or sets the value at which a new range of identity column values are assigned to a Publisher or to a Subscriber.
An value between 1 and 100 that specifies the percentage of the total identity range that must be used before a new range of identity values is assigned.
Gets or sets the name of the article.
A value that specifies the name of the article.
Gets or sets the action to take when the published object already exists in the subscription database.
A enumeration value that specifies the action.
Gets or sets the name of the publication to which the article belongs.
A value that specifies the name of the publication.
For a object, gets or sets the range of identity values assigned to table columns at the Publisher. For a object, gets or sets the range of identity values assigned to table columns at Subscribers that have server subscriptions.
An value that specifies the publisher identity range.
Gets or sets the schema creation options for an article.
A enumeration value that specifies the schema creation options.
Gets or sets the name of the database object that is being published.
A value that specifies the object name.
Gets or sets the owner of the database object that is being published.
A value that specifies the owner of the database object.
Gets or sets the maximum number of new rows that can be inserted into an identity column in a table at a Subscriber before another identity range must be allocated.
An value that specifies the maximum number of rows that can be inserted into an identity column.
Gets or sets the type of article.
An enumeration value that specifies the type of article.
Specifies whether all columns are published in a table article.
A value. If the value is true, columns must be added to the article after the article is created. If the value is false, all table columns are included in the article.
Represents information about a merge replication conflict table.
Initializes a new instance of the class.
Gets or sets the name of the article that uses the specified .
A value that specifies the name of the merge article.
Specifies whether the conflict table exists at the Publisher or at the Subscriber.
A value that specifies whether the conflict reporting occurs at the Publisher or at the Subscriber. If the value is true, the conflict table for the article exists at the Publisher. If the value is false, the conflict table for the article exists at the Subscriber.
Gets or sets the name of the table in which the conflicting data for the specified is stored.
A value that specifies the name of the conflict table.
Gets or sets the name of the column that uniquely identifies rows in the specified .
A value that specifies the GUID column name.
Gets or sets the name of the source object for the specified .
A value that specifies the object name.
Gets or sets the owner of the source object for the specified .
A value that specifies the object owner.
Gets or sets an object to which users can attach their own data.
An system object value that specifies the object that contains the user data.
Specifies whether the data type mapping between two database management systems (DBMS) for an article has been defined by a user or is the default mapping.
The mapping has been set by a user.
The mapping is the default data type mapping for this data type.
Enumerates the type of database objects that can be published by replication.
The source object for the published article is the schema definition of a user-defined aggregate function.
The source object for the published article is the schema definition of a user-defined function.
The source object for the published article is an indexed view.
The source object for the published article is an indexed view, and data changes are read from the log.
The source object for the published article is an indexed view. Data changes are read from the transaction log. The user defines the object that provides the initial snapshot data for the article and the stored procedure that filters the article horizontally.
The source object for the published article is an indexed view. Data changes are read from the transaction log, and the user defines the stored procedure that filters the article horizontally.
The source object for the published article is an indexed view. Data changes are read from the transaction log, and the user defines the object that provides the initial snapshot data for the article.
The source object for the published article is the schema definition of an indexed view.
The source object for the published article is a table. Data changes are read from the transaction log.
The source object for the published article is a table. Data changes are read from the transaction log. The user defines the object that provides the initial snapshot data for the article and the stored procedure that filters the article horizontally.
The source object for the published article is a table. Data changes are read from the transaction log, and the user defines the stored procedure that filters the article horizontally.
The source object for the published article is a table. Data changes are read from the transaction log, and the user defines the object that provides the initial snapshot data for the article.
The user defines the stored procedure that filters the article horizontally.
The user defines the object that provides the initial snapshot data for the article.
The source for the published article is the execution of a stored procedure. The commands in the stored procedure are replicated to the Subscriber.
The source object for the published article is the schema definition of a stored procedure.
The source for the published article is the execution of a stored procedure. Only the commands of the stored procedure that are within the context of a transaction that can be serialized are replicated to the Subscriber.
The source object for the published article is the schema definition of a synonym.
The source object for the published article is a table.
The source object for the published article is the schema definition of a view.
Enumerates values that specify the supported HTTP authentication methods for Web synchronization.
Indicates the standard HTTP authentication mechanism that uses a login and a password.
Indicates an HTTP authentication mechanism based on the Windows Challenge/Response authentication mechanism. The challenge/response mechanism works only when the Subscriber computer and the IIS server computer are located in the same Windows domain or in trusted Windows domains.
Enumerates default behaviors when reinitializing subscriptions to a merge publication.
Reinitializes the subscription without uploading pending changes to the Publisher.
Reinitializes the subscription after uploading pending changes to the Publisher.
Represents the server registration for the managed code assembly that implements a business logic handler.
Initializes an instance of the class.
Gets or sets the name of the assembly that implements the business logic handler.
A value that specifies the assembly name.
Gets or sets the name of the class that implements the business logic handler.
A value that specifies the class name.
Gets or sets the name that registers the business logic handler on the server.
A value that specifies the name.
Specifies whether the registered business logic handler is a managed code assembly.
A value. If the value is true, the business logic handler is a managed code assembly. If the value is false, the business logic handler is not a managed code assembly.
Gets or sets an object to which users can attach their own data.
An system object value that specifies the object that contains the user data.
Enumerates the table-level permissions that are verified when the Merge Agent applies changes at the Publisher.
Permissions are checked before applying DELETE statements at the Publisher.
Permissions are checked before applying INSERT statements at the Publisher.
Permissions are not checked.
Permissions are checked before applying UPDATE statements at the Publisher.
Enumerates options that control how changes are propagated for transactional articles.
Binary parameters are used when propagating changes.
The horizontal partition for the article is defined by a transformable subscription.
Includes column names in INSERT statements for the destination table.
No specified options.
Enumerates options for selecting the winning row when conflicts occur during synchronization of an updating subscription to a transactional publication.
The row from the Publisher is retained.
The subscription must be reinitialized when conflicts occur.
The row from the Subscriber is retained.
Represents information you use when you connect to Microsoft SQL Server.
Initializes a new instance of the class.
Updates schedule fields associated with the connection security context.
Gets or sets the login used with SQL Server Authentication.
A value that specifies the login.
Gets or sets the password for the login required for SQL Server Authentication.
A value that specifies the password for the login required for SQL Server Authentication.
Gets or sets the property that specifies whether the connection is made by using Windows Authentication or SQL Server Authentication.
A value that specifies whether the connection is made by using Windows Authentication or SQL Server Authentication.If the value is true (default), the connection is made by using Windows Authentication.If the value is false, the connection is made by using SQL Server Authentication
Enumerates schema option values for published articles.
At the Subscriber, attempts to drop dependencies to any objects that are not part of the publication.
Includes the creation of a corresponding clustered index.
Includes the definition of a column-level collation.
Includes the generation of custom stored procedures. This option is only valid for the object. You must also specify , , and .
Includes default bindings and creation of the bound defaults.
Object creation scripts are not generated by the Snapshot Agent. You must specify a user-supplied script file to define the object at the Subscriber for .
Includes the creation CHECK constraints.
Includes the creation column defaults.
Includes the creation of foreign key constraints to all referenced tables that are included in the publication.
Includes the creation of primary key constraints.
Includes the creation of unique keys.
Includes the extended properties associated with the database object being published.
Includes the filegroups associated with a partitioned table or index.
Use this option to replicate the FILESTREAM attribute if it is specified on varbinary(max) columns. Do not specify this option if you are replicating tables to SQL Server 2005 Subscribers. Replicating tables that have FILESTREAM columns to SQL Server 2000 Subscribers is not supported, regardless of how this schema option is set.
Set this option to store FILESTREAM data on its own filegroup at the Subscriber. If this option is not set, FILESTREAM data is stored on the default filegroup. Replication does not create filegroups; therefore, if you set this option, you must create the filegroup before you apply the snapshot at the Subscriber. For more information about how to create objects before you apply the snapshot, see Executing Scripts Before and After the Snapshot Is Applied.
Replicates any filtered indexes on the table. For more information about filtered indexes, see Filtered Index Design Guidelines.
Includes full-text indexes.
Converts the hierarchyid data type to varbinary(max) so that columns of type hierarchyid can be replicated to Subscribers that are running SQL Server 2005. For more information about how to use hierarchyid columns in replicated tables, see hierarchyid (Transact-SQL).
Includes the creation of identity columns. This option is supported only for objects and only for Microsoft SQL Server 2005 and later releases. For more information, see Replicating Identity Columns.
Includes the partition scheme associated with a partitioned index.
Replicates timestamp columns. Without this option, timestamp columns are created on the Subscriber as binary(16) columns. This option is supported only for objects.
Converts common language runtime (CLR) user-defined types (UDTs) that are larger than 8000 bytes to varbinary(max) so that columns of type UDT can be replicated to Subscribers that are running SQL Server 2005.
Includes the NOT FOR REPLICATION clause when creating CHECK constraints so that the constraints are not enforced during synchronization. For more information, see Controlling Constraints, Identities, and Triggers with NOT FOR REPLICATION.
Includes the NOT FOR REPLICATION clause when creating FOREIGN KEY constraints so that the constraints are not enforced during synchronization. For more information, see Controlling Constraints, Identities, and Triggers with NOT FOR REPLICATION.
Converts nvarchar(max), varchar(max), and varbinary(max) to ntext, text, and image data types, which are supported on earlier versions of SQL Server.
Converts date and time data types (date, time, datetimeoffset, and datetime2) introduced in SQL Server 2008 to data types that are supported on earlier versions of SQL Server. For information about how these types are mapped, see the "Mapping New Data Types for Earlier Versions" section in Using Multiple Versions of SQL Server in a Replication Topology.
Includes the creation of nonclustered indexes.
XML schema collections bound to xml columns are not included.
Includes permissions defined on the published object.
Generates ALTER TABLE statements when replicating constraints.
Generates a creation script (CREATE TABLE, CREATE PROCEDURE, and so on) for the published object.
Includes rule bindings and creation of the bound rules.
Generates any schemas not already present on the subscriber.
Replicates the SPARSE attribute for columns. For more information about this attribute, see Using Sparse Columns.
Replicates indexes on columns of type geography and geometry.
Converts the geography and geometry data types to varbinary(max) so that columns of these types can be replicated to Subscribers that are running SQL Server 2005.
Includes user-defined table statistics.
Replicates the compression option for data and indexes. For more information, see Creating Compressed Tables and Indexes.
Includes the partition scheme associated with a partitioned table.
Converts user-defined data types columns at the Publisher to base SQL Server data type columns at the Subscriber. This option is not supported for non-SQL Server Publishers.
Includes the creation of user-defined triggers.
Includes XML indexes.
xml columns are replicated to the Subscriber as ntext.
Represents a COM-based resolver registration at a server in a merge replication topology.
Creates a new instance of the class.
Gets or sets the Class ID of the registered resolver.
A value that represents the Class ID of a COM-based resolver.
Gets or sets a textual description of the resolver.
A value that specifies the textual description.
Gets or sets user data that is attached to the object.
An value that specifies the user data.
Enumerates the versions of Microsoft SQL Server that are supported for database compatibility with Microsoft SQL Server 2005.
The compatibility level is unsupported.
The database is compatible with SQL Server 6.0 behaviors.
The database is compatible with SQL Server 6.5 behaviors.
The database is compatible with SQL Server 7.0 behaviors.
The database is compatible with SQL Server 2000 behaviors.
Enumerates whether data definition language (DDL) changes to published tables are replicated.
DDL changes to published tables are replicated.
DDL changes to published tables are not replicated.
Represents information about an article published in a transactional or snapshot publication stored at the Distributor.
Creates a new instance of the class.
Creates a new instance of the class with the required properties and a connection to the Distributor.
A value that specifies the name of the distribution article.
A value that specifies the distribution database.
A value that specifies the Publisher.
A value that specifies the publication database.
A value that specifies the publication.
A object that specifies the Distributor connection.
Creates the article metadata at the Distributor.
Removes article metadata from the Distributor.
Generates a Transact-SQL script that can be used to create or delete the article with the specified properties.
A value that is the script.
A object value that specifies the scripting options.
Gets or sets the ID value for the article.
An value.
Gets or sets a description for the article.
A value.
Gets or sets the name of the distribution database that contains the article metadata.
A value.
Gets or sets the name of the article.
A value.
Gets or sets the name of the publication database.
A value.
Gets or sets the name of the publication that contains the article.
A value.
Gets or sets the name of the Publisher.
A value.
Gets or sets the database object that provides the article data.
A value.
Gets or sets the owner of the database object that provides the article data.
A value.
Represents a collection of objects.
Makes a copy of the collection.
A object that is to receive the copy of the original collection.
An value that specifies the index position within the original collection to start copying.
Gets a object in the collection by index number.
A object.
An value that specifies the position of the object in the .
Gets a object in the collection by name.
A object.
A value that specifies the name of the article.
Represents a distribution database at the Distributor.
Creates a new instance of the class.
Creates a new instance of the class, with the specified database name and a connection to the Distributor.
A value that specifies the name of the distribution database.
A object that specifies the connection to the Distributor.
Removes metadata for anonymous subscriptions at the Distributor.
An value that specifies the agent ID value.
A object value that specifies the publication type.
Creates the distribution database.
Creates the Queue Reader Agent job on the distribution database.
Registers a business logic handler assembly at the Distributor.
A object that represents the business logic handler that is being registered.
Deletes the distribution database.
Generates a Transact-SQL script that can be used to create or delete the distribution database that the object represents.
A value that is the script.
A value that specifies the scripting options.
Removes the registration for a business logic handler from the Distributor.
A object that represents the business logic handler registration that is being removed.
Gets or sets the name of the data file for the distribution database.
A value.
Gets or sets the size of the primary database file for the distribution database.
An value.
Gets or sets the path to the directory that contains the data file for the distribution database.
A value.
Gets the name of the SQL Server Agent job that is responsible for cleaning up the replication tables in the distribution.
A value.
Gets the security context used to connect to the Distributor to create the distribution database.
A object.
Gets the name of the SQL Server Agent job that is responsible for cleaning up replication history tables.
A value.
Gets or sets the length of time, in hours, replication agent history data is to be retained.
An value.
Gets or sets the name of the file that stores database transaction log records.
A value.
Gets or sets the size of the file that stores database transaction log records.
An value.
Gets or sets the path to the directory where the file that stores database transaction log records is located.
A value.
Gets or sets the maximum retention period, in hours, before transactions are deleted from the distribution database.
An value.
Gets or sets the minimum retention period, in hours, before transactions are deleted from the distribution database.
An value.
Gets or sets the name of the distribution database.
A value.
Gets or sets whether the Queue Reader Agent job has been created for this distribution database.
A value. If true, the Queue Reader agent job already exists for this distribution database. If false, the Queue Reader Agent job has not yet been created for this distribution database.
Gets or sets the name of the Queue Reader Agent job created for this distribution database.
A string value that specifies the name of the distribution database.
Gets the agent process security context for running the Queue Reader Agent job.
An instance of the interface.
Represents a collection of objects.
Makes a copy of the collection.
A object that is to receive the copy of the original collection.
An value that specifies the index position within the original collection to start copying.
Gets a object in the collection by index number.
A object.
An value that specifies the position of the object in the .
Gets a object in the collection by database name.
A object.
A value that specifies the name of the distribution database.
Represents information about a transactional or snapshot publication stored at the Distributor.
Creates a new instance of the class.
Creates a new instance of the class, with the required properties and with a connection to the Distributor.
A value that specifies the name of the publication.
A value that specifies the name of the distribution database.
A value that specifies the name of the Publisher.
A value that specifies the name of the publication database.
A object that specifies the connection context for the Distributor connection.
Creates the publication metadata at the Distributor.
Returns information maintained at the Distributor on articles in this publication.
An of objects.
Returns information maintained at the Distributor for subscriptions to this publication.
An of objects.
Removes metadata for the publication from the Distributor.
Generates a Transact-SQL script that can be used to create or remove the publication metadata at the Distributor.
A value that is the script.
A value that specifies the scripting options.
Gets or sets the publication attributes for the distribution publication.
A value.
Gets or sets a description for the publication.
A value.
Returns information about the articles in the publication stored at the Distributor.
A of objects.
Gets or sets the name of the distribution database for the publication.
A value.
Represents information about subscriptions to the publication stored at the Distributor.
A of objects.
Gets or sets the name of the Log Reader Agent job for the transactional publication.
A value.
Gets or sets the name of the publication.
A value.
Gets the publication ID.
A value.
Gets or sets the name of the publication database.
A value.
Gets or sets the name of the Publisher.
A value.
Gets or sets the name of the Snapshot Agent job for the transactional publication.
A value.
Gets or sets the type of replication for this publication.
A value.
Gets or sets the product manufacturer of the non-SQL Server Publisher of the publication.
A value.
Represents a collection of objects.
Makes a copy of the collection.
A object that is to receive the copy of the original collection.
An value that specifies the index position within the original collection to start copying.
Gets a object in the collection by index number.
A object.
An value that specifies the position of the object in the .
Gets a object in the collection by the properties that uniquely define the publication at the Distributor.
A object.
A value that specifies the publication database.
A value that specifies the name of the publication.
Represents information about a Publisher registered at the currently connected Distributor.
Creates a new instance of the class.
Creates a new instance of the class, with the Publisher name and with a connection to the Distributor used by the Publisher.
A value that specifies the name of the Publisher.
A object that specifies the Distributor connection.
Registers the Publisher with the specified properties at the Distributor.
Creates a Log Reader Agent job for a non-SQL Server Publisher.
Returns information stored at the Distributor about publications at this Publisher.
An of objects.
Returns information stored at the Distributor about Subscribers to publications at this Publisher.
An of objects.
Returns information at the Distributor about transactional publications at this Publisher.
An of objects.
Removes the registration for this Publisher from the currently connected Distributor.
A value that specifies whether the Publisher is uninstalled from the Distributor without verifying that Publisher has also uninstalled the Distributor, if the Publisher is on a separate server. If true, all the replication objects associated with the Publisher are dropped even if the Publisher is on a remote server that cannot be reached. If false, replication first verifies that the remote Publisher has uninstalled the Distributor.
Generates a Transact-SQL script that can be used to install or uninstall the Publisher.
A value that contains the script.
A value that specifies the scripting options.
Gets or sets the name of the distribution database used by the Publisher.
A value.
Returns the publications that exist at the Publisher.
A of objects.
Gets whether the Log Reader Agent job exists for the non-SQL Server Publisher.
A value. If true, the agent job exists. If false, agent job does not exist.
Gets the security context used by the Log Reader agent for a non-SQL Server Publisher.
An instance of the interface.
Gets or sets the name of the Publisher instance of Microsoft SQL Server.
A value that specifies the name of the Publisher.
Gets the security context used by replication agent when connecting to the Publisher.
A object.
Gets or sets the Publisher type.
A value.
Returns the Subscribers that are subscribed to publications at the Publisher.
A of objects.
Gets the Publisher status.
A value. means that the Publisher is using the Distributor. means that the Publisher is not using the Distributor.
Gets or sets whether the Publisher is a non-SQL Server Publisher.
A value. If true, the Publisher is a non-SQL Server Publisher. If false, Publisher is an instance of SQL Server.
Returns the transactional publications at the Publisher.
A of objects.
Gets or sets the name of the working directory used to store data and schema files for the publication.
A value.
Represents a collection of objects.
Makes a copy of the collection.
A object that is to receive the copy of the original collection.
An value that specifies the index position within the original collection to start copying.
Gets a object in the collection by index number.
A object .
An value that specifies the position of the object in the .
Gets a object in the collection by name.
A object.
A value that is the Publisher name.
Represents information stored at the Distributor about a subscription to a transactional or snapshot publication.
Creates a new instance of the class.
Creates a new instance of the class, with the required properties and with a connection to the Distributor.
A value that specifies the distribution database.
A value that specifies the Publisher.
A value that specifies the publication database.
A value that specifies the publication name.
A value that specifies the Subscriber.
A value that specifies the subscription database.
A object that represents the connection to the Distributor.
Gets the ID of the SQL Server Agent job that synchronizes the Subscription.
A value that represents an agent job ID.
Gets the synchronization agent schedule for the subscription.
A object.
Gets the name of the SQL Server Agent job that is used to synchronize the subscription.
A value.
Gets or sets the name of the distribution database.
A value.
Gets the name of the subscription.
A value.
Gets or sets the name of the publication database.
A value.
Gets or sets the name of the publication to which the subscription belongs.
A value.
Gets or sets the Publisher of the publication to which the subscription belongs.
A value.
Gets or sets the status of the subscription.
A value.
Gets or sets the name of the Subscriber.
A value.
Gets or sets the name of the subscription database.
A value.
Gets or sets whether the Distribution agent runs at the Distributor () or at the Subscriber ().
A value.
Gets or sets the manner in which the subscription is initialized.
A value.
Represents a collection of objects.
Makes a copy of the collection.
A object that is to receive the copy of the original collection.
An value that specifies the index position within the original collection to start copying.
Gets a object in the collection by index number.
A object.
An value that specifies the position of the object in the .
Gets a object in the by and properties that uniquely identify the subscription at the Distributor.
A object.
A value that specifies the Subscriber.
A value that specifies the subscription database.
Enumerates options for the location of the Data Transformation Services (DTS) package.
The DTS package is located at the Distributor.
The DTS package is located at the Subscriber.
Enumerates the options available for an updating Subscriber to propagate changes back to the Publisher.
The Publisher and Subscriber must be connected to update data at the Subscriber.
The Publisher and Subscriber do not have to be connected to update data at the Subscriber. Updates can be made while the Subscriber or Publisher is offline.
Enumerates values that specify the type of filters used in merge articles.
Filter is a join filter.
Filter is a join filter and represents a logical record relationship.
Filter represents a logic record relationship.
Represents a column contained in a table on a non-Microsoft SQL Server Publisher.
Creates a new instance of the class.
Gets or sets whether information loss may occur when column data is replicated to the Subscriber.
A value.If true, data loss can occur on the column during replication to the Subscriber.If false, data loss cannot occur on the column during replication to the Subscriber.
Gets or sets the data type that can be mapped to this column.
A value that is the name of a data type in the sys.types table.
Gets or sets the length of the destination data type.
An value.
Gets or sets whether the destination data can accept null values.
A value.If true, the destination data can be set to null.If false, the destination data cannot be set to null.
Gets or sets the precision for the destination data type.
An value.
Gets or sets the scale for the destination data type.
An value.
Gets or sets whether there is a default constraint bound to the column.
A value.If true, there is a default constraint.If false, there is no default constraint.
Gets or sets whether a data type mapping is currently defined for the column.
A value.If true, there is a mapping defined.If false, there is no mapping defined.
Sets or gets whether there is a primary key constraint defined on the column.
A value.If true, there is a primary key constraint defined on the column.If false, there is no primary key.
Gets or sets whether the column is currently published.
A value.If true, the column is published.If false, the column is not published.
Gets or sets whether the column can be published.
A value.If true, the column can be published.If false, the column cannot be published.
Gets or sets the name of the column.
A value.
Gets or sets the name of the source data type for the column.
A value.
Gets or sets an object property value that allows users to attach their own data to this object.
An value that contains user data. The data is valid only for the lifetime of the object.
Represents a table on a non-Microsoft SQL Server Publisher.
Creates a new instance of the class.
Gets or sets whether the administrator of the non-Microsoft SQL Server Publisher was explicitly granted SELECT permissions on the table.
A value.If true, the administrator of the non-SQL Server Publisher was explicitly granted SELECT permission on the table.If false, the administrator of the non-SQL Server Publisher was not explicitly granted SELECT permission on the table.
Gets or sets whether the table has a primary key.
A value.If true, there is a primary key defined on the table.If false, there is no primary key.
Gets or sets whether the unique constraint allows null values.
A value.If true, null values are allowed.If false, null values are not allowed.
Gets or sets whether the table is currently being published by Microsoft SQL Server replication.
A value.If true, the table is being published.If false, the table is not being published.
Gets or sets whether the table is published in a transactional publication.
A value.If true, the table is published in a transactional publication.If false, the table is not published in a transactional publication.
Gets or sets the name of the table object at the non-Microsoft SQL Server Publisher.
A value.
Gets or sets the owner of the table at the non-Microsoft SQL Server Publisher.
A value.
Gets or sets custom user data for this object.
An instance that contains user data. The data is only persisted for the lifetime of the object.
Provides an implementation of the class for late-bound COM clients. For information on the members of this interface, see the reference documentation for .
Structure that represents identity range management settings for a published article when the source table contains identity columns.
Creates a new instance of the class.
Gets or sets the last identity value generated.
An value.
Gets or sets the increment value.
An value that specifies the identity increment.
Gets or sets the identity range management options used by replication.
An value.
Gets or sets the value that determines when a new identity range is assigned to the Publisher or Subscriber.
An value.
Gets or sets whether the article exists at a republishing Subscriber in a merge replication topology.
A value.If true, the article exists at a republishing Subscriber.If false, the article does not exist at a republishing Subscriber
Gets or sets the maximum value of the identity column.
An value that specifies the maximum value of the identity column.
Gets the starting point of the next range if automatic identity range is enabled.
An value that specifies the starting point of the next range if automatic identity range is enabled.
Gets or sets the identity range size of a published table at the Publisher for transactional replication, or at a republishing Subscriber for merge replication.
An value that specifies the identity range size.
Gets or sets the identity range size of a table at the Subscriber for transactional replication, or at both the Publisher and Subscriber for merge replication.
An value that specifies the identity range size.
Gets or sets whether the table is published in an existing publication.
A value. If true, the table is published in another publication.If false, the table is not published anywhere else.
Gets or sets an object property value that allows users to attach their own data to this object.
An that specifies the user's own data.
Enumerates options for managing identity column range assignments in tables published using merge replication and transactional replication with updating Subscribers.
Identity columns are marked as NOT FOR REPLICATION, and replication automatically assigns identity ranges.
Identity columns are marked as NOT FOR REPLICATION, but replication does not assign identity ranges.
Identity columns are replicated to the Subscriber as the base data type.
Enumerates the data file formats supported for the initial snapshot.
Produces character-mode bulk copy program output of all tables.
Produces native-mode bulk copy program output of all tables.
Produces character-mode bulk copy program output of all tables but does not lock tables during the snapshot.
Produces native-mode bulk copy program output of all tables but does not lock tables during the snapshot.
Internal use only.
Interface that encapsulates the Microsoft Windows security account information used by Microsoft SQL Server Agent to start a replication agent job.
Gets or sets the name of the Microsoft Windows security account.
A value.
Gets or sets the password for the Microsoft Windows security account specified in the property.
An empty string.
Gets or sets the password (as a object) for the Microsoft Windows security account specified in the property.
A object that is an empty string.
Used to return the date and time of the last merge subscription validation.
Creates a new instance of the class.
Gets or sets the date and time when the last validation was attempted.
A value that represents the date and time.
Gets or sets the date and time when the last successful validation occurred.
A value that represents the date and time.
Gets or sets an object property that allows users to attach their own data to this object.
A value that specifies custom user data. The data is only valid for the lifetime of the object.
Represents an article in a merge publication.
Creates a new instance of the class.
Creates a new instance of the class with the specified name, publication, database, and connection to the instance of Microsoft SQL Server.
A value that specifies the name of the merge article.
A value that specifies the publication that is associated with the merge article.
A value that specifies the database that is associated with the merge article.
A object that specifies the connection context that is used to establish a connection with the instance of SQL Server.
Adds a join filter to the merge article.
A object value that specifies the merge join filter used to filter the article.
Adds the specified columns to the merge article.
A array that contains the names of the columns to include in a vertically partitioned article.
Changes a join filter that defined on a merge article.
A value that specifies the old filter.
A value that specifies the new filter.
Returns the join filters that are defined for the merge article.
An of objects.
Returns the columns that exist in a vertically partitioned article.
A array of column names.
Removes the specified merge join filter from the article.
A value that specifies the name of join filter to remove.
Removes existing columns from a vertically partitioned article.
A array that is the name of the columns to remove.
Returns a Transact-SQL script of the merge join filter attached to the merge article.
A value that contains the Transact-SQL script.
A object that represents the merge join filter to script.
A object value that specifies the scripting options.
Gets or sets whether to allow subscriptions to invoke an interactive resolver when conflicts occur during synchronization.
A value. If true, subscriptions can invoke an interactive resolver during synchronization. If false, subscriptions cannot invoke an interactive resolver during synchronization.
Gets or sets the friendly name of the custom conflict resolver or business logic handler used when synchronizing the article.
A value.
Gets or sets how the permissions are checked at the Publisher before changes are uploaded from a Subscriber.
A object value.
Gets or sets how conflicts are detected when synchronizing data rows.
A value. If true, each column in a row is evaluated separately for conflicts. If false, the entire row is evaluated to determine conflicts.
Gets or sets whether compensating actions are taken when errors are encountered during synchronization.
A value. If true, changes that cannot be applied at a Subscriber or Publisher during synchronization always lead to compensating actions to undo the change. If false, the default, compensating actions are not attempted when an error occurs.
Gets the name of the table used to track conflicts that occur when synchronizing a merge article.
A value that specifies the conflict table for the merge article.
Gets or sets whether deletes are replicated.
A value.If true, deleted records are replicated; this is the default behavior for merge replication. If false, deleted records are not replicated.
Gets or sets the WHERE (Transact-SQL) clause that is evaluated to filter an article horizontally.
A value.
Gets or sets the filtering options when an article is filtered using a parameterized row filter.
A value.
Gets or sets the processing order of the article during synchronization.
The processing order of the article.
Gets or sets additional data and parameters that are to be used by a COM-based conflict resolver.
A value.
Gets the name of the database object that represents the initial snapshot data for the article.
A value that specifies the database object that provides the initial snapshot of replicated data.
Gets the owner of the database object that represents the initial snapshot data for the article.
A value that represents the owner name.
Gets or sets the status of the merge article.
A value.
Gets or sets whether a data stream optimization is used when replicating binary large object (BLOB) columns.
A value. If true, the default, changes to BLOB columns are transferred in chunks. If false, changes to BLOB columns are transferred individually.
Gets or sets the behavior of updates made at a Subscriber with a client subscription.
A value.
Gets or sets the options for verifying the digital signature on a COM-based conflict resolver to determine if it is from a trusted source.
A value.
Represents a collection of objects.
Makes a copy of the collection.
A object that is to receive the copy of the original collection.
An value that specifies the index position within the original collection from which to start copying.
Gets a object in the collection by index number.
A object.
An value that specifies the position of the object in the collection.
Gets a object in the collection by name.
A object.
A value that is equivalent to the property of a object in the collection.
Enumerates the supported status settings for a merge article.
The initial snapshot scripts for the have been generated.
Internal use only.
Internal use only.
The initial snapshot scripts for this article will be generated during the next scheduled snapshot agent run for the publication.
Represents conflict information for a table article in a merge publication.
Creates a new instance of the class.
Gets or sets the name of the merge article that has conflicts represented by the object.
A value.
Gets or sets whether conflict data for the article is stored at the Publisher or at the Subscriber.
A value. If true, the conflict data rows are stored centrally at the Publisher in the publication database. If false, the conflict data rows are stored at each Subscriber in the subscription database.
Gets or sets the name of the table that stores the conflict data rows.
A value that specifies the table name.
Gets or sets the total number of conflict rows in the conflict table that are the result of deletes on the published table.
An value.
Gets or sets the name of the column that uniquely identifies rows in the table article.
A value.
Gets or sets the name of the published table.
A value that represents a table name.
Gets or sets the total number of conflict rows in the conflict table that are the result of updates on the published table.
An value that specifies the number of update conflicts stored in the conflict table for the referenced article.
Contains information about the Snapshot Agent job that generates the data snapshot for a subscription to a merge publication with a parameterized row filter.
Creates a new instance of the class.
Gets or sets the value supplied to the HOST_NAME (Transact-SQL) function to generate the data snapshot, when the parameterized row filter is defined using this function.
A value.
Gets or sets the value supplied to the SUSER_SNAME (Transact-SQL) function to generate the data snapshot, when the parameterized row filter is defined using this function.
A value.
Gets or sets the operating system folder used to store the filtered snapshot generated by this Snapshot Agent job.
A value.
Gets or sets the Microsoft SQL Server Agent job ID, in hexadecimal format, that generates the filtered snapshot for the Subscriber.
A value that represents the job ID in hexadecimal format.
Gets or sets the name of the Snapshot Agent job that generates the filtered snapshot for the Subscriber.
A value.
Gets or sets an object that allows you to attach custom data to this instance of .
An that contains user data. The data is valid only for the lifetime of the object.
Represents a join filter or logical record relationship between to merge articles.
Create a new instance of the class.
Gets or sets the name of the child article filtered by the join filter.
A value that is the name of a merge article.
Gets or sets the name of the table object against which the article is filtered.
A value that is a table name.
Gets or sets the owner of the table object against which the article is filtered.
A value that specifies the table owner.
Gets or sets the name of the merge article join filter.
A value.
Gets or sets the type of merge join filter.
A value that specifies the type of filter.
Gets or sets the name of the parent article to which the filtered article is joined.
A value.
Gets or sets the clause that joins the child article, specified by , to the parent article, specified by , to filter the child article.
A Transact-SQL expression that represents the filtering or logical record relationship between the two articles.
Gets or sets the ID of the join filter or logical record relationship.
An value.
Gets or sets the name of the source table for the child article that is joined to the base table for the parent article.
A value that is a table name.
Gets or sets the owner of the source table for the child article that is joined to the base table for the parent article.
A value that specifies the owner of the join table.
Gets or sets whether the join between the child article, specified by , and the parent article, specified by , is one-to-many, one-to-one, many-to-one, or many-to-many.
A value. If true, there is a one-to-one or one-to-many relationship between the child article being filtered and the parent article. If false, there is a many-to-one or many-to-many relationship between the child article being filtered and the parent article.
Gets or sets a property that allows users to attach their own data to this object.
An that contains user data. The data is valid only for the lifetime of the object.
Represents information about a Subscriber's partition for a merge publication with a parameterized row filter.
Creates a new instance of the class.
Gets or sets the date and time when the data snapshot of the partition was generated.
A value.
Gets or sets the value supplied to the HOST_NAME (Transact-SQL) function to generate the data snapshot, when the parameterized row filter is defined using this function.
A value.
Gets or sets the value supplied to the SUSER_SNAME (Transact-SQL) function to generate the data snapshot, when the parameterized row filter is defined using this function.
A value.
Gets or sets the Microsoft SQL Server Agent job ID, in hexadecimal format, which generates the filtered snapshot for the Subscriber.
A value that represents the job ID in hexadecimal format.
Gets or sets the operating system folder used to store the filtered snapshot generated for the partition.
A value.
Gets or sets the ID value that uniquely identifies the partition.
An value.
Gets or sets an object that allows you to attach custom data to this instance of .
An that contains user data.
Represents a merge publication.
Creates a new instance of the class.
Initializes a new instance of the class with the specified name, database, and connection to the Publisher.
A value that specifies the name of the merge publication.
A value that specifies the database.
A object value that specifies the connection context required to establish a connection to the instance of Microsoft SQL Server.
Creates an instance of the class, specifying whether the Snapshot Agent job should be created by default.
A value that specifies the name of the merge publication.
A value that specifies the database.
A object value that specifies the connection context required to establish a connection to the instance of Microsoft SQL Server.
A value. If true, the Snapshot Agent job for the publication is created. If false, the Snapshot Agent job for the publication is not created and the Snapshot Agent must be run manually to generate the initial snapshot.
Adds a Snapshot Agent job that generates the filtered data partition for a Subscriber when a parameterized row filter is used.
A object that specifies the filtered data snapshot job.
A object that specifies the schedule that is associated with the job.
Enables late-bound COM clients to add a Snapshot Agent job that generates the filtered data partition for a Subscriber when a parameterized row filter is used.
An that specifies the filtered data snapshot job.
An that specifies the job schedule.
Defines a Subscriber partition for a merge publication with a parameterized row filter.
A object that specifies the Subscriber partition being defined.
Returns the complete path of the directory location where snapshot files are generated.
A value.
Modifies the schedule for the Snapshot Agent job that generates the filtered data partition for a Subscriber, based on the job ID.
A value that specifies the job ID value.
A object that represents the new job schedule.
Allows late-bound COM clients to modify the schedule for the Snapshot Agent job that generates the filtered data partition for a Subscriber, based on the job ID.
A value that specifies the job ID value.
A object that represents the new job schedule.
Modifies the schedule for the Snapshot Agent job that generates the filtered data partition for a Subscriber, based on the job name.
A value that specifies the job name value.
A object that represents the new job schedule.
Allows late-bound COM clients to modify the schedule for the Snapshot Agent job that generates the filtered data partition for a Subscriber, based on the job name.
A value that specifies the job name value.
A object that represents the new job schedule.
Copies the snapshot files for the merge publication from the snapshot folder to a destination folder.
A value that specifies the directory to which the snapshot files are to be copied.
Disables the specified synchronization partner for this merge publication.
A value that specifies the Publisher name.
A value that specifies the publication database name.
A value that specifies the publication name.
Enables a specified synchronization partner for this merge publication.
A object that specifies the alternative synchronization source.
Returns all the merge join filters defined on the merge publication.
An of objects.
Returns a list of merge dynamic snapshot jobs.
An of objects.
Returns the Subscriber partitions defined for this merge publication.
An of objects.
Returns the alternate synchronization partners for this merge publication.
An of objects.
Returns the schedule for the Snapshot Agent job that generates the filtered data partition for a Subscriber based on the job ID.
A value that specifies the job ID value.
Returns the schedule for the Snapshot Agent job that generates the filtered data partition for a Subscriber based on the job name.
A value that specifies the job name.
Registers a merge pull subscription at the Publisher.
A value that specifies the Subscriber where the pull subscription was created.
A value that specifies the subscription database in which the pull subscription was created.
A object that specifies how the subscription synchronization is performed.
A object that specifies whether the subscription to register is a local or global subscription.
A value that specifies the weighting of the pull subscription to resolve conflicts when more than one change occurs in the same replicated data.
Returns information about the most recent subscription validation for a Subscriber.
A object.
A value that specifies the Subscriber name.
A value that specifies the subscription database name.
Marks all the subscriptions for reinitialization.
A value that specifies whether to upload all the changes from the Subscriber before reapplying the updated snapshot files when reinitializing all subscriptions to a publication. If true, the changes are uploaded before reapplying the updated snapshot files. If false, the changes are not uploaded first.
Removes the specified dynamic snapshot job from the merge publication.
A string value that specifies the name of the dynamic snapshot job.
Removes an existing Subscriber partition defined on the merge publication.
A object value that specifies the merge partition to be removed.
Removes the registration of a Subscriber with a pull subscription to the merge publication.
A value that represents the name of the registered Subscriber.
A value that represents the name of the subscription database.
Resynchronizes a merge subscription to a known validation state that you specify.
A value that specifies the Subscriber.
A value that specifies the subscription database.
A value that specifies the resynchronization type.
A value that represents the date and time from which the changes are resynchronized.
Generates a Transact-SQL script that can be used to re-create the Snapshot Agent job that generates a Subscriber's partitioned data snapshot for publications with a parameterized row filter.
A that contains the Transact-SQL script.
A value that specifies the merge dynamic snapshot job to be scripted.
A value that specifies the replication agent schedule.
A value that specifies the scripting options.
Generates a Transact-SQL script that can be used to re-create a Subscriber partition for publications with a parameterized row filter.
A that contains the Transact-SQL script.
A object that specifies the merge partition to be scripted.
A value that specifies the scripting options.
Generates a Transact-SQL script that, when run, sets the status of a merge publication to active.
A value that is the Transact-SQL script.
A value that specifies the script that is generated.
Marks all subscriptions for validation during the next synchronization.
A value that specifies the validation options.
Marks the specified subscription for validation during the next synchronization.
A value that specifies the Subscriber.
A value that specifies the subscription database.
A value that specifies the validation options.
Gets or sets whether changes at the Publisher are uploaded to the Publisher when a subscription is reinitialized because of a change in the publication.
A value.
Gets or sets the earliest version of Microsoft SQL Server that can subscribe to the merge publication.
A value.
Gets or sets the maximum number of concurrent Snapshot Agent sessions supported when generating data snapshots when the publication has a parameterized row filter.
An value. When 0, there is no limit to the number of concurrent filtered data snapshot sessions that can run simultaneously against the publication at any given time
Gets or sets the maximum number of Merge Agents that can synchronize with the publication concurrently.
An value.
Gets the existing articles in the merge publication.
A object.
Gets the subscriptions that belong to a merge publication.
A .
Gets or sets whether precomputed partitions should be used to optimize the synchronization process.
A value.
Gets or sets the unit in which the property is expressed.
A value.
Gets or sets whether the snapshot files for this publication have been generated and are available to initialize Subscribers.
A value. If true, the snapshot files are available and ready for use. If false, the snapshot files are not available.
Gets whether the merge publication has a parameterized row filter that uses the HOST_NAME function to evaluate the partition.
A value. If true, the merge publication uses the HOST_NAME function to evaluate the partition. If false, the merge publication does not use the HOST_NAME function to evaluate the partition.
Gets or sets the functions that are used to define a Subscriber partition of the published data when parameterized row filters are used.
A value that specifies an expression containing dynamic filtering functions.
Gets or sets the URL used with Web synchronization.
A value that represents a URL.
Represents a collection of objects.
Makes a copy of the collection.
A object that is to receive the copy of the original collection.
An value that specifies the index position within the original collection to start copying.
Gets a object in the collection by index number.
A object.
An value that specifies the position of the object in the .
Gets a object in the collection by name.
A object.
A value that specifies the name of the merge publication.
Represents a pull subscription to a merge publication.
Creates a new instance of the class.
Creates a new instance of the class with the specified database, Publisher, publication, and Subscriber connection.
A value that specifies the name of the subscription database.
A value that specifies the name of the Publisher.
A value that specifies the name of the publication database.
A value that specifies the name of the publication.
A object that specifies the connection context required to establish a connection to the instance of Microsoft SQL Server that is the Subscriber.
Creates a new instance of the class with the specified database, Publisher, publication, Subscriber connection, and whether the agent job is created.
A value that specifies the name of the subscription database.
A value that specifies the name of the Publisher.
A value that specifies the name of the publication database.
A value that specifies the name of the publication.
A object that specifies the connection context required to establish a connection to the instance of Microsoft SQL Server that is the Subscriber.
Specifies whether or not the agent job for the subscription is created when the subscription is created.
Returns the Alternate Synchronization Partners
An of objects.
Marks the merge pull subscription for reinitialization.
A value that specifies whether to upload all changes from the Subscriber before reapplying the snapshot to reinitialize the subscription. If true, the changes are uploaded before applying the snapshot. If false, the changes are not uploaded.
Attempts to stop a running Merge Agent job that is currently synchronizing the subscription.
Starts the agent job asynchronously to synchronize the pull subscription.
Gets or sets the file location for the subscription-specific snapshot files when the publication uses a parameterized row filter.
A value.
Gets or sets the value supplied to the HOST_NAME function when this function is used in the parameterized row filter that defines the Subscriber's data partition.
A value.
Gets or sets the login used with HTTP Basic Authentication when connecting to the Web server during Web synchronization.
A value.
Gets or sets the password for the supplied value when connecting to the Web server during Web synchronization.
Gets or sets the HTTP authentication method used when connecting to the Web server during Web synchronization.
An object value that specifies authentication method required if message replication is used to synchronize the subscription.
Gets or sets the HTTP timeout, in seconds, when connecting to the Web server during Web synchronization.
An value that represents the number of seconds.
Gets or sets the URL to use when synchronizing the subscription using Web synchronization.
A value that represents a URL.
Gets or sets the weighting of this server subscription relative to other server subscriptions when resolving conflicts between subscriptions.
A value.
Sets the password (as a object) used when connecting to the Web server using HTTP Basic Authentication.
A value.
Gets or sets whether the subscription is a server or client subscription.
A value.
Gets an object that represents an instance of the Merge Agent that can be used to synchronize the subscription.
A object.
Gets or sets the manner in which data is initialized at the Subscriber.
A value.
Gets or sets whether the Interactive Resolver is used during the synchronization process.
A value. If true, the Interactive Resolver is displayed during the synchronization process. If false, the default, the Interactive Resolver is not displayed during the synchronization process.
Gets or sets whether the subscription is synchronized using Web synchronization.
A value. If true, Web synchronization is used. If false, the default, a direct connection to the Publisher and Distributor is used to synchronize the subscription.
Represents a collection of objects.
Makes a copy of the collection.
A object that is to receive the copy of the original collection.
An value that specifies the index position within the original collection to start copying.
Gets a object in the collection by index number.
A object.
An value that specifies the position of the object in the .
Gets a object in the collection by the , , and properties that uniquely identify the pull subscription.
A object value that represents the merge pull subscription.
A value that specifies the name of the Publisher.
A value that specifies the name of the publication database.
A value that specifies the name of the merge publication.
Represents detailed information about a step in a Merge Agent session.
Creates an instance of the class.
Gets or sets the number of conflicts that occurred in the step.
An value.
Gets or sets the number of deletes that were replicated in the step.
An value.
Gets or sets the type of detail step represented by the object.
A value.
Gets or sets the duration of the detail step.
An value.
Gets or sets errors that occurred in the detail step.
An array of objects.
Gets or sets the number of inserts that were replicated in the step.
An value.
Gets or sets the message returned by the Merge Agent during the step.
When the step is of type or , is the name of the article.
Gets or sets the progress of the session during the step, as a percentage of the total session.
A value that represents a percentage.
Gets or sets the amount of type spent during this step, as a percentage of the total synchronization time of the session.
A value that represents a percentage.
Gets or sets the number of rows that were retried during the step.
An value.
Gets or sets the number of schema changes applied during the step.
An value.
Gets or sets the number of updates that were replicated during the step.
An value.
Enumerates parts of a Merge Agent session being monitored.
Downloading changes.
Downloading specific article rows.
Agent initialization.
Preparing a snapshot for a filtered subscription.
Applying schema changes.
Uploading changes.
Uploading specific article rows.
Represents information on errors that occur during a Merge Agent session.
Creates an instance of the class.
Gets or sets the error code.
A value.
Gets or sets the error message.
A value.
Gets or sets the source of the error.
A value.
Enumerates the phase of a Merge Agent session.
Changes are being downloaded from the Publisher.
Not applicable.
Changes are being uploaded to the Publisher.
Enumerates the status of a Merge Agent session.
One or more failures occurred during the session.
The agent is idle.
The agent was interrupted.
The session has not started.
The agent is retrying the session.
The agent is running.
The agent is starting.
The subscription was synchronized successfully.
Represents Merge Agent session information.
Creates an instance of the class.
Gets or sets the current phase of an active session.
A object that represents the current phase of the session.
Gets or sets the length of the session, in seconds.
An value that represents the number of seconds.
Gets or sets the end time of the session.
A value.
Gets or sets the errors that occurred during the synchronization.
An array of objects.
Gets or sets the last message returned by the agent during the session.
A value.
Gets or sets the number of rows downloaded during the session.
An value.
Gets or sets the number of rows downloaded during the session.
An value.
Gets or sets the progress of a running session, as a percentage.
A value that represents a percentage.
Gets or sets the identifier for the session.
An value.
Gets or sets the starting time for the session.
A value.
Gets or sets the status of the session.
A value.
Gets or sets the estimated time remaining for a running session.
An value.
Enables Subscriber-side monitoring of subscriptions to merge publications.
Creates an instance of the class with a connection to the Subscriber.
A object that represents a connection to the instance of Microsoft SQL Server that is the Subscriber.
Creates an instance of the class to monitor a specific subscription.
A object that represents a connection to the instance of Microsoft SQL Server that is the Subscriber.
Name of the subscription database.
Name of the Publisher.
Name of the publication to which the subscription belongs.
Name of the publication database.
Returns information on the most recent Merge Agent session as a object.
A object that represents the most recent Merge Agent session.
Returns information on the most recent Merge Agent session as a object.
A object that represents the most recent Merge Agent session.
Returns detailed information on a Merge Agent session as an array of objects.
An array of objects.
Identifies a Merge Agent session.
Returns detailed information on a Merge Agent session as an object.
An object.
Identifies a Merge Agent session.
Returns all available summary information on Merge Agent sessions.
An array of objects.
Returns summary information for Merge Agent sessions that have occurred in the past number of hours specified.
An array of objects.
The past number hours for which to return session information.
Returns summary information on all Merge Agent sessions using a object.
A object.
Returns summary information for Merge Agent sessions that have occurred in the past number of hours specified. Summary information is returned using a object.
A object.
The past number hours for which to return session information.
Refreshes information in a object that represents a specific Merge Agent session.
object is the session to be refreshed.
Refreshes information in a object that represents a specific Merge Agent session.
A object that is the session to be refreshed.
Gets the name of the instance of Microsoft SQL Server to which the object is connected.
A value.
Gets or sets the name of the publication to which the subscription belongs.
A value.
Gets or sets the name of the Publisher.
A value.
Gets or sets the name of the publication database.
A value.
Gets or sets the name of the subscription database.
A value.
Enumeration additional types of subscriptions supported by merge replication.
The pull subscription is not explicitly registered at the Publisher by using . Anonymous subscriptions are required if you want to create a subscription without registering the subscription at the Publisher. This is necessary for cases such as Web synchronization, in which you cannot establish a SQL Server connection to the Publisher during subscription configuration.
The subscription is a server subscription. This type is typically used for Subscribers that republish data to other Subscribers.
The subscription is a client subscription. This type of subscription is appropriate for most Subscribers.
Represents a subscription to a merge publication registered at the Publisher.
Creates a new instance of the class.
Creates a new instance of the class with the specified connection to the Publisher and the properties that uniquely define the subscription.
A value that specifies the name of the merge publication.
A value that specifies the name of the database that contains the publication.
A value that specifies the name of the Subscriber that subscribes to the publication.
A value that specifies the name of the subscription database.
A object value that specifies the connection to the Publisher.
Marks the merge subscription for reinitialization.
A value that specifies whether to upload all changes from the Subscriber before reapplying the snapshot to reinitialize the subscription. If true, the changes are uploaded before applying the snapshot. If false, the changes are not uploaded.
Attempts to stop a running Merge Agent job that is currently synchronizing the subscription.
Starts the agent job to synchronize the subscription.
Gets or sets a textual description of the merge subscription.
A value that contains a textual description of the merge subscription.
Gets or sets the value supplied to the HOST_NAME function when this function is used in the parameterized row filter that defines the Subscriber's data partition.
A value.
Gets or sets the relative priority value assigned to a server subscription.
A value.
Gets the security context used by the Merge Agent to connect to the Publisher.
An object.
Gets or sets whether the subscription is a client or server subscription.
A value.
Gets an instance of the class that can be used to synchronize the subscription.
A object.
Gets or sets whether the Interactive Resolver is used during the synchronization process.
A value. If true, the Interactive Resolver is displayed during the synchronization process. If false, the default, the Interactive Resolver is not displayed during the synchronization process.
Represents a collection of objects.
Makes a copy of the collection.
A object that is to receive the copy of the original collection.
A value that specifies the index position within the original collection to start copying.
Gets a object in the collection by index number.
A object.
An value that specifies the position of the object in the .
Gets a object in the by and properties that uniquely identify the subscription.
A object.
A value that specifies the Subscriber.
A value that specifies the subscription database.
Represents a threshold metric used when monitoring a publication.
Creates a new instance of the class.
Gets or sets whether the threshold is enabled.
A value. If true, the threshold is enabled. If false, the threshold is disabled.
Gets or sets the ID value that uniquely identifies the threshold metric.
An value that specifies the ID value that uniquely identifies the threshold metric.
Gets or sets the name of the threshold metric.
A value that is equivalent to a sysname value.
Gets or sets whether an alert is generated when the metric exceeds the threshold.
A value. If true, exceeding the threshold causes an alert. If false, no alert is raised when the threshold is exceeded.
Gets or sets an object that allows users to attach their own data to this object.
An that specifies the user's own data. The data is only valid for the lifetime of the object.
Gets or sets the threshold value.
An value.
Enumerates values that determine whether a merge publication uses precomputed partitions.
Replication determines whether to use precomputed partitions.
Precomputed partitions are not used.
Precomputed partitions are used.
Enumerates the ways in which data in an article is partitioned amongst subscriptions when the merge publication uses a parameterized row filter.
The filtering for the article yields non-overlapping partitions, but multiple Subscribers can receive the same partition.
The filtering for the article yields non-overlapping partitions that are unique for each subscription.
The filtering for the article either is static or does not yield a unique subset of data for each partition, that is, an "overlapping" partition.
The partitions are overlapping, and data manipulation language (DML) updates made at the Subscriber cannot change the partition to which a row belongs.
Represents information on the number of pending commands for a subscription to a transactional publication and a rough estimate of how much time it takes to process them.
Creates a new instance of the class.
Gets or sets the estimated time to complete delivering the pending commands, in seconds.
An value that represents the number of seconds.
Gets or sets the number of pending commands that are waiting to be delivered.
An value.
Gets or sets an object that allows users to attach their own data.
An that specifies the user data.
Enumerates the commands that are executed prior to subscription initialization when a published table already exists in the subscription database.
A DELETE statement is executed to remove individual rows based on the WHERE clause in the subset filter.
A DROP TABLE statement is executed. This value is required to support SQL Server Compact 3.5 SP1 Subscribers.
No action is taken on the existing table.
A TRUNCATE TABLE statement is executed to remove all rows from the table.
The class is a base class from which the class and the class are derived.
Creates a new instance of the class.
Creates the publication.
Creates the SQL Server Agent job that is used to generate the initial snapshot for the publication, if this job does not already exist.
Returns the articles in the publication.
An of or objects.
Returns logins that have access to the Publisher.
A of objects.
A value that specifies whether or not to return logins that are also in the publication access list (PAL). If true, the only logins in the PAL are returned. If false, only logins that are not in the PAL are returned.
Returns the subscriptions that subscribe to the publication.
An of or objects.
Adds the specified login to the publication access list (PAL).
A value that specifies the login of the user to add to the PAL.
Removes an existing publication.
Removes an existing publication even if the Distributor cannot be accessed.
A value that indicates whether or not a publication can be removed even if the Distributor cannot be accessed. Specify a value of true to remove a publication when the Distributor is offline or when reinstalling the Distributor.
Replicates the execution of a user-defined script to the Subscribers of a specified publication.
A value that specifies the file name and full path to the Transact-SQL script file.
Removes the specified login from the publication access list (PAL).
A value that specifies the login of a user in the PAL.
Generates a Transact-SQL script that can be used to re-create the publication as specified by the script options.
A that contains the Transact-SQL script that defines the publication.
A enumeration value that specifies the scripting options.
Starts the job that generates the initial snapshot for the publication.
Attempts to stop a running Snapshot Agent job.
Gets or sets the alternate snapshot file location for a publication.
A value that specifies the alternative location used for snapshot file creation.
Gets or sets the publication attributes.
A enumeration value.
Gets or sets the earliest version of Microsoft SQL Server running on the Subscribers that the referenced publication can support.
A value.
Gets or sets the number of days that conflict data rows are retained in conflict tables.
An value that specifies number of days.
Gets or sets if the Snapshot Agent job is added automatically when the publication is created.
A value. If true, the default, a Snapshot Agent job is created. If false, a Snapshot Agent job is not created, and the snapshot must be generated programmatically.
Gets or sets the name of the publication database.
A value.
Gets or sets a textual description of the publication.
A value that contains a textual description of the publication.
Gets or sets the address of the File Transfer Protocol (FTP) server computer for publications that allow subscription initialization over FTP.
A value.
Gets or sets the login that is used to connect to the File Transfer Protocol (FTP) server for publications that allow subscription initialization over FTP.
A value.
Sets the password for the login that is used to connect to the File Transfer Protocol (FTP) server for publications that allow subscription initialization over FTP.
A value that specifies the password used to connect to the FTP server computer.
Gets or sets the port of the File Transfer Protocol (FTP) server computer for publications that allow subscription initialization over FTP.
An value.
Gets or sets the subdirectory on the File Transfer Protocol (FTP) server computer for publications that allow subscription initialization over FTP.
A value.
Gets whether the publication has one or more subscriptions.
A value. If true, the publication has at least one existing subscription, and if false, the publication has no subscriptions.
Gets or sets the name of the publication.
A value that specifies the name of the publication.
Gets or sets the name and full path of a Transact-SQL script file that is executed after the initial snapshot is applied to the Subscriber.
A value.
Gets or sets the name and full path of a Transact-SQL script file that is executed before the initial snapshot is applied to the Subscriber.
A value that specifies the path and the file name of the Transact-SQL script.
Gets the value that uniquely identifies the publication.
An value.
Gets or sets the data definition language (DDL) replication options that determine if DDL changes are replicated.
A value.
Gets or sets the amount of time before a subscription expires when the subscription is not synchronized with the publication.
An value that specifies the number of hours before the subscription expires if the subscription is not yet synchronized with the publication.
Sets the password (as a object) for the login used to connect to the File Transfer Protocol (FTP) server for publications that allow subscription initialization over FTP.
A value.
Gets if the SQL Server Agent job exists to generate the initial snapshot for this publication.
A value that indicates if the Snapshot Agent job exists for the publication.
Gets an object that sets the Windows account under which the Snapshot Agent job runs.
An object.
Gets the security context used by the Snapshot Agent to connect to the Publisher.
An object that represents the security context used by the Snapshot Agent to connect to the Publisher.
Gets the Snapshot Agent job ID for the current publication.
A value that represents a unique identifier.
Gets or sets the data file format of the initial snapshot.
An value.
Gets an object that sets the schedule for the Snapshot Agent for the current publication.
A object.
Gets or sets the status of the publication.
A value.
Gets or sets the type of publication.
A enumeration value that specifies the type of publication.
Represents login information in the publication access list (PAL) for a publication.
Creates a new instance of the class.
Gets if the login is a Microsoft Windows group that has access to the publication.
A value. If true, the publication access object represents a Windows group. If false, the publication access object does not represent a Windows group.
Gets if the login is a Microsoft Windows login that has access to the publication.
A value. If true, the publication access object represents a Windows login. If false, the publication access object does not represent a Windows login.
Gets the user or group that has a login to the Publisher and is granted access to a publication.
A value.
Gets or sets an object that allows users to attach their own data to this object.
An that specifies the user data.
Represents article information for a published database object.
Creates a new instance of the class.
Gets or sets whether or not to allow subscriptions to invoke the Interactive Resolver when conflicts occur during synchronization.
A value.
Gets or sets the name of the article.
A value.
Gets or sets the friendly name of the custom conflict resolver or business logic handler used when synchronizing the article.
A value.
Gets or sets the source object type for the article.
An value.
Gets or sets how conflicts are detected when synchronizing data rows.
A value.
Gets or sets the name of the publication to which the article belongs.
A value.
Gets or sets the type of publication to which the article belongs.
An value.
Gets or sets additional data and parameters that are to be used by a Component Object Model (COM)-based conflict resolver.
A value.
Gets or sets an object that allows users to attach their own data.
An that specifies the user's own data. The data is only valid for the lifetime of the object.
Gets or sets the options for verifying the digital signature on a Component Object Model (COM)-based conflict resolver to determine if it is from a trusted source.
A value.
Enumerates supported publication properties.
Anonymous subscriptions can subscribe to the publication. Anonymous subscriptions are required if you want to create a subscription without registering the subscription at the Publisher. This is necessary for cases in which you cannot establish a SQL Server connection to the Publisher during subscription configuration.
This feature will be removed in a future version of Microsoft SQL Server. Do not use this feature in new development work, and modify applications that currently use this feature as soon as possible.
Subscribers can initialize a subscription to the publication from a backup rather than the initial snapshot. Supported only for transactional or snapshot replication.
Deletes are sent to the Subscriber when modification of the row on the Publisher causes it to change its partition and when the publication uses parameterized filters. Supported only for merge publications.
Subscriptions where the synchronization agent runs at the Subscriber (pull subscriptions) are supported. Required to support SQL Server Compact 3.5 SP1 Subscribers.
Subscriptions where the synchronization agent runs at the Distributor (push subscriptions) are supported.
Queued updating subscriptions are supported for transactional publications. Supported only for transactional publications.
Subscribers can initiate the snapshot process to generate the filtered snapshot for their data partition when the merge publication has parameterized filters. Supported only for merge publications.
Databases that subscribe to the publication can be copied and attached to create new subscriptions. Attachable subscriptions have been deprecated.
Immediate updating subscriptions are supported for transactional publications. Supported only for transactional publications.
Subscribers can synchronize subscriptions to the merge publication with servers other than the Publisher where the subscription originated. Supported only for merge publications. This feature is deprecated and will be removed in a future release. Not supported for SQL Server Compact 3.5 SP1 Subscribers.
Subscribers can synchronize subscriptions over the Internet using the HTTPS protocol. Supported only for merge publications. Only available with SQL Server 2005. Required to support SQL Server Compact 3.5 SP1 Subscribers. For more information, see Web Synchronization for Merge Replication.
The stored procedure used by updating subscriptions to synchronize with the transactional publication is automatically generated. Supported only for transactional publications.
Conflict records are stored at the Publisher. Supported only for merge publications.
Snapshot files are compressed into the CAB format. Snapshot files that are larger than 2 gigabytes (GB) cannot be compressed. Not supported for SQL Server Compact 3.5 SP1 Subscribers.
Conflict records are stored at the Subscriber. Supported only for merge publications. Not supported for SQL Server Compact 3.5 SP1 Subscribers.
Parameterized row filters are supported on a merge publication. Supported only for a merge publication.
Non- SQL Server Subscribers are supported. Supported only for transactional and snapshot publications. Only available with SQL Server 2005 and later versions.
Peer-to-peer transactional replication is supported. Supported only for transactional publications. Only available with SQL Server 2005 and later versions.
Synchronization files for the publication are recreated each time the Snapshot Agent runs. Subscribers are able to get the synchronization files immediately if the Snapshot Agent has completed before the subscription is created. New subscriptions get the newest synchronization files generated by the most recent execution of the Snapshot Agent. When setting , must also be set.
Each subscription uses its own replication agent instance when synchronizing with the Publisher. Setting this option reduces latency and is the default for a transactional publication. Merge replication always uses independent agents.
Publication can be synchronized over the Internet, and file transfer protocol (FTP) can be used to transfer the snapshot files to a Subscriber. For more information, see Implementing Replication over the Internet.
Partition change optimizations are used when precomputed partitions cannot be used. Do not specify when is . For more information, see Optimizing Parameterized Filter Performance with Precomputed Partitions.
Removes all options from .
The snapshot files for the publication are maintained in the default folder. When is not specified, you must specify an alternate location for the snapshot files using .
Enumerates product version values that are used by merge replication to determine which features can be used by publications in a given database.
Publication is compatible with only the latest version of SQL Server.
Publication is compatible back to SQL Server 2008.
Publication is compatible back to SQL Server 7.0.
Publication is compatible back to SQL Server 7.0 Service Pack 1.
Publication is compatible back to SQL Server 7.0 Service Pack 2.
Publication is compatible back to SQL Server 7.0 Service Pack 3.
Publication is compatible back to SQL Server 2000.
Publication is compatible back to SQL Server 2000 Service Pack 1.
Publication is compatible back to SQL Server 2000 Service Pack 3.
Publication is compatible back to SQL Server 2005.
Monitors a publication.
Creates a new instance of the class.
Creates a new instance of the class with the specified name, distribution database, Publisher, publication database, and connection to the Distributor.
A value that specifies the name of the publication to monitor.
A value that specifies the name of the publication to monitor.
A value that specifies the name of the publication to monitor.
A value that specifies the name of the publication to monitor.
A object that specifies the connection to the Distributor.
Changes the monitoring threshold metric for a publication.
Is the ID of the publication threshold metric being changed and can be one of these values:ValueMetric Name1 Expiration. Monitors for imminent expiration of subscriptions to transactional publications.2 Latency. Monitors for the performance of subscriptions to transactional publications.4 Mergeexpiration. Monitors for imminent expiration of subscriptions to merge publications.5 Mergeslowrunduration. Monitors the duration of merge synchronizations over low-bandwidth (dial-up) connections.6 Mergefastrunduration. Monitors the duration of merge synchronizations over high-bandwidth local area network (LAN) connections.7 Mergefastrunspeed. Monitors the synchronization rate of merge synchronizations over high-bandwidth (LAN) connections.8 Mergeslowrunspeed. Monitors the synchronization rate of merge synchronizations over low-bandwidth (dial-up) connections.
Specifies whether the metric is enabled or disabled on the publication.
New value for the publication threshold metric.
Specifies whether or not an alert is generated when the publication threshold metric is reached.
Removes all metadata for tracer tokens older than the specified date from a database published using transactional replication.
A object.
A value that specifies the date and time before which to remove the tracer token history records.
Removes metadata for a specific tracer token from a database published using transactional replication.
A object.
The ID of the tracer token to remove from the publication database and all subscription databases. Use the method to return all existing tracer tokens for a monitored publication.
Returns information about errors associated with a specified error ID that occurred during a synchronization session.
A object that contains the following columns. ColumnData typeDescriptionsource_type_id Identifies the source of the error.source_name The name of the error source.error_code The error code.error_text The message text for the error.(No column name)Date and time that the error occurred.error_type_idType of error that occurred.has_xact_seqnoIf the error has a corresponding transaction log sequence number. xact_seqno[]The starting transaction log sequence number of the failed execution batch. command_idThe command ID of the first command in the failed execution batch.
An value specifying the ID value that uniquely identifies the error.
Returns information for the Log Reader Agent job used by the monitored publication.
A object that contains the following columns. ColumnData typeDescriptionnameReplication Agent job name.status The running status:1 = Start 2 = Succeed 3 = In progress 4 = Idle 5 = Retry 6 = FailpublisherPublisher name.publisher_db Name of the monitored publication database.start_time Date and time of last agent execution.time Date and time that the session was logged.duration Elapsed time of the session, in seconds.comments Message text logged by the agent.delivery_timeThe time first transaction is delivered.delivered_transactionsTotal number of transactions delivered in the session.delivered_commands Total number of commands delivered in the session.average_commands Average number of commands per transaction delivered in the session.delivery_rate Average number of commands delivered per second.delivery_latency The time, in milliseconds, between a command being committed to the published database and being committed to the distribution database. error_id The ID of the error in the MSrepl_errors system table. Use the method to return detailed information about an error.job_id[16]Identifier of the SQL Server Agent job starting the Replication Agent.local_jobWhen true, the agent job is available at the Distributor. profile_id Profile identifier.agent_id Agent job identifier.last_timestamp [8]Timestamp of the most recent agent run.
Returns the replication monitor thresholds defined for this publication.
A of objects.
Returns information for the Queue Reader Agent job used by the monitored publication.
A object that contains the following columns.ColumnData typeDescriptionnameReplication Agent job name.status The running status:1 = Start 2 = Succeed 3 = In progress 4 = Idle 5 = Retry 6 = Failstart_time Date and time of last agent execution.time Date and time that the session was logged.duration Elapsed time of the session, in seconds.comments Message text logged by the agent.transactions_processed Total number of transactions processed in the session.commands_processed Total number of commands processed in the session.average_commands Average number of commands per transaction delivered in the session.delivery_rate Average number of commands delivered per second.delivery_latency The time, in milliseconds, between a command being read from the queue at the Subscriber and being committed to the publication database. error_id The ID of the error in the MSrepl_errors system table. Use the method to return detailed information about an error.job_id[16]Identifier of the SQL Server Agent job starting the replication agent.local_jobWhen true, the agent job is available at the Distributor. profile_id Profile identifier.agent_id Agent job identifier.local_timestamp [8]Timestamp of the most recent agent run.
Returns information for the Snapshot Agent job used by the monitored publication.
A object that contains the following columns.ColumnData typeDescriptionnameReplication Agent job name.status The running status:1 = Start 2 = Succeed 3 = In progress 4 = Idle 5 = Retry 6 = Failpublisher Publisher name.publisher_db Name of the database published.publication Publication name.start_time Date and time of last agent execution.time Date and time that the session was logged.duration Elapsed time of the session, in seconds.comments Message text logged by the agent.delivered_transactionsTotal number of transactions delivered in the session.delivered_commandsTotal number of commands delivered in the session.delivery_rate Average number of commands delivered per second.error_id The ID of the error in the MSrepl_errors system table. Use the method to return detailed information about an error.job_id[16]Identifier of the SQL Server Agent job starting the Replication Agent.local_jobWhen true, the agent job is available at the Distributor. profile_id Profile identifier.agent_id Agent job identifier.local_timestamp [8]Timestamp of the most recent agent run.dynamic_filter_loginThe value used for evaluating the SUSER_SNAME function in parameterized filters that define a partition.dynamic_filter_hostnameThe value used for evaluating the HOST_NAME function in parameterized filters that define a partition.
Returns information on subscriptions that are subscribed to the monitored publication.
A object. For a transactional or snapshot publication, the contains the following columns. ColumnData typeDescriptionsubscriber Is the name of the Subscriber.status Status of agent job for the subscription, which can be one of these values: 1 = Started2 = Succeeded3 = In progress4 = Idle5 = Retrying6 = Failedsubscriber_db Is the name of the subscription database.type Is the subscription type, which can be one of the following values:0 = Push1 = Pull2 = Anonymousdistribution_agent Is the name of the Distribution Agent job.last_actionMessage text of the last action logged by the agent.action_timeDate and time of the last action logged by the agent.start_time Date and time of last agent execution.duration Elapsed time of the session, in seconds.delivery_rate Average number of commands delivered per second.delivery_latency Latency, in milliseconds, between the transaction entering the distribution database and being applied to the Subscriber.delivered_transactionsTotal number of transactions delivered in the session.delivered_commandsTotal number of commands delivered in the session.delivery_time Date and time that the session was logged.average_commands Average number of commands per transaction delivered in the session.error_id The ID of the error in the MSrepl_errors system table. Use the method to return detailed information about an error.job_id[16]Identifier of the SQL Server Agent job starting the Replication Agent.local_jobWhen true, the agent job is available at the Distributor. profile_id Profile identifier.agent_id Agent job identifier.local_timestamp [8]Timestamp of the most recent agent run.offload_enabledIf true, the subscription supports remote agent activation. Remote agent activation has been discontinued. For more information, see Discontinued Functionality in SQL Server 2005 Replication.offload_serverName of the server used with remote agent activation.Remote agent activation has been discontinued. For more information, see Discontinued Functionality in SQL Server 2005 Replication.subscriber_type The data source type at the Subscriber:0 = SQL Server Subscriber.1 = Open Database Connectivity (ODBC) data source.For a merge publication, the contains the following columns. ColumnData typeDescriptionsubscriber Is the name of the Subscriber.status Status of agent job for the subscription, which can be one of these values: 1 = Started2 = Succeeded3 = In progress4 = Idle5 = Retrying6 = Failedsubscriber_db Is the name of the subscription database.type Is the subscription type, which can be one of the following values:0 = Push1 = Pull2 = Anonymousagent_name Is the name of the Merge Agent job.last_actionMessage text of the last action logged by the agent.action_timeDate and time of the last action logged by the agent.start_time Date and time of last agent execution.duration Elapsed time of the session, in seconds.delivery_rate Average number of commands delivered per second.download_inserts The number of inserts applied at the Subscriber.download_updates The number of updates applied at the Subscriber.download_deletes The number of deletes applied at the Subscriber.publisher_conflicts The number of conflicts that occurred while applying changes at the Subscriber.upload_inserts The number of inserts applied at the Publisher.upload_updates The number of updates applied at the Publisher.upload_deletes The number of deletes applied at the Publisher.subscriber_conflicts The number of conflicts that occurred while applying changes at the Publisher.error_id The ID of the error in the MSrepl_errors system table. Use the method to return detailed information about an error.job_id[16]Identifier of the SQL Server Agent job starting the replication agent.local_jobWhen true, the agent job is available at the Distributor. profile_id Profile identifier.agent_id Agent job identifier.last_timestamp [8]Timestamp of the most recent agent run.offload_enabledIf true, the subscription supports remote agent activation. Remote agent activation has been discontinued. For more information, see Discontinued Functionality in SQL Server 2005 Replication.offload_serverName of the server used with remote agent activation.Remote agent activation has been discontinued. For more information, see Discontinued Functionality in SQL Server 2005 Replication.subscriber_type The data source type at the Subscriber:0 = SQL Server Subscriber1 = Open Database Connectivity (ODBC) data source
Returns additional information on subscriptions that are subscribed to the monitored publication.
A object that contains the following columns.ColumnData typeDescriptionstatus Maximum status of all replication agents associated with the publication, which can be one of these values: 1 = Started2 = Succeeded3 = In progress4 = Idle5 = Retrying6 = Failedwarning Maximum threshold warning generated by a subscription belonging to the publication, which can be the logical OR result of one or more of these values.1 = Expiration. A subscription to a transactional publication has exceeded the retention period by more than the allowable threshold, as a percentage of the retention period. 2 = Latency. The time taken to replicate data from a transactional Publisher to the Subscriber exceeds the threshold, in seconds.4 = Mergeexpiration. A subscription to a merge publication has exceeded the retention period by more than the allowable threshold, as a percentage of the retention period. 8 = Mergefastrunduration. The time taken to complete synchronization of a merge subscription exceeds the threshold over a fast network connection, in seconds.16 = Mergeslowrunduration. The time taken to complete synchronization of a merge subscription exceeds the threshold over a slow or dial-up network connection, in seconds.32 = Mergefastrunspeed. The delivery rate for rows during synchronization of a merge subscription has failed to maintain the threshold rate over a fast network connection, in rows per second.64 = Mergeslowrunspeed. The delivery rate for rows during synchronization of a merge subscription has failed to maintain the threshold rate over a slow or dial-up network connection, in rows per second.subscriber Is the name of the Subscriber.subscriber_db Is the name of the database used for the subscription.publisher_db Is the name of the Publisher.publication Is the name of a publication.publication_type Is the type of publication, which can be one of these values:0 = Transactional publication1 = Snapshot publication2 = Merge publicationsubtype Is the subscription type, which can be one of the following values:0 = Push1 = Pull2 = Anonymouslatency The highest latency, in seconds, for data changes propagated by the Log Reader Agent or Distribution Agents for a transactional publication. latencythreshold Is the maximum latency for the transactional publication above which a warning is raised. agentnotrunning Is the length of time, in hours, during which the agent has not run.agentnotrunningthreshold Is the length of time, in hours, that the agent has not run before a warning is raised.timetoexpiration Is the length of time, in hours, before the subscription expires if not synchronized.expirationthreshold Is the time, in hours, before the subscription expires that a warning is raised.last_distsync Is the date/time that the Distribution Agent last ran.distribution_agentname Is the name of the Distribution Agent job for the subscription to a transactional publication.mergeagentname Is the name of the Merge Agent job for the subscription to a merge publication.mergesubscriptionfriendlyname Is the friendly name of the Merge Agent job for the subscription to a merge publication.mergeagentlocation Is the name of the server on which the Merge Agent runs.mergeconnectiontype Connection used when synchronizing a subscription to a merge publication, which can be one of the following values: 1 = Local area network (LAN)2 = Dial-up network connectionmergePerformance Performance of the last synchronization compared to all synchronizations for the subscription, which is based on the delivery rate of the last synchronization divided by the average of all previous delivery rates. mergerunspeed Is the delivery rate of the last synchronization for the subscription.mergerunduration Is the length of time to complete the last synchronization of the subscription.monitorranking Is the ranking value used to order the subscriptions in the result set.For a transactional publication, it can be one of these values:60 = Error56 = Warning: performance critical52 = Warning: expiring soon or expired50 = Warning: subscription uninitialized40 = Retrying failed command 30 = Not running (success)20 = Running (starting, running, or idle)For a merge publication, it can be one of these values:60 = Error 56 = Warning: performance critical54 = Warning: long-running merge52 = Warning: expiring soon or expired50 = Warning: subscription uninitialized 40 = Retrying failed command 30 = Running (starting, running, or idle)20 = Not running (success)distributionagentjobid [16]ID of the Distribution Agent job for subscriptions to a transactional publication.mergeagentjobid [16]ID of the Merge Agent job for subscriptions to a transactional publication.distributionagentid ID of the Distribution Agent job for the subscription.distributionagentprofileid ID of the agent profile used by the Distribution Agent.mergeagentid ID of the Merge Agent job for the subscription.mergeagentprofileid ID of the agent profile used by the Merge Agent.
A value that specifies the type of results to return.
Returns Subscriber latency information for a single tracer token record inserted into a monitored transactional publication.
A object that contains the following columns. ColumnData typeDescriptiondistributor_latencyNumber of seconds between the tracer token record being committed at the Publisher and being committed at the Distributor.subscriberName of the Subscriber that received the tracer token.subscriber_dbName of the subscription database into which the tracer token record was inserted.subscriber_latencyNumber of seconds between the tracer token record being committed at the Distributor and being committed at the Subscriber.overall_latencyNumber of seconds between the tracer token record being committed at the Publisher and being committed at the Subscriber.
An value that specifies the ID value that uniquely identifies the tracer token.
Returns all tracer tokens that have been inserted into the monitored transactional publication.
An of objects.
Returns information about pending commands for a subscription.
A object value that contains the list of pending commands and estimated time to complete delivering them.
A value that specifies the name of the Subscriber on which the subscription resides.
A value that specifies the name of the subscription database.
A object value that specifies the type of subscription (push or pull).
Gets the textual description of the publication.
A value.
Gets the name of the distribution database used by the publication.
A value.
Gets or sets whether anonymous subscriptions are excluded from or included in the monitor results.
A value. If true, anonymous subscriptions are excluded from the results. If false, anonymous subscriptions are included in the results.
Gets or sets the name of the monitored publication.
A value.
Gets or sets the name of the publication database.
A value.
Gets or sets the name of the Publisher.
A value.
Gets the status of the publication.
A object.
Gets the status and warnings of the referenced publication on the Distributor, including all of the agents associated for the publication.
A object value that specifies the status and warnings of the publication and associated agents on the Distributor.
Gets the type of replication in which the publication participates.
A value.
A collection of objects that represents publications at the Distributor.
Makes a copy of the collection.
A object that is to receive the copy of the original collection.
An value that specifies the index position within the original collection to start copying.
Gets a object in the collection by index number.
A object value that represents the publication monitor.
An value that specifies the index of the object in the collection.
Gets a object in the collection by publication database and publication name.
A object.
A value that specifies the publication database.
A value that specifies the name of the publication.
Enumerates the supported types of replication used to publish a database.
Publication uses merge replication.
Publication uses snapshot replication
Publication uses transactional replication.
Represents the login used when connecting to the instance of Microsoft SQL Server that is configured as a Publisher in a replication topology.
Creates a new instance of the class.
Updates Publisher login information for the objected associated with this object instance.
Sets the password (as a object) for the when using SQL Server Authentication.
A object.
Get or sets the type of login used when connecting to the Publisher.
A value.
Gets or sets the login when using SQL Server Authentication.
A value.
Gets or sets the password for the when using SQL Server Authentication.
A value.
Monitors a replication Publisher.
Creates a new instance of the class.
Creates a new instance of the class with the specified name and a connection to the Distributor.
A value that specifies the name of the publication monitor.
A object that specifies the connection context used to establish a connection to the Distributor.
Returns information about publications that use a specified publication database.
A object that has the following columns.Column nameData typeDescriptionpublisher_dbsysnameIs the name of the Publisher.publicationsysnameIs the name of a publication.publication_typeintIs the type of publication, which can be one of these values.0 = Transactional publication1 = Snapshot publication2 = Merge publicationstatusintMaximum status of all replication agents associated with the publication, which can be one of these values. 1 = Started2 = Succeeded3 = In progress4 = Idle5 = Retrying6 = FailedwarningintMaximum threshold warning generated by a subscription belonging to the publication, which can be the logical OR result of one or more of these values.1 = expiration – a subscription to a transactional publication has not been synchronized within the retention period threshold. 2 = latency - the time taken to replicate data from a transactional Publisher to the Subscriber exceeds the threshold, in seconds.4 = mergeexpiration - a subscription to a merge publication has not been synchronized within the retention period threshold. 8 = mergefastrunduration - the time taken to complete synchronization of a merge subscription exceeds the threshold, in seconds, over a fast network connection.16 = mergeslowrunduration - the time taken to complete synchronization of a merge subscription exceeds the threshold, in seconds, over a slow or dial-up network connection.32 = mergefastrunspeed – the delivery rate for rows during synchronization of a merge subscription has failed to maintain the threshold rate, in rows per second, over a fast network connection.64 = mergeslowrunspeed – the delivery rate for rows during synchronization of a merge subscription has failed to maintain the threshold rate, in rows per second, over a slow or dial-up network connection.worst_latencyintThe highest latency, in seconds, for data changes propagated by the Log Reader or Distribution Agents for a transactional publication. best_latencyintThe lowest latency, in seconds, for data changes propagated by the Log Reader or Distribution Agents for a transactional publication. average_latencyintThe average latency, in seconds, for data changes propagated by the Log Reader or Distribution Agents for a transactional publication. last_distsyncdatetimeIs the last date and time that the Distribution Agent ran.retentionintIs the retention period for the publication.latencythresholdintIs the latency threshold set for the transactional publication.expirationthresholdintIs the expiration threshold set for the publication if it is a merge publication.agentnotrunningthresholdintIs the threshold set for the longest time for an agent not to have run.subscriptioncountintIs the number of subscriptions to a publication.runningdistagentcountintIs the number of distribution agents running for the publication.snapshot_agentnamesysnameName of the Snapshot Agent job for the publication.logreader_agentnamesysnameName of the Log Reader Agent job for the transactional publication.qreader_agentnamesysnameName of the Queue Reader Agent job for a transactional publication that supports queued updating.worst_runspeedPerfintIs the longest synchronization time for the merge publication.best_runspeedPerfintIs the shortest synchronization time for the merge publication.average_runspeedPerfintIs the average synchronization time for the merge publication.retention_period_unitintIs the unit used to express retention.
The name of the publication database.
Returns information on subscriptions that belong to publications that use a specified publication database.
A object that has the following columns.Column nameData typeDescriptionstatusintMaximum status of all replication agents associated with the publication, which can be one of these values: 1 = Started2 = Succeeded3 = In progress4 = Idle5 = Retrying6 = FailedwarningintMaximum threshold warning generated by a subscription belonging to the publication, which can be the logical OR result of one or more of these values.1 = expiration – a subscription to a transactional publication has not been synchronized within the retention period threshold. 2 = latency - the time taken to replicate data from a transactional Publisher to the Subscriber exceeds the threshold, in seconds.4 = mergeexpiration - a subscription to a merge publication has not been synchronized within the retention period threshold. 8 = mergefastrunduration - the time taken to complete synchronization of a merge subscription exceeds the threshold, in seconds, over a fast network connection.16 = mergeslowrunduration - the time taken to complete synchronization of a merge subscription exceeds the threshold, in seconds, over a slow or dial-up network connection.32 = mergefastrunspeed – the delivery rate for rows during synchronization of a merge subscription has failed to maintain the threshold rate, in rows per second, over a fast network connection.64 = mergeslowrunspeed – the delivery rate for rows during synchronization of a merge subscription has failed to maintain the threshold rate, in rows per second, over a slow or dial-up network connection.subscribersysnameIs the name of the Subscriber.subscriber_dbsysnameIs the name of the database used for the subscription.publisher_dbsysnameIs the name of the publication database.publicationsysnameIs the name of a publication.publication_typeintIs the type of publication, which can be one of these values:0 = Transactional publication1 = Snapshot publication2 = Merge publicationsubtypeintIs the subscription type, which can be one of the following values:0 = Push1 = Pull2 = AnonymouslatencyintThe highest latency, in seconds, for data changes propagated by the Log Reader or Distribution Agents for a transactional publication. latencythresholdintIs the maximum latency for the transactional publication above which a warning is raised. agentnotrunningintIs the length of time, in hours, during which the agent has not run.agentnotrunningthresholdintIs the length of time, in hours, that the agent has not run before a warning is raised.timetoexpiration intIs the length of time, in hours, before the subscription expires if not synchronized.expirationthresholdintIs the time, in hours, before the subscription expires that a warning is raised.last_distsyncdatetimeIs the date and time that the Distribution Agent last ran.distribution_agentnamesysnameIs the name of the Distribution Agent job for the subscription to a transactional publication.mergeagentnamesysnameIs the name of the Merge Agent job for the subscription to a merge publication.mergesubscriptionfriendlynamesysnameIs the friendly name given to the subscription.mergeagentlocationsysnameIs the name of the server on which the Merge Agent runs.mergeconnectiontypeintConnection used when synchronizing a subscription to a merge publication, which can be one of the following values: 1 = local area network (LAN)2 = dial-up network connection3 = Web synchronization.mergePerformanceintPerformance of the last synchronization compared to all synchronizations for the subscription. This is based on the delivery rate of the last synchronization divided by the average of all previous delivery rates. mergerunspeedfloatIs the delivery rate of the last synchronization for the subscription.mergerundurationintIs the length of time to complete the last synchronization of the subscription.monitorrankingintIs the ranking value used to order the subscriptions in the result set, and can be one of these values.For a transactional publication:60 = Error56 = Warning: performance critical52 = Warning: expiring soon or expired50 = Warning: subscription uninitialized40 = Retrying failed command 30 = Not running (success)20 = Running (starting, running, or idle)For a merge publication:60 = Error 56 = Warning: performance critical54 = Warning: long-running merge52 = Warning: expiring soon or expired50 = Warning: subscription uninitialized 40 = Retrying failed command 30 = Running (starting, running, or idle)20 = Not running (success)distributionagentjobidbinary(16)ID of the Distribution Agent job for subscriptions to a transactional publication.mergeagentjobidbinary(16)ID of the Merge Agent job for subscriptions to a merge publication.distributionagentidintID of the Distribution Agent job for the subscription.distributionagentprofileidintID of the agent profile used by the Distribution Agent.mergeagentidintID of the Merge Agent job for the subscription.mergeagentprofileidintID of the agent profile used by the Merge Agent.
Name of the publication database.
Type of publication.
A value that specifies the result options.
Returns detailed information about a Distribution Agent session.
A object that contains the following columns. ColumnData typeDescriptionrunstatus The running status:1 = Start 2 = Succeed 3 = In progress 4 = Idle 5 = Retry 6 = Failtime Time of logging for session detail.comments Descriptive text.duration Elapsed time of the logged session activity, in seconds.delivery_rate Average number of commands delivered per second.delivery_latency Latency, in milliseconds, between the transaction entering the distribution database and being applied to the Subscriber.(No column name)Not applicableInternal use only.delivered_transactionsTotal number of transactions delivered in the session.delivered_commandsTotal number of commands delivered in the session.average_commands Average number of commands per transaction delivered in the session.error_id The ID of the error in the MSrepl_errors system table. Use the method to return detailed information about an error.
A value that specifies the name of the Distribution Agent.
A value that represents the data and time of the session for which details are returned. This value can be obtained from the time column returned by the method.
Returns information about Distribution Agent sessions.
A object that contains the following columns. ColumnData typeDescriptionrunstatus The running status:1 = Start 2 = Succeed 3 = In progress 4 = Idle 5 = Retry 6 = Failstart_time Date and time of last agent execution.time Date and time that the session was logged.comments Message text logged by the agent.duration Elapsed time of the session, in seconds.delivery_rate Average number of commands delivered per second.delivery_latency Latency, in milliseconds, between the transaction entering the distribution database and being applied to the Subscriber.(No column name)Not applicableInternal use only.delivered_transactionsTotal number of transactions delivered in the session.delivered_commands Total number of commands delivered in the session.average_commands Average number of commands per transaction delivered in the session.action_count Number of agent log messages recorded in the session.error_id The ID of the error in the MSrepl_errors system table. Use the method to return detailed information about an error.
A value that specifies the name of the Distribution Agent job. You can use the property of the object to obtain this value.
An value that specifies the number of hours before the current time to which to limit the results. For example, a value of 24 will return information about Distribution Agent sessions over the last 24 hours. A value of -1 returns information on the last 100 sessions, and a value of 0 returns information on all sessions.
A value that specifies whether to return information only on sessions that resulted in an error or on all sessions. If true, only error sessions are returned. If false, all sessions are returned.
Returns information on errors associated with a specified error ID that occurred during a synchronization session.
A object that contains the following columns. ColumnData typeDescriptionsource_type_id Identifies the source of the error.source_name The name of the error source.error_code The error code.error_text The message text for the error.(No column name)Date and time that the error occurred.error_type_idType of error that occurred.has_xact_seqnoIf the error has a corresponding transaction log sequence number. xact_seqno[]The starting transaction log sequence number of the failed execution batch. command_idThe command ID of the first command in the failed execution batch.
An value that specifies the ID value that uniquely identifies the error.
Returns detailed information about a Log Reader Agent session.
A object that contains the following columns. ColumnData typeDescriptionrunstatus The running status:1 = Start 2 = Succeed 3 = In progress 4 = Idle 5 = Retry 6 = Failtime Time of logging for session detail.comments Descriptive text.duration Elapsed time of the logged session activity, in seconds.delivery_rate Average number of commands delivered per second.delivery_latency The time, in milliseconds, between a command being committed to the published database and being committed to the distribution database. delivery_timeTime the first transaction is delivered.delivered_transactionsTotal number of transactions delivered in the session.delivered_commandsTotal number of commands delivered in the session.average_commands Average number of commands per transaction delivered in the session.error_id The ID of the error in the MSrepl_errors system table. Use the method to return detailed information about an error.
A value that specifies the name of the Log Reader Agent. You can obtain this value from the property of the published database.
A value that represents the data and time of the session for which details are returned. This value can be obtained from the time column returned by the method.
Returns information about Log Reader Agent sessions.
A object that contains the following columns. ColumnData typeDescriptionrunstatus The running status:1 = Start 2 = Succeed 3 = In progress 4 = Idle 5 = Retry 6 = Failstart_time Date and time of last agent execution.time Date and time that the session was logged.comments Message text logged by the agent.duration Elapsed time of the session, in seconds.delivery_rate Average number of commands delivered per second.delivery_latency The time, in milliseconds, between a command being committed to the published database and being committed to the distribution database. delivery_timeThe time first transaction is delivered.delivered_transactionsTotal number of transactions delivered in the session.delivered_commands Total number of commands delivered in the session.average_commands Average number of commands per transaction delivered in the session.action_count Number of agent log messages recorded in the session.error_id The ID of the error in the MSrepl_errors system table. Use the method to return detailed information about an error.
A value that specifies the name of the Log Reader Agent. You can obtain this value from the property of the published database.
An value that specifies the number of hours before the current time to which to limit the results. For example, a value of 24 will return information about agent sessions over the last 24 hours. A value of -1 returns information on the last 100 sessions, and a value of 0 returns information on all sessions.
A value that specifies whether to returns information only on sessions that resulted in an error or on all sessions. If true, only error sessions are returned. If false, all sessions are returned.
Returns detailed information about a Merge Agent session.
A object that contains the following columns. ColumnData typeDescriptionrunstatus The running status:1 = Start 2 = Succeed 3 = In progress 4 = Idle 5 = Retry 6 = Failtime Time that the session completed.comments Descriptive text.duration Elapsed time of the logged session activity, in seconds.delivery_rate Average number of rows delivered per second.download_inserts The number of inserts applied at the Subscriber.download_updates The number of updates applied at the Subscriber.download_deletes The number of deletes applied at the Subscriber.download_conflicts The number of conflicts that occurred while applying changes at the Subscriber.upload_inserts The number of inserts applied at the Publisher.upload_updates The number of updates applied at the Publisher.upload_deletes The number of deletes applied at the Publisher.upload_conflicts The number of conflicts that occurred while applying changes at the Publisher.error_id The ID of the error in the MSrepl_errors system table. Use the method to return detailed information about an error.
A value that specifies the name of the Merge Agent. You can obtain this value from the property of the merge subscription.
A value that represents the data and time of the session for which details are returned. This value can be obtained from the time column returned by the method.
Returns additional detailed information about a Merge Agent session.
A object that contains the following columns. ColumnData typeDescriptionPhaseID Is the phase of the synchronization session, which can be one of the following:0 = Initialization or summary row1 = Upload2 = DownloadArticleName Is the name of the article being synchronized. ArticleName also contains summary information for rows in the result set that do not represent article details. PercentComplete Indicates the percentage of the total changes applied in a given article detail row for currently running or failed sessions. RelativeCost Indicates the percentage of the total changes applied in a given article detail row for currently running or failed sessions.Duration Length of the agent session. Inserts Number of inserts in a session.Updates Number of updates in a session.Deletes Number of deletes in a session.Conflicts Number of conflicts that occurred in a session.ErrorID ID of a session error.SeqNo Order of sessions in the result set.RowType Indicates what type of information each row in the result set represents.0 = Initialization1 = Upload summary2 = Article upload detail3 = Download summary4 = Article download detailSchemaChanges Number of schema changes in a session.
An value that represents ID of the session for which details are returned. This value can be obtained from the Session_id column returned by the method.
Returns information about Merge Agent sessions.
A object that contains the following columns. ColumnData typeDescriptionrunstatus The running status:1 = Start 2 = Succeed 3 = In progress 4 = Idle 5 = Retry 6 = Failstart_time Date and time of the last agent execution.time Date and time that the session was completed.comments Message text logged by the agent.duration Elapsed time of the session, in seconds.delivery_rate Average number of commands delivered per second.download_inserts The number of inserts applied at the Subscriber.download_updates The number of updates applied at the Subscriber.download_deletes The number of deletes applied at the Subscriber.download_conflicts The number of conflicts that occurred while applying changes at the Subscriber.upload_inserts The number of inserts applied at the Publisher.upload_updates The number of updates applied at the Publisher.upload_deletes The number of deletes applied at the Publisher.upload_conflicts The number of conflicts that occurred while applying changes at the Publisher.action_count Number of agent log messages recorded in the session.error_id The ID of the error in the MSrepl_errors system table. Use the method to return detailed information about an error.
A value that specifies the name of the Merge Agent job. You can use the property of the object to obtain this value.
An value that specifies the number of hours before the current time to which to limit the results. For example, a value of 24 will return information about agent sessions over the last 24 hours. A value of -1 returns information on the last 100 sessions, and a value of 0 returns information on all sessions.
A value that specifies whether to returns information only on sessions that resulted in an error or on all sessions. If true, only error sessions are returned. If false, all sessions are returned.
Returns additional information about Merge Agent sessions.
A object that contains the following columns. ColumnData typeDescriptionSession_id ID of the agent job session.Status Agent run status:1 = Start2 = Succeed3 = In progress4 = Idle5 = Retry6 = FailStartTime Time the agent job session began.EndTime Time the agent job session was completed.Duration Cumulative duration, in seconds, of the agent job session.UploadedCommands Number of commands uploaded during the agent job session.DownloadedCommands Number of commands downloaded during the agent job session.ErrorMessages Number of error messages that were generated during the agent job session.ErrorID ID of the error that occurredPercentageDone Estimated percentage of the total changes that have already been delivered in an active session.TimeRemaining Estimated number of seconds left in an active session.CurrentPhase Is the current phase of an active session, which can be one of the following:1 = Upload2 = DownloadLastMessage Is the last message logged by Merge Agent during the session.
A value that specifies the name of the Merge Agent job. You can use the property of the object to obtain this value.
An value that specifies the number of hours before the current time to which to limit the results. For example, a value of 24 will return information about agent sessions over the last 24 hours. A value of -1 returns information on the last 100 sessions, and a value of 0 returns information on all sessions.
A value that specifies whether to returns information only on sessions that resulted in an error or on all sessions. If true, only error sessions are returned. If false, all sessions are returned.
Returns information on publications at a monitored Publisher.
A object that contains the following columns. ColumnData typeDescriptionpublisher_db Database name.publication Publication name.publication_id ID of the publication. publication_type Type of publication:0 = Transactional.1 = Snapshot.2 = Merge.independent_agent Indicates if each subscription to this publication uses its own synchronization agent instance. immediate_sync Indicates whether synchronization files are created or re-created each time the Snapshot Agent runs.allow_push Indicates whether or not push subscriptions can be created for the given publication.allow_pull Indicates whether or not pull subscriptions can be created for the given publication.allow_anonymous Indicates whether or not anonymous subscriptions can be created for the given publication.snapshot_agentThe name of the Snapshot Agent job for the publication.logreader_agentThe name of the Log Reader Agent job for the published database.description Description of the publication. vendor_name The name of the vendor if Publisher is not an instance of SQL Server.queuereader agentThe name of the Queue Reader Agent job for the published database.thirdparty_optionsSpecifies if the display of a publication in the Replication folder in SQL Server Management Studio is suppressed:0 = Display a heterogeneous publication in the Replication folder in SQL Server Management Studio.1 = Suppress the display a heterogeneous publication in the Replication folder in SQL Server Management Studio.snapshot_jobidUnique identifier of the Snapshot Agent job. num_subscriptionsNumber of subscriptions that currently belong to the publication.num_now_syncingNumber of subscriptions currently being synchronized with the publication.num_errorsNumber of errors that have occurred when synchronizing with the publication.num_warningNumber of publication monitor threshold warnings that have been generated by this publication.merge_RunFastDurationThresholdThreshold for monitoring the duration of merge synchronizations over high-bandwidth local area network (LAN) connections.WorstWarningDurationThe highest duration of a synchronization run that has generated a warning. merge_SyncExpireTimeThresholdThreshold for monitoring for imminent expiration of subscriptions to merge publications.retentionThe retention period of the publication, in hours.WorstWarningExpirationThe longest expiration of a merge subscription that has generated a warning.
Returns additional information on publications at a monitored Publisher.
A object that contains the following columns. ColumnData typeDescriptionpublisher_db Is the name of the Publisher.publication Is the name of a publication.publication_type Is the type of publication, which can be one of the following values:0 = Transactional publication1 = Snapshot publication2 = Merge publicationstatus Maximum status of all Replication Agents associated with the publication, which can be one of the following values: 1 = Started2 = Succeeded3 = In progress4 = Idle5 = Retrying6 = Failedwarning Maximum threshold warning generated by a subscription belonging to the publication, which can be the logical OR result of one or more of the following values:1 = Expiration. A subscription to a transactional publication has exceeded the retention period by more than the allowable threshold, as a percentage of the retention period. 2 = Latency. The time taken to replicate data from a transactional Publisher to the Subscriber exceeds the threshold, in seconds.4 = Mergeexpiration. A subscription to a merge publication has exceeded the retention period by more than the allowable threshold, as a percentage of the retention period. 8 = Mergefastrunduration. The time taken to complete synchronization of a merge subscription exceeds the threshold over a fast network connection, in seconds.16 = Mergeslowrunduration. The time taken to complete synchronization of a merge subscription exceeds the threshold over a slow or dial-up network connection, in seconds.32 = Mergefastrunspeed. The delivery rate for rows during synchronization of a merge subscription has failed to maintain the threshold rate over a fast network connection, in rows per second.64 = Mergeslowrunspeed. The delivery rate for rows during synchronization of a merge subscription has failed to maintain the threshold rate over a slow or dial-up network connection, in rows per second.worst_latency The highest latency, in seconds, for data changes propagated by the Log Reader or Distribution Agents for a transactional publication. best_latency The lowest latency, in seconds, for data changes propagated by the Log Reader or Distribution Agents for a transactional publication. average_latency The average latency, in seconds, for data changes propagated by the Log Reader or Distribution Agents for a transactional publication. last_distsync Is the last date/time that the Distribution Agent ran.retention Is the retention period for the publication.latencythreshold Is the latency threshold set for the transactional publication.expirationthreshold Is the expiration threshold set for the publication if it is a merge publication.agentnotrunningthreshold Is the threshold set for the longest time for an agent not to have run.subscriptioncount Is the number of subscriptions to a publication.runningdistagentcount Is the number of Distribution Agents running for the publicationsnapshot_agentname Name of the Snapshot Agent job for the publication.logreader_agentname Name of the Log Reader Agent job for the transactional publication.qreader_agentname Name of the Queue Reader Agent job for an immediate updating transactional publication.worst_runspeedPerf Is the longest synchronization time for the merge publication.best_runspeedPerf Is the shortest synchronization time for the merge publication.average_runspeedPerf Is the average synchronization time for the merge publication.retention_period_unit Is the unit used to express retention.
Returns detailed information about a Snapshot Agent session.
A object that contains the following columns. ColumnData typeDescriptionrunstatus The running status:1 = Start 2 = Succeed 3 = In progress 4 = Idle 5 = Retry 6 = Failtime Time of logging for session detail.comments Descriptive text.duration Elapsed time of the logged session activity, in seconds.delivery_rate Average number of commands delivered per second.delivered_commandsTotal number of commands delivered in the session.name Name of the Snapshot Agent job.error_id The ID of the error in the MSrepl_errors system table. Use the method to return detailed information about an error.
A value that specifies the name of the Log Reader Agent. You can obtain this value from the property of the published database.
A value that represents the data and time of the session for which details are returned. This value can be obtained from the time column returned by the method.
Returns information about Snapshot Agent sessions.
A object that contains the following columns. ColumnData typeDescriptionrunstatus The running status:1 = Start 2 = Succeed 3 = In progress 4 = Idle 5 = Retry 6 = Failstart_time Date and time of the last agent execution.time Date and time that the session was logged.comments Message text logged by the agent.duration Elapsed time of the session, in seconds.delivery_rate Average number of commands delivered per second.delivered_commands Total number of commands delivered in the session.action_count Number of agent log messages recorded in the session.error_id The ID of the error in the MSrepl_errors system table. Use the method to return detailed information about an error.
A value that specifies the name of the Log Reader Agent. You can obtain this value from the property of the published database.
An value that specifies the number of hours before the current time to which to limit the results. For example, a value of 24 will return information about agent sessions over the last 24 hours. A value of -1 returns information on the last 100 sessions, and a value of 0 returns information on all sessions.
A value that specifies whether to return information only on sessions that resulted in an error or on all sessions. If true, only error sessions are returned. If false, all sessions are returned.
Returns information about subscriptions that belong to a publication at the monitored Publisher.
A object that contains the following columns. ColumnData typeDescriptionstatus Maximum status of all replication agents associated with the publication, which can be one of the following values: 1 = Started2 = Succeeded3 = In progress4 = Idle5 = Retrying6 = Failedwarning Maximum threshold warning generated by a subscription belonging to the publication, which can be the logical OR result of one or more of the following values.1 = Expiration. A subscription to a transactional publication has exceeded the retention period by more than the allowable threshold, as a percentage of the retention period. 2 = Latency. The time taken to replicate data from a transactional Publisher to the Subscriber exceeds the threshold, in seconds.4 = Mergeexpiration. A subscription to a merge publication has exceeded the retention period by more than the allowable threshold, as a percentage of the retention period. 8 = Mergefastrunduration. The time taken to complete synchronization of a merge subscription exceeds the threshold over a fast network connection, in seconds.16 = Mergeslowrunduration The time taken to complete synchronization of a merge subscription exceeds the threshold over a slow or dial-up network connection, in seconds.32 = Mergefastrunspeed. The delivery rate for rows during synchronization of a merge subscription has failed to maintain the threshold rate over a fast network connection, in rows per second.64 = Mergeslowrunspeed. The delivery rate for rows during synchronization of a merge subscription has failed to maintain the threshold rate over a slow or dial-up network connection, in rows per second.subscriber Is the name of the Subscriber.subscriber_db Is the name of the database used for the subscription.publisher_db Is the name of the Publisher.publication Is the name of a publication.publication_type Is the type of publication, which can be one of the following values:0 = Transactional publication1 = Snapshot publication2 = Merge publicationsubtype Is the subscription type, which can be one of the following values:0 = Push1 = Pull2 = Anonymouslatency The highest latency, in seconds, for data changes propagated by the Log Reader or Distribution Agents for a transactional publication. latencythreshold Is the maximum latency for the transactional publication above which a warning is raised. agentnotrunning Is the length of time, in hours, during which the agent has not run.agentnotrunningthreshold Is the length of time, in hours, that the agent has not run before a warning is raised.timetoexpiration Is the length of time, in hours, before the subscription expires if not synchronized.expirationthreshold Is the time, in hours, before the subscription expires that a warning is raised.last_distsync Is the date/time that the Distribution Agent last ran.distribution_agentname Is the name of the Distribution Agent job for the subscription to a transactional publication.mergeagentname Is the name of the Merge Agent job for the subscription to a merge publication.mergesubscriptionfriendlyname Is the friendly name of the Merge Agent job for the subscription to a merge publication.mergeagentlocation Is the name of the server on which the Merge Agent runs.mergeconnectiontype Connection used when synchronizing a subscription to a merge publication, which can be one of the following values: 1 = Local area network (LAN)2 = Dial-up network connectionmergePerformance Performance of the last synchronization compared to all synchronizations for the subscription, which is based on the delivery rate of the last synchronization divided by the average of all previous delivery rates. mergerunspeed Is the delivery rate of the last synchronization for the subscription.mergerunduration Is the length of time to complete the last synchronization of the subscription.monitorranking Is the ranking value used to order the subscriptions in the result set, and can be one of the following values:For a transactional publication:60 = Error56 = Warning: performance critical52 = Warning: expiring soon or expired50 = Warning: subscription uninitialized40 = Retrying failed command 30 = Not running (success)20 = Running (starting, running, or idle)For a merge publication:60 = Error 56 = Warning: performance critical54 = Warning: long-running merge52 = Warning: expiring soon or expired50 = Warning: subscription uninitialized 40 = Retrying failed command 30 = Running (starting, running, or idle)20 = Not running (success)distributionagentjobid [16]ID of the Distribution Agent job for subscriptions to a transactional publication.mergeagentjobid [16]ID of the Merge Agent job for subscriptions to a transactional publication.distributionagentid ID of the Distribution Agent job for the subscription.distributionagentprofileid ID of the agent profile used by the Distribution Agent.mergeagentid ID of the Merge Agent job for the subscription.mergeagentprofileid ID of the agent profile used by the Merge Agent.
A value that specifies the type of publication to which the subscription is subscribed.
A value that specifies the result options.
Gets the name of the distribution database used by the Publisher.
A value that specifies the name of the distribution database used by the Publisher.
Gets whether or not information on anonymous subscriptions is returned.
A value. If true, information on anonymous subscriptions is returned. If false, information on anonymous subscriptions is not returned.
Gets the name of the Publisher.
A value.
Represents a collection of objects, each of which represents a publication defined at the Publisher being monitored.
A object.
Gets the type of the database server that is the Publisher.
A value.
Gets status information and warnings for the monitored threshold metrics on the Publisher.
A object.
Represents a collection of objects.
Makes a copy of the collection.
A object that is to receive the copy of the original collection.
An value that specifies the index position within the original collection to start copying.
Gets a object in the collection by index number.
A object.
An value that specifies the index of the object in the collection.
Gets a object in the collection by Publisher name.
A object.
A value that specifies the name of the Publisher.
Represents information at the Publisher for a subscription to a merge or a transactional publication when the Synchronization Agent runs at the Subscriber. is a base class from which the class and the class are derived.
Creates a new instance of the class.
Creates the pull subscription on the Subscriber.
Returns information on the last Synchronization Agent job that was run.
An object.
Removes the pull subscription.
Returns a Transact-SQL script to create or delete the pull subscription based on the current property setting of the object.
A value that contains the Transact-SQL script.
A object value that specifies the scripting options.
Attempts to stop a running job that is synchronizing the subscription.
Starts the agent job to synchronize the subscription.
Gets the ID of the agent job used to synchronize the subscription.
A value that represents a SQL Server Agent job ID value.
Gets or sets whether or not the Synchronization Agent runs on a computer other than the one where the agent job was created. This property is no longer supported for Distributors running Microsoft SQL Server 2005 and later.
A value. If true, the agent runs on another computer and is launched using a Distributed Component Object Model (DCOM) process. If false, the agent runs on the computer where the agent job was created.
Gets or sets the name of the remote computer where the agent runs when using remote agent activation.
A value.
Gets the schedule for the agent job used to synchronize the subscription.
A object that represents the schedule for the subscription.
Gets or sets the location where the publication snapshot files are obtained when the default snapshot location at the Distributor is not used.
A value that represents the full path to the alternate snapshot location.
Gets or sets whether or not the agent job used to start the Replication Agent to synchronize the subscription is created when the subscription is created.
A value.
Gets or sets the name of the subscription database.
A value.
Gets or sets a textual description of the pull subscription.
A value.
Gets or sets the instance of Microsoft SQL Server that is the Distributor and is distributing the publication to which the subscription subscribes.
A value.
Gets the security context used to connect to the Distributor.
A object.
Specifies whether or not the subscription can be synchronized using Windows Synchronization Manager.
A value. If true, the subscription can be synchronized using Windows Synchronization Manager. If false, the subscription can not be synchronized using Windows Synchronization Manager.
Gets the date and time when the subscription was last synchronized.
A value that represents a date and time.
Gets the status of the most recent synchronization of the subscription.
A value.
Gets a summary of the result of the most recent synchronization of the subscription.
A value.
Gets the name generated for the pull subscription.
A value that specifies the name of the pull subscription.
Gets or sets the name of the publication database.
A value that specifies the name of the database where the publication is defined.
Gets or sets the name of the publication to which the subscription subscribes.
A value.
Gets or sets the name of the Publisher.
A value.
Gets or sets the security context used by the Synchronization Agent when connecting to the Publisher.
A object.
Gets the security context that is used by the Synchronization Agent when connecting to the Subscriber.
A object.
Gets the subscription ID value.
A value that represents a unique identifier.
Gets whether the subscription registration is for a push, pull, or anonymous subscription.
A value.
Gets the security context that is used to specify the Microsoft Windows account under which the Synchronization Agent job runs to synchronize the subscription.
An object that represents a Windows account.
Gets or sets whether or not the snapshot files needed to initialize the pull subscription are accessed by the Synchronization Agent using File Transfer Protocol (FTP).
A value. If true, snapshot files are downloaded using FTP protocol. If false, snapshot files are not downloaded using FTP protocol.
Gets or sets the path of the directory at the Subscriber that is used to temporarily store and decompress downloaded snapshot files.
A value that represents a file path on the local computer.
Enumerates the type of queuing available to a transactional publication with updating Subscribers.
Uses Message Queuing (also known as MSMQ) to implement queuing.
Uses Microsoft SQL Server to implement queuing.
Represents a Subscriber that has been registered at a Publisher or a Distributor.
Creates a new instance of the class.
Creates a new instance of the class with the specified name and specified connection to the Publisher.
A value that specifies the name of the registered Subscriber.
A object value that specifies the connection context used to establish a connection to the Publisher.
Creates a new instance of the class with the specified name, the specified connection to the distribution Publisher, the specified distribution Publisher, and the distribution database.
A value that specifies the name of the registered Subscriber.
A object value that specifies the connection context used to establish a connection to the Publisher.
A value that specifies the name of the Publisher.
A value that specifies the name of the distribution database.
Registers the Subscriber at the specified Publisher or Distributor.
Removes the Subscriber registration represented by the object.
Returns a string containing a Transact-SQL creation or deletion script for the Microsoft SQL Server registered Subscriber on the server computer that the object represents.
A value that contains the Transact-SQL script.
A object value that specifies the scripting options.
Gets the default schedule to be assigned to the Distribution Agent if it is not specified.
A object value that specifies the schedule.
Gets the default schedule to be assigned to the Merge Agent if it is not specified.
A object.
Gets or sets a textual description of the object.
A value that contains the textual description of the registered Subscriber.
Gets or sets the name of the distribution database that the distribution Publisher uses.
A value that specifies the name of the distribution database that the distribution Publisher uses.
Gets or sets the name of the distribution Publisher to which the Subscriber is registered.
A value that specifies the name of the distribution Publisher to which the Subscriber is registered.
Gets or sets the name of the registered Subscriber.
A value that specifies the name of the registered Subscriber.
Gets a security context that is used by the Distribution Agent or the Merge Agent to connect to this registered Subscriber.
A value that specifies the security context used by the Distribution Agent or the Merge Agent to connect to the registered Subscriber.
Gets or sets the type of Subscriber.
A value that specifies the type of Subscriber.
Represents a collection of objects.
Makes a copy of the collection.
A object that is to receive the copy of the original collection.
An value that specifies the index position within the original collection to start copying.
Gets a object in the collection by index number.
A object value that represents the registered Subscriber.
An value that specifies the position of the object in the collection.
Gets a object in the collection by name.
A object value that represents the registered Subscriber.
A value that specifies the name of the registered Subscriber.
Represents the schedule for a replication agent job.
Creates a new instance of the class.
Updates an existing schedule on the server.
Gets or sets the date the scheduled activity is to stop running.
An value that represents a date.
Gets or sets the time the scheduled activity is to stop running.
An value that represents a time.
Gets or sets the date of the first occurrence of the scheduled activity.
An value that represents a date.
Gets or sets the time of the first occurrence of the scheduled activity.
An value that represents a time.
Gets or sets the interval between occurrences of a scheduled activity.
An value.
Gets or sets the frequency recurrence factor.
An value.
Gets or sets a time of occurrence that is relative to the first day of the month.
A value.
Gets or sets the frequency in minutes for scheduled activities that occur several times a day.
A value.
Gets or sets the interval between scheduled activities that occur several times in one day.
An value.
Gets or sets the frequency for a scheduled activity.
A value.
The base class that is used in the construction of replication object collections. It contains functionality that is common to the replication object collections.
Copies the collection to an array.
An object that is to receive the copy of the original collection.
An value that specifies the index position within the original collection to start copying.
Gets an enumerator that is used to iterate through the objects in a collection.
An instance .
Refreshes the collection.
Gets the number of objects in the referenced collection.
An value.
Gets whether or not access to the collection is synchronized and is therefore thread-safe.
A value. If true, access to the collection is synchronized. If false, access to the collection is not synchronized.
Gets an object that can be used to synchronize access to the collection.
An .
Represents a column object in a table that contains information needed by replication.
Creates a new instance of the class.
Gets or sets whether the column can accept null as a value or not.
A value. If true, the column referenced can accept null as a value. If false, null is not allowed.
Gets or sets the ID value that uniquely identifies the column object.
An value.
Gets or sets the data type name for this column.
A value.
Gets or sets the name of the default constraint used by this column.
A value.
Gets or sets whether the column is participating in a primary key or not.
A value. If true, the referenced column is part of a primary key or unique key constraint defined on the table. If false, the referenced column is not part of a primary key or unique key constraint defined on the table.
Gets or sets whether this column is an identity column or not.
A value. If true, the referenced column is an identity column. If false, the referenced column is not an identity column.
Gets or sets whether the column is used as the globally unique identifier (GUID) for rows in a table or not.
A value. If true, the referenced column is used as a GUID identifier. If false, the referenced column is not used as a GUID identifier.
Gets or sets the name of the column.
A value.
Gets or sets the name of the base data type for this column.
A value.
Gets or sets an object property that allows users to attach their own data to this object.
An that contains user data. The data is only valid for the lifetime of the object.
Represents a publication or subscription database in a replication topology.
Initializes a new instance of the class.
Initializes a new instance of the class with the specified database name, providing a connection to the server on which the database exists.
A value that specifies the name of the replication database.
A object value that specifies the connection context that is used to establish a connection to the instance of SQL Server.
Creates a Log Reader Agent job for a database published with transactional replication.
Creates a Queue Reader Agent job for the distribution database.
Returns conflict information for all merge publications and subscriptions that use the replication database.
An of objects.
A value that specifies the name of the publication. If publication is null, then conflict information for all publications using the database is returned.
Returns information on conflicts stored in a merge publication or subscription database.
An of objects.
The name of the publication. publicationName is a required parameter.
The name of the Publisher server. publisherName is only supported on Microsoft SQL Server 2000 and later versions.
The name of the published database. publicationDB is only supported on SQL Server 2000 and later versions.
Returns a list of merge publications that use the replication database.
An of objects.
Returns all merge pull subscriptions that use this replication database.
An of objects.
Returns replication information for published objects in the replication database.
An of objects.
A value specifying the database object that is published, such as the table name or stored procedure.
Returns all user-defined schema-bound view objects in the database.
An of objects.
Returns all user-defined stored procedure objects in the database.
An of objects.
Returns all user-defined table objects in the database.
An of objects.
Returns a list of user-defined aggregates in the database.
An of objects.
Returns a list of user-defined functions in the database.
An of objects.
Returns a list of the user-defined views objects in the database.
An of objects.
Returns information on conflicts stored in an updating transactional publication or subscription database.
An of objects.
The name of the publication. publicationName is a required parameter.
The name of the Publisher server. publisherName is only supported on Microsoft SQL Server 2005 and later versions.
The name of the published database. publicationDB is only supported on SQL Server 2005 and later versions.
Returns a list of transactional and snapshot publications that use the database.
An of objects.
Returns a list of transactional and snapshot pull subscriptions that use the database.
An of objects.
Sets the configuration and security information used by synchronization triggers of updatable subscriptions when connecting to the Publisher.
The name of the Publisher to which the updating Subscriber connects.
The name of the publication database.
The name of the publication.
The name of the Distributor used by this updating Subscriber.
A value that defines how the updating Subscriber connects to the Publisher.
Returns the failover mode for an updating subscription to a transactional or snapshot publication.
A value.
A value that specifies the Publisher.
A value that specifies the publication database.
A value that specifies the publication.
Returns a Transact-SQL script to enable or disable replication publishing and subscriptions on the database based on the properties of .
A value that contains the Transact-SQL script.
A object value that specifies the replication options to script.
Returns a Transact-SQL script to enable or disable replication options on the database based on the properties of .
A value that contains the Transact-SQL script.
A object value that specifies the replication options to script.
Sets the failover mode for an updating subscription to a transactional or snapshot publication.
A value that specifies the Publisher.
A value that specifies the publication database.
A value that specifies the publication.
A object value that specifies the failover mode.
Specifies whether or not the database can be published using merge replication.
A value that specifies whether or not the database supports merge publications. If true, the database allows merge publications. If false, the database does not allow merge publications.
Gets the minimum version of SQL Server with which the database has compatible behavior.
A value that specifies the version of SQL Server with which the database has compatible behavior.
Gets if the login used by the current connection has ownership rights to the database.
A value that indicates if the current login is a member of the db_owner fixed database role.
Gets whether the database is read-only or not.
A value that specifies whether the database is read-only or not. If true, the database is read-only. If false, the database is read/write.
Gets or sets whether the database is enabled for merge publishing or not.
A value that specifies whether the database is enabled for merge publishing or not. If true, the database is enabled for merge publishing. If false, the database is not enabled for merge publishing.
Gets or sets whether the database is enabled for transactional or snapshot publishing or not.
A value that specifies whether the database is enabled for transaction or snapshot publishing or not. If true, the database is enabled for transactional or snapshot publishing. If false, the database is not enabled for transactional or snapshot publishing.
Gets whether or not the database has existing publications.
A value. If true, the database has at least one existing publication. If false, the database has no existing publications.
Gets whether or not the database has existing pull subscriptions.
A value. If true, the database has at least one existing pull subscription. If false, the database has no existing pull subscriptions.
Gets whether or not the Log Reader Agent has been created for the publication database.
A value that specifies whether or not the Log Reader Agent for the publication database has been created. If true, the Log Reader Agent exists. If false, the Log Reader Agent has not yet been created.
Gets the name of an existing Log Reader Agent or sets the name when creating a new Log Reader Agent for a published database.
A value that specifies the name of the Log Reader Agent.
Gets the Microsoft Windows account under which the Log Reader Agent job runs at the Distributor.
An object that specifies the Windows account used by SQL Server Agent when running the Log Reader Agent.
Gets the login used by the Log Reader Agent to connect to the Publisher.
An value that specifies the type of authentication and login used by the Log Reader Agent to connect to the Publisher.
Returns the merge publications defined on the replication database.
A of objects.
Returns the merge pull subscriptions defined on the replication database.
A of objects.
Gets or sets the name of the replication database.
A value that specifies the name of the replication database.
Gets whether or not a Queue Reader Agent job exists for the database.
A value that indicates whether a Queue Reader Agent job has been created for the distribution database or not.
Gets the Microsoft Windows account under which the Queue Reader Agent job runs at the Distributor.
An object that specifies the Windows account used by SQL Server Agent when running the Queue Reader Agent.
Returns the transactional or snapshot publications defined on the replication database.
A of objects.
Represents the pull subscriptions to a transactional or snapshot publication defined on the replication database.
A of objects.
Represents a collection of objects.
Makes a copy of the collection.
A object that is to receive the copy of the original collection.
An value that specifies the index position within the original collection to start copying.
Gets a object in the collection by index number.
A object.
An value that specifies the position of the object in the collection.
Gets a object in the collection by database name.
A object.
A value that specifies the name of the replication database.
Monitors a replication server.
Creates a new instance of the class.
Creates a new instance of the class with the specified connection to the instance of Microsoft SQL Server.
A object value that specifies the connection context used to establish a connection with the instance of SQL Server.
Returns information on Distribution Agent jobs at the monitored Distributor.
A object that contains the following columns. ColumnData typeDescriptiondb_nameName of the distribution database.nameName of the replication agent job.status The running status:1 = Start 2 = Succeed 3 = In progress 4 = Idle 5 = Retry 6 = FailpublisherPublisher name.publisher_db Name of the publication database.publicationPublication name.subscriberSubscriber name.subscriber_db Name of the subscription database.subscription_typeThe type of subscription:0 = Push 1 = Pull 2 = Anonymousstart_time Date and time of the last agent execution.time Date and time that the session was logged.duration Elapsed time of the session, in seconds.comments Message text logged by the agent.delivery_timeThe time the first transaction is delivered.delivered_transactionsTotal number of transactions delivered in the session.delivered_commands Total number of commands delivered in the session.average_commands Average number of commands per transaction delivered in the session.delivery_rate Average number of commands delivered per second.delivery_latency Latency, in milliseconds, between the transaction entering the distribution database and being applied to the Subscriber.error_id The ID of the error in the MSrepl_errors system table. Use the method to return detailed information about an error.job_id[16]Identifier of the SQL Server Agent job starting the replication agent.local_jobWhen true, the agent job is available at the Distributor. profile_id Profile identifier.agent_id Agent job identifier.local_timestamp [8]Timestamp of the most recent agent run.offload_enabledIf true, the subscription supports remote agent activation. Remote agent activation has been discontinued. For more information, see Discontinued Functionality in SQL Server 2005 Replication.offload_serverName of the server used with remote agent activation.Remote agent activation has been discontinued. For more information, see Discontinued Functionality in SQL Server 2005 Replication.subscriber_type The data source type at the Subscriber:0 = SQL Server Subscriber.1 = Open Database Connectivity (ODBC) data source.
Returns information on errors associated with a specified error ID that occurred during a synchronization session.
A object that contains the following columns. ColumnData typeDescriptionsource_type_id Identifies the source of the error.source_name The name of the error source.error_code The error code.error_text The message text for the error.(No column name)Date and time that the error occurred.error_type_idType of error that occurred.has_xact_seqnoIf the error has a corresponding transaction log sequence number. xact_seqno[]The starting transaction log sequence number of the failed execution batch. command_idThe command ID of the first command in the failed execution batch.
A value that specifies the distribution database.
An value that specifies the ID value that uniquely identifies the error.
Returns information on Log Reader Agent jobs at the monitored Distributor.
A object that contains the following columns. ColumnData typeDescriptiondb_nameName of the distribution database.nameReplication agent job name.status The running status:1 = Start 2 = Succeed 3 = In progress 4 = Idle 5 = Retry 6 = FailpublisherPublisher name.publisher_db Name of the publication database.start_time Date and time of the last agent execution.time Date and time that the session was logged.duration Elapsed time of the session, in seconds.comments Message text logged by the agent.delivery_timeThe time the first transaction is delivered.delivered_transactionsTotal number of transactions delivered in the session.delivered_commands Total number of commands delivered in the session.average_commands Average number of commands per transaction delivered in the session.delivery_rate Average number of commands delivered per second.delivery_latency The time, in milliseconds, between a command being committed to the published database and being committed to the distribution database. error_id The ID of the error in the MSrepl_errors system table. Use the method to return detailed information about an error.job_id[16]Identifier of the SQL Server Agent job starting the replication agent.local_jobWhen true, the agent job is available at the Distributor. profile_id Profile identifier.agent_id Agent job identifier.local_timestamp [8]Timestamp of the most recent agent run.
Returns information on Merge Agent jobs at the monitored Distributor.
A object that contains the following columns. ColumnData typeDescriptiondb_nameName of the distribution database.nameName of the replication agent job.status The running status:1 = Start 2 = Succeed 3 = In progress 4 = Idle 5 = Retry 6 = FailpublisherPublisher name.publisher_db Name of the publication database.publicationPublication name.subscriberSubscriber name.subscriber_db Name of the subscription database.subscription_typeThe type of subscription:0 = Push 1 = Pull 2 = Anonymousstart_time Date and time of the last agent execution.time Date and time that the session was logged.duration Elapsed time of the session, in seconds.comments Message text logged by the agent.delivery_rate Average number of rows delivered per second.download_inserts The number of inserts applied at the Subscriber.download_updates The number of updates applied at the Subscriber.download_deletes The number of deletes applied at the Subscriber.publisher_conflicts The number of conflicts that occurred while applying changes at the Subscriber.upload_inserts The number of inserts applied at the Publisher.upload_updates The number of updates applied at the Publisher.upload_deletes The number of deletes applied at the Publisher.subscriber_conflicts The number of conflicts that occurred while applying changes at the Publisher.error_id The ID of the error in the MSrepl_errors system table. Use the method to return detailed information about an error.job_id[16]Identifier of the SQL Server Agent job starting the replication agent.local_jobWhen true, the agent job is available at the Distributor. profile_id Profile identifier.agent_id Agent job identifier.local_timestamp [8]Timestamp of the most recent agent run.offload_enabledIf true, the subscription supports remote agent activation. Remote agent activation has been discontinued. For more information, see Discontinued Functionality in SQL Server 2005 Replication.offload_serverName of the server used with remote agent activation.Remote agent activation has been discontinued. For more information, see Discontinued Functionality in SQL Server 2005 Replication.subscriber_type The data source type at the Subscriber:0 = SQL Server Subscriber.1 = Open Database Connectivity (ODBC) data source.
Returns information on jobs for miscellaneous replication agents at the monitored Distributor.
A object that contains the following columns. ColumnData typeDescriptionnameReplication agent job name.agent_typeType of miscellaneous replication agent.status The running status:1 = Start 2 = Succeed 3 = In progress 4 = Idle 5 = Retry 6 = Failmessage Message text logged by the agent.start_time Date and time of the last agent execution.run_duration Elapsed time of the session, in seconds.job_id[16]Identifier of the SQL Server Agent job starting the replication agent.local_timestamp [8]Timestamp of the most recent agent run.
Returns information on the Publishers that use the monitored Distributor.
A object that contains the following columns. ColumnData typeDescriptionname Name of Publisher.distribution_db Distribution database for the specified Publisher.security_mode Security mode used by the replication agent in a push subscription to connect to the Publisher.login Login name used by the replication agent in a push subscription to connect to the Publisher.password Password returned (in simple encrypted form). Password is null for users other than sysadmin.active Whether a remote Publisher is using the local server as a Distributor:working_directory Name of the working directory.trusted If the password is required when the Publisher connects to the Distributor. For Microsoft SQL Server 2005, this should always return 0, which means that the password is required.thirdparty_flag Whether the publication is enabled by SQL Server or by a third-party application:false = Oracle, or Oracle Gateway Publisher. true = Publisher has been integrated with SQL Server using a third-party application.publisher_type Type of Publisher, which can be one of the following:MSSQLSERVER ORACLE ORACLE GATEWAY publisher_data_source Name of the OLE DB data source on the Publisher.
Returns a list of Publishers that use the currently connected server as the Distributor.
A object that contains the following columns. ColumnData typeDescriptionpublisher Is the name of a Publisher.distribution_db Is the name of the distribution database used by a given Publisher.status Maximum status of all replication agents associated with publications at this Publisher, which can be one of these values.1 = Started2 = Succeeded3 = In progress4 = Idle5 = Retrying6 = Failedwarning Maximum threshold warning generated by a subscription belonging to a publication at this Publisher, which can be the logical OR result of one or more of these values.1 = Expiration. A subscription to a transactional publication has exceeded the retention period by more than the allowable threshold, as a percentage of the retention period. 2 = Latency. The time taken to replicate data from a transactional Publisher to the Subscriber exceeds the threshold, in seconds.4 = Mergeexpiration. A subscription to a merge publication has exceeded the retention period by more than the allowable threshold, as a percentage of the retention period. 8 = Mergefastrunduration. The time taken to complete synchronization of a merge subscription exceeds the threshold over a fast network connection, in seconds.16 = Mergeslowrunduration. The time taken to complete synchronization of a merge subscription exceeds the threshold over a slow or dial-up network connection, in seconds.32 = Mergefastrunspeed. The delivery rate for rows during synchronization of a merge subscription has failed to maintain the threshold rate over a fast network connection, in rows per second.64 = Mergeslowrunspeed. The delivery rate for rows during synchronization of a merge subscription has failed to maintain the threshold rate over a slow or dial-up network connection, in rows per second.publicationcount Is the number of publications belonging to the Publisher.
Returns information on Queue Reader Agent jobs at the monitored Distributor.
A object that contains the following columns. ColumnData typeDescriptiondb_nameName of the distribution database.nameReplication agent job name.status The running status:1 = Start 2 = Succeed 3 = In progress 4 = Idle 5 = Retry 6 = Failstart_time Date and time of the last agent execution.time Date and time that the session was logged.duration Elapsed time of the session, in seconds.comments Message text logged by the agent.transactions_processed Total number of transactions delivered in the session.commands_processedTotal number of commands delivered in the session.average_commands Average number of commands per transaction delivered in the session.delivery_rate Average number of commands delivered per second.delivery_latency The time, in milliseconds, between a command being added to the queue and being committed to the publication database. error_id The ID of the error in the MSrepl_errors system table. Use the method to return detailed information about an error.job_id[16]Identifier of the SQL Server Agent job starting the replication agent.profile_id Profile identifier.agent_id Agent job identifier.local_timestamp [8]Timestamp of the most recent agent run.
Returns detailed information about a Queue Reader Agent session.
A object that contains the following columns. ColumnData typeDescriptionrunstatus The running status:1 = Start 2 = Succeed 3 = In progress 4 = Idle 5 = Retry 6 = Failtime Time of logging for session detail.comments Descriptive text.transaction_id The transaction ID stored with the message, if applicable.transaction_status The status of the transaction.commands_processed The total number of commands processed in the session.subscriberThe name of the Subscriber.subscriberdbThe name of the subscription database.error_id The ID of the error in the MSrepl_errors system table. Use the method to return detailed information about an error.
A value that specifies the distribution database.
An value specifying the ID value that uniquely identifies the publication.
A value specifying the ID value that uniquely identifies the session. The sessionID contains the date and time, converted from a system object value, when the session actually occurred.
Returns a list of information about the Queue Reader Agent sessions, including status and statistical information.
A object that contains the following columns. ColumnData typeDescriptionrunstatus The running status:1 = Start 2 = Succeed 3 = In progress 4 = Idle 5 = Retry 6 = Failstart_time Date and time of the last agent execution.time Date and time that the session was logged.comments Message text logged by the agent.duration Elapsed time of the session, in seconds.delivery_rate Average number of commands delivered per second.delivery_latency The time, in milliseconds, between a command being committed to the published database and being committed to the distribution database. publication_idID of the publication.transactions_processedTotal number of transactions delivered in the session.commands_processed Total number of commands delivered in the session.average_commands Average number of commands per transaction delivered in the session.action_count Number of agent log messages recorded in the session.error_id The ID of the error in the MSrepl_errors system table. Use the method to return detailed information about an error.
A value that specifies the distribution database.
An value that specifies the ID value that uniquely identifies the publication.
An value that specifies the number of hours before the current time to which to limit the results. For example, a value of 24 will return information about agent sessions over the last 24 hours. A value of -1 returns information on the last 100 sessions, and a value of 0 returns information on all sessions.
A value that specifies whether to return information only on sessions that resulted in an error or on all sessions. If true, only error sessions are returned. If false, all sessions are returned.
Returns information on Snapshot Agent jobs at the monitored Distributor.
A object that contains the following columns. ColumnData typeDescriptiondb_nameName of the distribution database.nameReplication agent job name.status The running status:1 = Start 2 = Succeed 3 = In progress 4 = Idle 5 = Retry 6 = FailpublisherPublisher name.publisher_db Name of the publication database.publication Name of the publication.start_time Date and time of the last agent execution.time Date and time that the session was logged.duration Elapsed time of the session, in seconds.comments Message text logged by the agent.delivered_transactionsTotal number of transactions delivered in the session.delivered_commands Total number of commands delivered in the session.delivery_rate Average number of commands delivered per second.error_id The ID of the error in the MSrepl_errors system table. Use the method to return detailed information about an error.job_id[16]Identifier of the SQL Server Agent job starting the replication agent.local_jobWhen true, the agent job is available at the Distributor. profile_id Profile identifier.agent_id Agent job identifier.local_timestamp [8]Timestamp of the most recent agent run.dynamic_filter_loginThe value used for evaluating the SUSER_SNAME function in parameterized filters that defines a partition.dynamic_filter_hostnameThe value used for evaluating the HOST_NAME function in parameterized filters that defines a partition.
Returns the overall status for replication agents at the monitored Distributor by agent type.
A object.
An value that specifies the type of agent.
Gets whether or not information on anonymous subscriptions is returned.
A value. If true, information on anonymous subscriptions is returned. If false, information on anonymous subscriptions is not returned.
Gets the name of the instance of Microsoft SQL Server that is currently connected.
A value that specifies the name of the instance of SQL Server.
Gets a collection of objects that are used to monitor Publishers that use a monitored Distributor.
A object.
Gets the overall status of replication on the Distributor, including all Publishers that use the Distributor.
A object.
Abstract class that is the base class for all classes in the Replication Management Objects (RMO) programming interface.
Creates a new instance of the class.
Sends all the cached property change statements to the instance of Microsoft SQL Server.
Decouples the referenced replication object from the server.
Loads the properties of an existing object from the server.
Loads the properties of an existing object from the server.
A value. If true, the object exists on the instance of Microsoft SQL Server. If false, the object does not exist on the instance of SQL Server.
Reloads the properties of the object.
Gets or sets whether to cache changes made to the replication properties or to apply them immediately.
A value. If true, the property changes are cached. If false, the property changes are applied immediately.
Gets or sets the connection to an instance of Microsoft SQL Server.
A object.
Gets whether the object exists on the server or not.
A value. If true, the object represents an existing object. If false, the object represents an object that does not yet exist.
Gets the name of the Microsoft SQL Server instance to which this object is connected.
A value.
Gets or sets an object property that allows users to attach their own data to the object.
An that contains user data. The data is only valid for the lifetime of the object.
Represents a schema-bound view and contains information needed by replication.
Creates a new instance of the class.
Gets or sets whether the referenced schema-bound view was created with encryption or not.
A value. If true, the schema-bound view was created with encryption. If false, the schema-bound view was not created with encryption.
Gets or sets whether an index was created on the referenced schema-bound view or not.
A value. If true, an index was created on the schema-bound view. If false, an index was not created on the schema-bound view.
Gets or sets the name of the schema-bound view.
A value.
Gets or sets the name of the owner of the schema-bound view.
A value.
Gets or sets an object that allows users to attach their own data to this object.
An that contains user data. The data is only valid for the lifetime of the object.
Specifies the supported security modes used by updating Subscribers when connecting to the Publisher.
Uses the security context (SQL Server Authentication or Windows Authentication) of the user making the change at the Subscriber. This account must also exist at the Publisher with sufficient privileges. When using Windows Authentication, security account delegation must be supported.
Subscriber uses an existing, user-defined, linked server login created using .
Subscriber uses SQL Server Authentication with the login specified by the property of the object.
Represents an instance of Microsoft SQL Server that is involved in replication. It can take the role of Distributor, Publisher, Subscriber, or any combination of them.
Initializes a new instance of the class.
Initializes a new instance of the class with the specified connection context that is used to establish a connection with the instance of Microsoft SQL Server.
A object that specifies the connection context that is used to establish a connection with the instance of SQL Server.
Attaches a copied subscription database at the Subscriber.
A string value that specifies the name of the database being attached.
A string value that specifies the complete path to, and the file name of, the data (.mdf) file being attached.
A that specifies the connection context that is used to establish a connection with the Subscriber.
Changes the Distributor password, where the new password is supplied as a object.
The new Distributor password is a value.When possible, prompt users to enter security credentials at run time. If you must store credentials, use the cryptographic serviceshttp://go.microsoft.com/fwlink/?LinkId=34733 provided by the Windows .NET Framework.
Changes the Distributor password.
The new password string for the distributor_admin login.When possible, prompt users to enter security credentials at run time. If you must store credentials, use the cryptographic serviceshttp://go.microsoft.com/fwlink/?LinkId=34733 provided by the Windows .NET Framework.
Changes all stored instances of the password for a login maintained on the replication server using a object.
Is the value that specifies whether the login is used for Windows Authentication or SQL Server Authentication.
Is the login for the stored password being changed.
Is the password being changed, supplied as a value.When possible, prompt users to enter security credentials at run time. If you must store credentials, use the cryptographic serviceshttp://go.microsoft.com/fwlink/?LinkId=34733 provided by the Windows .NET Framework.
Changes all stored instances of the password for a login maintained on the replication server.
Is the value that specifies whether the login is used for Windows Authentication or SQL Server Authentication. When possible, use Windows Authentication.
Is the login for the stored password being changed.
Is the password being changed.
Copies an existing pull subscription database.
A string value that specifies the name of a pull subscription database to copy.
A string value that specifies the complete path, including file name, to which a copy of the data portion (.mdf) file is saved.
A Boolean value that specifies whether or not to overwrite an existing file of the same name specified in the fileName parameter, if there is one.
Returns the replication agent performance profiles supported on the server.
An of objects.
An enumeration value that indicates the type of agent profile to be returned.
Returns the business logic handlers registered at the server.
An of objects.
Returns information for all published databases that are participating in database mirroring.
A object that contains the following columns.ColumnData typeDescriptiondb_namesysnameDatabase name.current_principalsysnameThe current principal for the mirrored database.mirroring_roletinyintCurrent role of the local database plays in the database mirroring session.1 = Principal2 = MirrorNULL = Database is not online. mirroring_statetinyintState of the mirror database and of the database mirroring session.0 = Suspended1 = Disconnected2 = Synchronizing 3 = Pending Failover4 = SynchronizedNULL = Database is not online.
Returns all custom conflict resolvers registered on the connected instance of SQL Server.
An object that contains an array of objects.
Returns the distribution databases installed when the currently connected instance of Microsoft SQL Server is a Distributor.
An object containing an array of objects.
Returns the Publishers using the currently connected instance of Microsoft SQL Server as their Distributor.
An of objects.
Returns the columns in a table on a non-SQL Server Publisher.
A containing an array of objects.
A string value that specifies the non-SQL Server Publisher.
A string value that specifies the table to which the columns belong.
A string value that specifies the owner of the table.
Returns the available tables on a non-SQL Server Publisher.
A containing a collection of objects.
A string value that specifies the Publisher.
Returns the Subscribers that are registered at a Publisher.
An of objects.
Returns the databases enabled for replication.
An of objects.
Returns the subscriptions on a Subscriber server.
An of objects.
A value that specifies the database name from which the subscriptions are enumerated. Use a null value to enumerate subscriptions in all databases on the Subscriber.
An integer value that specifies the subscription type for the returned subscription:Push Pull and anonymous Both
Returns the current database mirroring principal for the specified publication database.
A value.
Name of a published database that participates in database mirroring.
Returns the name of the originating Publisher for a published database participating in a database mirroring session.
A value.
Name of a published database that participates in database mirroring.
Installs a Distributor on the currently connected instance of Microsoft SQL Server, where the password is specified using a object.
Is a value representing the password of the distributor_admin login used to access the Distributor. When possible, prompt users to enter security credentials at run time. If you must store credentials, use the cryptographic serviceshttp://go.microsoft.com/fwlink/?LinkId=34733 provided by the Windows .NET Framework.
A object representing the distribution database used by the Distributor.
Installs a Distributor on the currently connected instance of Microsoft SQL Server.
Is the password of the distributor_admin login used to access the Distributor. When possible, prompt users to enter security credentials at run time. If you must store credentials, use the cryptographic serviceshttp://go.microsoft.com/fwlink/?LinkId=34733 provided by the Windows .NET Framework.
A object representing the distribution database used by the Distributor.
Registers a remote Distributor, where the password is specified using a object.
A value that specifies the name of the remote server to be used as the Distributor for the current Publisher server. The distribution server name cannot be the same as the current server.
A value that specifies the password. This is the same value used when calling at the Distributor.
Registers a remote Distributor.
A value that specifies the name of the remote server to be used as the Distributor for the current Publisher server. The distribution server name cannot be the same as the current server.
A value that specifies the password. This is the same value used when calling at the Distributor.
Returns a Transact-SQL script to install or uninstall replication on the server.
A value that contains the Transact-SQL script.
A object value that specifies the scripting options.
Returns a Transact-SQL script that installs the Distributor.
A value that contains the Transact-SQL script.
The name of the Distributor.
A enumeration value that specifies the scripting options.
Returns a Transact-SQL script that can be used to uninstall the Distributor.
A value that contains the Transact-SQL script.
A object value that specifies the scripting options.
Uninstalls replication publishing and distribution on the currently connected instance of SQL Server.
A value that specifies whether or not replication objects are removed from the server, even if a remote Distributor cannot be reached. If true, the publishing and Distributor configuration at the current server is uninstalled regardless of whether or not dependent publishing and distribution objects are uninstalled. If false, all dependent publishing and distribution objects are dropped before the Distributor is uninstalled.
Gets or sets the interval for the Distribution Agent to perform a checkup.
An value that specifies the interval for the distribution to perform a checkup.
Gets the name of the distribution database for the currently connected instance of SQL Server.
A value that specifies the name of the distribution database.
Gets the distribution databases defined on the replication server.
A object that represents all the distribution databases that exist on the replication server.
Gets the Publishers that use the currently connected instance of Microsoft SQL Server as a Distributor.
A object that represents all the Publishers using the replication server as a Distributor.
Gets or sets the name of the Distributor for the currently connected instance of SQL Server.
A value that specifies the instance of SQL Server that is the Distributor.
Gets whether the Distributor for the currently connected instance of Microsoft SQL Server is currently connected and available or not.
A value that specifies whether or not the Distributor is currently connected and available.If true, the Distributor is connected and available.If false, the Distributor is not available.
Gets whether the currently connected instance of SQL Server has a local or remote Distributor.
A value that specifies whether the Publisher uses a local or remote Distributor.If true, the Distributor is local.If false, the Distributor for this Publisher is on a remote server.
Gets whether or not the currently connected instance of Microsoft SQL Server is a Distributor with a remote Publisher.
A value that specifies whether or not the Distributor has a remote Publisher.If true, the server is a Distributor with a remote Publisher.If false, the Publisher is not installed remotely, or the server is not a Distributor.
Gets whether the currently connected instance of SQL Server is a Distributor or not.
A value that specifies whether the currently connected instance of SQL Server is a Distributor or not.If true, the instance of SQL Server is a Distributor.If false, the instance of SQL Server is not a Distributor.
Gets whether or not the currently connected instance of Microsoft SQL Server is a Publisher.
A value that specifies whether or not the currently connected instance of SQL Server is a Publisher.If true, the instance of SQL Server is a Publisher.If false, the instance of SQL Server is not a Publisher.
Gets the name of the instance of Microsoft SQL Server.
A value that specifies the name of the currently connected instance of SQL Server.
Gets the Subscribers registered with the Publisher.
A object that represents all the registered Subscribers when the currently connected instance of SQL Server is a Publisher.
Gets the databases enabled for replication in the connected instance of Microsoft SQL Server.
A object that represents all the databases enabled for replication on the server.
Gets the working directory used by a Publisher.
A value that specifies the working directory.
Specifies the status of a replication agent job.
The agent has failed to accomplish one of its tasks.
The agent is idle.
The agent has not started.
The agent is retrying.
The agent is running.
The agent is starting.
The agent has succeeded.
Represents replication agent status information and threshold monitor warnings.
Creates a new instance of the class.
Gets or sets a timestamp that indicates when the data was returned.
A value that represents a date and time value.
Gets or sets the agent status.
A value.
Gets or sets an object that allows users to attach their own data.
An that contains user data. The data is only valid for the lifetime of the object.
Gets or sets the threshold monitor warning.
A value.
Represents information on a stored procedure object that is required by replication.
Creates a new instance of the class.
Gets or sets whether the referenced stored procedure was created with encryption or not.
A value. If true, the stored procedure was created with encryption. If false, the stored procedure was not created with encryption.
Gets or sets the name of the stored procedure.
A value.
Gets or sets the owner of the stored procedure.
A value.
Gets or sets an object that allows users to attach their own data to the object.
An that contains user data. The data is only valid for the lifetime of the object.
Represents information on a table object that is required by replication.
Creates a new instance of the class.
Creates a new instance of the class with the specified name and owner, on the specified database, and with the specified connection to an instance of Microsoft SQL Server.
A value that specifies the name of the database.
A value that specifies the owner of the database. If no value is specified, then the db_owner user is assumed.
A value that specifies the database to which the replication table belongs.
A object that specifies the connection context that is used to establish a connection with the instance of SQL Server.
Returns identity range information about articles based on the table.
An of objects.
Returns the columns from the table that can be replicated.
An of objects.
Adds a column to a table that is already published in one or more publications.
A value that specifies the name of the column to be added.
A value that contains the syntax that follows the column_name parameter in the ALTER TABLE statement in Transact-SQL.
An object value that specifies whether to include the column in some, all, or no publications. If is specified, the publicationNames parameter cannot be empty.
A array that contains the names of publications to which the column is to be included. This parameter is used only when addType is Some.
An optional value that specifies a schema change script to propagate to the Subscriber. This is only valid for transactional and snapshot publications. Use null or empty string if you do not want to specify this parameter.
Removes a column from a table that is published in one or more publications.
A value that specifies the name of the column to be removed.
An optional value that specifies a schema change script to propagate to the Subscriber. This is only valid for transactional and snapshot publications. Use null or empty string if you do not want to specify this parameter.
Gets or sets the name of the database that contains the replication table.
A value.
Gets whether or not the table has at least one column of the bigint data type.
A value. If true, the table has a bigint column. If false, the table has no bigint columns.
Gets whether or not the table has at least one identity column of the bigint data type.
A value. If true, the table has a bigint identity column. If false, the table has no bigint identity columns.
Gets whether the table has a column set defined.
A value. If true, the table has at least one column set. If false, the table does not have a column set.
Gets whether or not the table has at least one globally unique identifier column.
A value. If true, the table has a globally unique identifier column. If false, the table has no globally unique identifier columns.
Gets whether the table has a hierarchyid type column.
A value. If true, the table has at least one hierarchyid column. If false, the table does not have a hierarchyid column.
Gets whether or not the table has at least one identity column.
A value. If true, the table has an identity column. If false, the table has no identity columns.
Gets whether or not the table has an identity column with the NOT FOR REPLICATION option set.
A value. If true, the table has an identity column with the NOT FOR REPLICATION option set. If false, the table has no identity columns with the NOT FOR REPLICATION option set.
Gets whether or not an imprecise computed column is used as part of the primary key.
A value. If true, the table has an imprecise computed column that is part of the primary key. If false, the table has no imprecise computed columns that are part of the primary key.
Gets whether or not the table has a primary key.
A value. If true, the table has primary key. If false, the table has no primary key.
Gets whether or not a column exists in the table with the name msrepl_tran_version.
A value. If true, the table has a column named msrepl_tran_version. If false, the table does not have a column named msrepl_tran_version.
Gets whether the table has a column with the SPARSE attribute.
A value. If true, the table has at least one column with the SPARSE attribute. If false, the table does not have a column with the SPARSE attribute.
Gets whether or not the table has a sql_variant type column.
A value. If true, the table has at least one sql_variant column. If false, the table does not have a sql_variant column.
Gets whether or not the table has a timestamp type column.
A value. If true, the table has at least one timestamp column. If false, the table does not have a timestamp column.
Gets or sets the name of the table.
A value.
Gets or sets the name of table owner.
A value.
Gets whether or not the table is published in a merge publication.
A value. If true, the table is published in a merge publication. If false, the table is not published in a merge publication.
Gets whether or not the table is published in a peer-to-peer transactional replication topology.
A value. If true, the table is published using peer-to-peer transactional replication. If false, the table is not published using peer-to-peer transactional replication.
Gets whether or not the table is published by a publication that supports queued updating subscriptions.
A value. If true, the table is published by a publication that supports queued updating subscriptions. If false, the table is not published by a publication that supports queued updating subscriptions.
Gets the object ID of the table.
An value.
Represents a user-defined aggregate function and contains information needed by replication.
Creates a new instance of the class.
Gets or sets the name of the user-defined aggregate function.
A value.
Gets or sets the owner of the user-defined aggregate function.
A value.
Gets or sets an object that allows users to attach their own data to this object.
An that contains user data. The data is only valid for the lifetime of the object.
Represents a user-defined function and contains information needed by replication.
Creates a new instance of the class.
Gets or sets whether the referenced user-defined function was created with encryption or not.
A value. If true, the user-defined function was created with encryption. If false, the user-defined function was not created with encryption.
Gets or sets the name of the user-defined function object.
A value.
Gets or sets the owner of the user-defined function.
A value.
Gets or sets an object that allows users to attach their own data to the object.
An that contains user data. The data is only valid for the lifetime of the object.
Represents information on a view object that is required by replication.
Creates a new instance of the class.
Gets or sets whether the referenced view was created with encryption or not.
A value. If true, the view was created with encryption. If false, the view was not created with encryption.
Gets or sets the name of the view object.
A value.
Gets or sets the owner of the view.
A value.
Gets or sets an object that allows users to attach their own data to the object.
An that contains user data. The data is only valid for the lifetime of the object.
Enumerates the supported replication threshold monitor warning values.
The expiration of a subscription to a transactional or snapshot publication. The time since the last synchronization exceeds the expiration threshold (the percentage of retention in hours).
The time taken for the Merge Agent to finish one merge run in a slow connection, such as a dial-up network, exceeds the slow link merge run threshold.
The merge delivery rate in a fast connection, such as a local area network, exceeds the fast link merge run speed threshold.
The time taken to replicate data from the transactional Publisher (committed) to the Subscriber (committed) exceeds the latency threshold.
The expiration of a subscription to a transactional or snapshot publication. The time since the last synchronization exceeds the expiration threshold (the percentage of retention in hours).
Nothing exceeds the thresholds, or the thresholds are not defined.
The time taken for the Merge Agent to finish one merge run in a slow connection, such as a dial-up network, exceeds the slow link merge run threshold.
The merge delivery rate in a slow connection, such as a dial-up network, exceeds the slow link merge run speed threshold.
Enumerates values that specify the changes to apply when a merge subscription is resynchronized.
Resynchronizes the subscription with all of the changes since a given date and time.
Resynchronizes the subscription with all of the changes since the last snapshot was applied.
Resynchronizes the subscription with all of the changes since the last successful validation.
Enumerates values that specify the units for the retention period.
Retention period is specified in days.
Retention period is specified in months.
Retention period is specified in weeks.
Retention period is specified in years.
Enumerates constant values used to set replication schedules.
There is no end date.
There is no end time.
Enumerates values that specify a smaller scheduling unit for specific schedule frequencies.
Schedules reflect an activity scheduled using an hour as the unit.
Schedules reflect an activity scheduled using a minute as the unit.
Schedules reflect an activity that occurs once on a scheduled unit.
Schedules reflect an activity scheduled using a second as the unit.
Sub-units are not valid for the scheduled activity.
Masks to test schedule validity.
Enumerates the types of frequencies used when scheduling a replication agent job.
The replication agent job is started when the Microsoft SQL Server Agent Service starts.
The replication agent job is run daily.
The replication agent job is run monthly.
The replication agent job is run relative to a part of a month, such as the second week.
The Microsoft SQL Server Agent Service schedules the replication agent job when it is specifically requested.
The Microsoft SQL Server Agent Service runs the replication agent job any time when the processor is idle.
No schedule frequency, or frequency not applicable.
The replication agent job is run weekly.
Enumerates values that represent the frequency of a replication agent schedule relative to the .
The event occurs on the first sub-unit.
The event occurs on the fourth sub-unit.
The event occurs on the last sub-unit.
The event occurs on the second sub-unit.
The event occurs on the third sub-unit.
Does not schedule relatively, or relative scheduling is not applicable.
Masks of all valid relative scheduling unit values.
Enumerates options for generating scripts that are used to create or remove replication objects.
Specifies that the generated script is for creating replication objects.
Specifies that the script is for deleting a replication object.
Specifies that the script is a deletion script that disables publishing on a database and removes any agent jobs needed for publishing.
Specifies that the script is a creation script that enables publishing on a database and creates any agent jobs needed for publishing.
Specifies that the script includes all user-defined replication agent profiles defined on the Distributor.
Specifies that the script includes all possible replication objects that can exist, which is equivalent to setting all values of .
Specifies that the script includes articles.
Specifies that the script includes any user-defined data type mappings. This option is only supported for non-SQL Server Publishers when the option is enabled. This option is only supported on SQL Server 2005 and later versions.
Specifies that the script includes Distribution Agent jobs.
Specifies that the script includes Log Reader Agent jobs.
Specifies that the script includes Merge Agent jobs.
Specifies that the script includes Queue Reader Agent jobs.
Specifies that the script includes Snapshot Agent jobs.
Specifies that the script disables publishing on a database and removes any agent jobs needed for publishing.
Specifies that the script includes Publishers.
Specifies that the script enables publishing on a database and creates any agent jobs needed for publishing.
Specifies that the script includes the GO command at the end of a batch.
Specifies that the script installs publishing objects at the Distributor.
Specifies that the script includes the definition of any existing partitioned snapshot jobs for merge publications with parameterized row filters. This option is only supported for Microsoft SQL Server 2000 and later versions.
Specifies that the script includes the definition of all join filters defined for a merge publication.
Specifies that the script includes the definition of any existing partitions for merge publications with parameterized row filters. This option is supported for Microsoft SQL Server 2005 and later versions.
Specifies that the script includes setting the status of a merge publication to active. This option is supported for SQL Server 2005 and later versions.
Specifies that the script includes subscriptions to transactional publications that do not subscribe to all articles in the publication.
Specifies that the script includes all logins added to the publication access list (PAL). This option is only supported for publication creation scripts. Deleting a publication automatically removes the PAL.
Specifies that the script includes publications.
Specifies that the script includes the registration of all subscriptions at the Publisher.
Specifies that the script includes all pull subscriptions.
Specifies that the script includes the registration of all Subscribers at the Publisher.
Specifies that the script includes the definition of all SQL Server Agent jobs created by replication. This option is supported for SQL Server 2005 and later versions.
Specifies that the script uninstalls publishing objects at the Distributor.
Specifies a creation script that installs publishing objects at the Distributor.
Clears all scripting options.
Specifies a deletion script that uninstalls publishing objects at the Distributor.
Enumerates the values that represent the status of a publication.
The publication is active. Publication data is available for Subscribers.
The publication is inactive. Publication data is not available for Subscribers.
Returns information about a subscription.
Creates a new instance of the class.
Gets or sets status information from last run of the synchronization agent.
A object.
Gets or sets the last agent summary message during synchronization.
A value.
Gets or sets the date and time of the last run of the synchronization agent.
A value that represents and date and time value.
Gets or sets the name of the publication database.
A value.
Gets or sets the name of the publication to which the subscription is subscribed.
A value.
Gets or sets the name of the Publisher.
A value.
Gets or sets the name of the subscription database.
A value.
Gets or sets the subscription type.
A value.
Gets or sets the type of publication to which the subscription is subscribed.
A value.
Gets or sets the update mode for an updating subscription to a transactional publication.
A value.
Gets or sets an object property that allows users to attach their own data to this object.
An that contains the user data. The data is only valid for the lifetime of the object.
Enumerates the types of data sources that can be a Subscriber to a publication.
Microsoft Jet version 3.5 database using ODBC without a data source name.
ODBC data source.
OLE DB provider or a Jet version 4.0 database persisted as a Microsoft SQL Server linked server.
SQL Server instance.
Enumerates merge article options for updates made at a Subscriber with a client subscription.
No restrictions. Changes made at the Subscriber are uploaded to the Publisher.
Changes are allowed at the Subscriber, but they are not uploaded to the Publisher.
Changes are not allowed at the Subscriber.
Represents information at the Publisher for a subscription to either a merge or a transactional publication. is a base class from which the class and the class are derived.
Creates a new instance of the class.
Creates the subscription registration at the Publisher.
Deletes the subscription registration at the Publisher and removes replication objects at the Subscriber for a push subscription.
Returns a Transact-SQL script that can be used to create or delete the subscription.
A value that contains the Transact-SQL script.
A value that specifies the scripting options.
Gets the ID of the agent job used to synchronize the subscription.
A value.
Gets or sets whether the synchronization agent runs on a computer other than the one where the agent job was created. This property is no longer supported for Distributors running Microsoft SQL Server 2005 and later.
A value. If true, the agent runs on another computer and is launched using a DCOM process. If false, the agent runs on the computer where the agent job was created.
Gets or sets the name of the remote computer where the agent runs when using remote agent activation.
A value.
Gets the schedule for the agent job used to synchronize the subscription.
A object that represents the schedule for the subscription.
Gets or sets whether the agent job used to synchronize the subscription is created by default.
A value. If true, the agent job is created. If false, the agent job is not created.
Gets or sets the name of the publication database.
A value.
Specifies whether the subscription can be synchronized using Microsoft Windows Synchronization Manager.
A value that is always false, even when an existing subscription is enabled to use Windows Synchronization Manager.
Gets the name assigned to an existing subscription.
A value in the format <>:<>.
Gets or sets the name of the publication to which the subscription subscribes.
A value.
Gets the status of the subscription.
A object specifies the status of the subscription.
Gets or sets the name of the instance of Microsoft SQL Server that is the Subscriber.
A value.
Gets the security context used to connect to the Subscriber.
A object.
Gets or sets the name of the database on the Subscriber that receives the replicated data.
A string value that specifies the name of subscription database.
Gets whether the subscription registration is for a push or pull subscription.
A value. If , the subscription is a push subscription.
Gets or sets the name of the agent job created to synchronize the subscription.
A value.
Gets the security context that is used to specify the Microsoft Windows account under which the synchronization agent job runs to synchronize the subscription.
An object that represents a Windows account.
Gets or sets the manner in which the subscription is initialized.
A value.
Enumerates backup devices that can be used to initialize a subscription.
Disk drive backup device.
Logical drive backup device.
Tape drive backup device.
Represents information required to initialize a subscription from a backup.
Creates a new instance of the class.
Gets or sets the name of the backup device used to initialize the subscription.
A value.
Gets or sets the type of backup device used to initialize the subscription.
A value.
Gets or sets the file number hint on the backup device.
An value.
Gets or sets the password required to access the media set on the backup device.
A value.
Gets or sets the password required to access the backup device.
A value.
Gets or sets the password (as a object) required to access the media set on the backup device.
A object.
Gets or sets the password (as a object) required to access the backup device.
A object.
Gets or sets whether to unload the backup media set after the subscription has been initialized.
A value. If true, the backup media is unloaded after initialization. If false, the backup media is not unloaded after initialization.
Enumerates options for returning monitored subscriptions.
Returns all subscriptions.
Returns subscriptions with an error or warning status.
Returns subscriptions with an error status.
Returns subscriptions with a warning status.
Returns subscriptions that are not currently synchronizing.
Returns subscriptions that are currently synchronizing.
Returns the top 25 worst performing subscriptions.
Returns the top 50 worst performing subscriptions.
Enumerates options for the status of a subscription.
The subscription is active.
The subscription is inactive.
The subscription exists, but the initial snapshot has not yet been applied.
Enumerates options for how the initial synchronization is performed for a subscription.
Schema and initial data for published tables are transferred to the Subscriber when the initial snapshot is applied.
Used when you are adding a node to a peer-to-peer transactional replication topology. Used with to make sure that all relevant transactions are replicated to the new node. Assumes that the Subscriber already has the schema and initial data for published tables.
Schema and initial data for published tables are obtained from a backup of the publication database. This option assumes that the Subscriber has access to a backup of the publication database. This option is only supported for transactional publications. The location of the backup and media type for the backup are specified by and . When using this option, a peer-to-peer transactional replication topology need not be quiesced during configuration. This option is not supported for subscriptions to non-SQL Server publications. This option is only available for SQL Server 2005 and later.
Subscriber already has the schema and initial data for published tables. This option is supported for merge publications. This option has been deprecated for transactional publications. Use instead.
Provides automatic generation at the Subscriber of article custom stored procedures and triggers that support updating subscriptions, if appropriate. This option is supported only for transactional publications. This option assumes that Subscriber already has the schema and initial data for published tables. When configuring a peer-to-peer transactional replication topology, ensure that the data at all nodes in the topology is identical. Quiesce the replication topology before configuring peer-to-peer transactional replication using this option. This option is only available for SQL Server 2005 and later.
Represents an alternate Publisher used to synchronize a subscription to a merge publication.
Creates a new instance of the class.
Gets or sets a description for the alternate Publisher.
A value.
Gets or sets the name of the Distributor.
A value.
Gets or sets whether or not this Publisher is enabled as an alternate synchronization partner.
A value. If true, the synchronization partner is enabled. If false, the synchronization partner is not enabled.
Gets or sets the name of the publication.
A value.
Gets or sets the name of the publication database.
A value.
Gets or sets the name of the alternate Publisher.
A value.
Gets or sets an object property that allows users to attach their own data to this object.
An that contains user data. The data is only valid for the lifetime of the object.
Represents tracer token information.
Creates a new instance of the class.
Gets or sets the time at which the tracer record was committed at the Publisher.
A value.
Gets or sets the ID of the tracer token.
An value.
Gets or sets an object property that allows users to attach their own data to this object.
An that specifies user data. The data is only valid for the lifetime of the object.
Represents an article in a transactional publication.
Creates a new instance of the class.
Creates a new instance of the class, with the required properties and with the specified connection to the instance of Microsoft SQL Server.
A value that specifies the name of the article.
A value that specifies the name of the transactional or snapshot publication.
A value that specifies the name of the publication database.
A object value that specifies the connection to the Publisher.
Includes columns in a vertically partitioned table article.
An array of values that represent the columns to be included in the article.
Returns column information for a table article published by a non-SQL Server Publisher.
An of objects.
Returns the published columns in a table article.
An array of values.
Excludes columns from a vertically partitioned table article.
An array of values that represent the columns to be excluded from the article.
Returns a Transact-SQL script used to change the column data type mapping for a non-SQL Server Publisher.
A value that contains a Transact-SQL script.
A value that specifies the name of the column for which the destination data type is changed.
A value that specifies the data type to which the column is changed.
An value that specifies the precision of the data type. Set this parameter to -1 if it does not apply to the specified data type.
An value that specifies the scale of the data type. Set this parameter to -1 if it does not apply to the specified data type.
An value that specifies the length of the data type. Set this parameter to -1 if it does not apply to the specified data type.
A object value that specifies the scripting options.
Sets the column data type mapping for a non-SQL Server Publisher.
A value that specifies the name of the column for which the destination data type is changed.
A value that specifies the data type to which the column is changed.
An value that specifies the precision of the data type. Set this parameter to -1 if it does not apply to the specified data type.
An value that specifies the scale of the data type. Set this parameter to -1 if it does not apply to the specified data type.
An value that specifies the length of the data type. Set this parameter to -1 if it does not apply to the specified data type.
Gets or sets the name of the Oracle tablespace used to store replication log information.
A value.
Gets or sets how changes are propagated for the article.
A value.
Returns whether the default article data type mapping is used for a non-SQL Server Publisher.
A value.
Gets or sets the command used to replicate deletes.
A value that specifies the delete command.
Gets or sets the WHERE clause used to filter the article horizontally.
A that is a WHERE clause.
Gets or sets the stored procedure (created with FOR REPLICATION) used to filter the table horizontally.
A that is a stored procedure name.
Gets or sets the database user who owns the stored procedure that is used to horizontally partition a table-based article.
A value.
Gets or sets the command used to replicate inserts.
A value that specifies the insert command.
Gets or sets the name of the non-SQL Server Publisher that publishes the article.
A value.
Gets or sets the database object that provides the initial data snapshot for the article.
A object that specifies the database object.
Gets or sets the owner of the database object that provides the initial data snapshot for the article.
A value that specifies the owner.
Gets or sets the command used to replicate updates.
A value that specifies the insert command.
Represents a collection of objects.
Makes a copy of the collection.
A object that is to receive the copy of the original collection.
An value that specifies the index position within the original collection to start copying.
Gets a object in the collection by index number.
A object.
An value that specifies the position of the object in the .
Gets a object in the collection by name.
object.
A value that specifies the name of the article.
Represents returned conflict information for a table article in a publication that supports queued updating subscriptions.
Creates a new instance of the class.
Gets the name of the article.
A value.
Gets whether conflict data for the article is stored at the Publisher or at each Subscriber.
A value. If true, the conflict data is stored at the Publisher in the publication database. If false, the conflict data is stored at the Subscriber in the subscription database.
Gets the number of conflict rows being stored in the conflict table for this article.
An value.
Gets the name of the conflict table for the article.
A value.
Gets the name of the stored procedure used to retrieve the source data row causing the conflict.
A value.
Represents a transactional publication.
Creates a new instance of the class.
Creates a new instance of the class with the required properties.
A value that specifies the name of publication.
A value that specifies the name of the publication database.
A object that represents a connection to the Publisher or to the Distributor for a non-SQL Server Publisher.
Creates a new instance of the class with the required properties, and indicates whether the Snapshot Agent job for the publication is created.
A value that specifies the name of publication.
A value that specifies the name of the publication database.
A object that represents a connection to the Publisher or to the Distributor for a non-SQL Server Publisher.
A value that indicates whether the Snapshot Agent job is added automatically when the publication is created.
Returns the complete path of the location where snapshot files were generated for a specific subscription.
A value that represents a file path.
A value that represents the Subscriber name.
A value that represents the subscription database name.
Copies the latest snapshot files for a specific subscription to a destination folder.
A that specifies the destination directory path.
A value that represents the name of the Subscriber to which subscription belongs.
A value that represents the subscription database name.
Registers a pull subscription at the Publisher.
A value that specifies the name of the Subscriber where the pull subscription was created.
A value that specifies the name of the subscription database.
A object value that specifies how the subscription synchronization is performed.
A object value that specifies the subscription behavior when a Subscriber initiates a change to data in an article image.
Posts a tracer token into the Publisher log to begin the process of determining latency.
Updates all subscriptions to a publication to include any newly added articles.
Marks all subscriptions to the publication for reinitialization.
Marks all subscriptions to the publication for reinitialization, with the option to invalidate an existing snapshot.
Specifies whether an existing snapshot should be invalidated and re-created before subscriptions are reinitialized.
Removes the registration for a pull subscription at the Publisher.
A value that represents the name of the Subscriber where the pull subscription exists.
A value that represents the subscription database name.
Enables or disables conflict detection for a node in a peer-to-peer topology.
A value. If true, the Distribution Agent detects any conflicts during synchronization. If false, the Distribution Agent does not detect conflicts.
An ID that matches the integer specified for .
Invokes inline publication validation for all subscriptions.
A object value that specifies the type of validation being performed.
A object value that specifies options for rowcount validation.
A value. If true, the Distribution Agent is shut down immediately after validation. If false, the Distribution Agent continues to run.
Invokes inline publication validation for the specified subscription.
An array of objects that specifies the names of the Subscribers.
An array of objects that specifies the names of the subscription databases.
A object value that specifies the type of validation being performed.
A object value that specifies options for rowcount validation.
A value. If true, the Distribution Agent is shut down immediately after validation. If false, the Distribution Agent continues to run.
Gets or sets the conflict policy for publications that support updating subscriptions.
A value.
Determines whether the Distribution Agent continues to process changes after a conflict is detected.
If true, the Distribution Agent continues to process changes after a conflict is detected. If false, the agent stops.
Gets whether peer-to-peer conflict detection was enabled by using .
If true, peer-to-peer conflict detection is enabled. If false, it is not enabled.
Gets the ID for a node in a peer-to-peer topology; this ID is used for conflict detection if is set to true.
An integer that specifies a peer originator ID.
Gets or sets the name of the non-SQL Server Publisher.
A value.
Gets or sets the type of queue to use for publications that allow queued updating subscriptions.
A value.
Gets whether or not the snapshot files for this publication are available for use.
A value. If true, the snapshot files are available. If false, the snapshot files are not available.
Represents the articles in the publication.
A object.
Represents subscriptions to the publication.
A object.
Represents a collection of objects.
Makes a copy of the collection.
A object that is to receive the copy of the original collection.
An value that specifies the index position within the original collection to start copying.
Gets a object in the collection by index number.
A object.
An value that specifies the position of the object in the .
Gets a object in the collection by name.
A object.
A value that specifies the name of the transactional or snapshot publication.
Represents a pull subscription to a transactional publication.
Creates a new instance of the class.
Creates a new instance of the class with the properties that define a pull subscription.
A value that specifies the name of the subscription database.
A value that specifies the name of the Publisher.
A value that specifies the name of the publication database.
A value that specifies the name of the publication.
A object that specifies Subscriber connection.
Creates a new instance of the class with the properties that define a pull subscription, and whether or not to create the agent job for the subscription.
A value that specifies the name of the subscription database.
A value that specifies the name of the Publisher.
A value that specifies the name of the publication database.
A value that specifies the name of the publication.
A object that specifies Subscriber connection.
A value that indicates whether to create the Distribution Agent job to synchronize the subscription.
Marks the pull subscription for reinitialization.
Attempts to stop a running Distribution Agent job that is currently synchronizing the subscription.
Starts the agent job to synchronize the subscription.
Gets or sets the attributes of a transactional publication that are supported by the subscription.
A value.
Gets or sets the location of the Data Transformation Services (DTS) package used with a transformable subscription.
A value.
Gets or sets the Data Transformation Services (DTS) package name used in a transformable subscription.
A value that specifies the name of the DTS package.
Sets the password that is used with a transformable subscription.
Gets the date and time that the last synchronization was completed.
A value.
Gets or sets the updating behavior of the subscription.
A object.
Gets an object that represents an instance of the Distribution Agent that can be used to synchronize the subscription.
A object.
Represents a collection of objects.
Makes a copy of the collection.
A object that is to receive the copy of the original collection.
An value that specifies the index position within the original collection to start copying.
Gets a object in the collection by index number.
A object.
An value that specifies the position of the object in the collection.
Gets a object in the collection by the , , and properties that uniquely define the pull subscription.
A object.
A value that specifies the name of the Publisher.
A value that specifies the name of the publication database.
A value that specifies the name of the publication.
Enumerates the updating behaviors for subscriptions to transactional publications.
Enables the subscription for immediate updating, with queued updating as a failover. Data modifications can be made at the Subscriber and propagated to the Publisher immediately. If the Publisher and Subscriber are not connected, the updating mode can be changed so that data modifications made at the Subscriber are stored in a queue until the Subscriber and Publisher are reconnected. Not supported for Oracle Publishers.
Enables support for immediate updating subscriptions. Not supported for Oracle Publishers.
Enables the subscription as a queued updating subscription with the ability to change to immediate updating mode. Data modifications can be made at the Subscriber and stored in a queue until a connection is established between the Subscriber and Publisher. When a continuous connection is established the updating mode can be changed to immediate updating. Not supported for Oracle Publishers.
Enables the subscription for queued updating. Data modifications can be made at the Subscriber, stored in a queue, and then propagated to the Publisher. Not supported for Oracle Publishers.
The subscription is read-only. The changes at the Subscriber are not sent to the Publisher.
Represents a push subscription to a transactional or snapshot publication.
Creates a new instance of the class.
Creates a new instance of the class with the specified publication, database, Subscriber, and subscriber database, and with the specified connection to the instance of Microsoft SQL Server.
A value that specifies the name of the transactional or snapshot publication.
A value that specifies the name of the database that contains the publication, or the name of the distribution database for a non-SQL Server Publisher.
A value that specifies the name of the Subscriber.
A value that specifies the name of the subscription database.
A object that represents a connection to the Publisher or to the Distributor for a subscription to a non-SQL Server Publisher.
Marks the subscription for reinitialization the next time the Distribution Agent runs to synchronize the subscription.
Attempts to stop a running Distribution Agent job that is currently synchronizing the subscription.
Starts the agent job to synchronize the subscription.
Gets or sets information needed to initialize a subscription from a backup.
A object.
Gets or sets the location of the Microsoft SQL Server 2000 Data Transformation Services (DTS) package.
A value that represents a file location of the DTS package.
Gets or sets the name of the Microsoft SQL Server 2000 Data Transformation Services (DTS) package that is applied at the Subscriber.
A value.
Sets the password used to run the Microsoft SQL Server 2000 Data Transformation Services (DTS) package.
A value.
Gets or sets whether or not the Distribution Agent sends transactions that originated at the Subscriber back to the Subscriber.
A value. If true, the Distribution Agent does not send transactions that originated at the Subscriber back to the Subscriber. If false, the Distribution Agent does send transactions that originated at the Subscriber back to the Subscriber.
Gets or sets the name of the Publisher when the subscription belongs to a non- SQL Server Publisher.
A value.
Sets the password (as a object) used to run the Microsoft SQL Server 2000 Data Transformation Services (DTS) package.
A value.
Gets or sets the catalog used when making a connection to the OLE DB provider for a non-SQL Server Subscriber.
A value that can be a maximum of 128 Unicode characters.
Name of the data source as understood by the OLE DB provider for a non-SQL Server Subscriber.
A value that can be a maximum of 4000 Unicode characters.
Identifies the type of data source that is a non-SQL Server Subscriber.
A value.
Location of the database as understood by the OLE DB provider for the non-SQL Server Subscriber.
A value that can be a maximum of 4000 Unicode characters.
Unique programmatic identifier (PROGID) with which the OLE DB provider for the non-SQL Server Subscriber is registered
A value that can be a maximum of 128 Unicode characters.
OLE DB provider-specific connection string is used to connect to the data source for non-SQL Server Subscribers.
A value that can be a maximum of 4000 Unicode charactersThe property should only be set for non-SQL Server Subscribers. The value of is passed as the DBPROP_INIT_PROVIDERSTRING property to initialize the OLE DB provider.The property can only be retrieved by members of the sysadmin fixed server role, by members of the db_owner fixed database role, or by the user who created the subscription.The property can only be set by members of the sysadmin fixed server role or by members of the db_owner fixed database role.Retrieving is equivalent to executing sp_helpsubscription.Setting is equivalent to executing sp_addpushsubscription_agent or sp_changesubscription.The property is available with SQL Server 2005 only.This namespace, class, or member is supported only in version 2.0 of the .NET Framework.
Gets or sets the updating behavior for data changes at the Subscriber.
A value.
Gets an instance of the class that can be used to synchronize the subscription.
A object.
Represents a collection of objects.
Makes a copy of the collection.
A object that is to receive the copy of the original collection.
An value that specifies the index position within the original collection to start copying.
Gets a object in the collection by index number.
A object.
An value that specifies the position of the object in the .
Gets a object in the , by and properties that uniquely identify the subscription.
A object.
A value that specifies the Subscriber.
A value that specifies the subscription database.
Enumerates methods supported for rowcount validation of transactional publications.
Attempts a fast rowcount, but performs a full rowcount if the fast method shows any differences.
Performs a fast rowcount validation using the sys.sysindexes system table.
Performs a full rowcount using the COUNT function.
Enumerates the types of data validation supported by replication.
Performs a checksum operation. This option is only supported for Microsoft SQL Server 7.0 Subscribers.
Performs a binary checksum operation. This option is supported for Microsoft SQL Server 2000 and later Subscribers.
Performs a rowcount operation.
Enumerates values that specify whether the Merge Agent must verify the digital signature on a Component Object Model (COM)-based conflict resolver to determine if it is from a trusted source.
Digital signature verification is not performed.
Digital signature verification is performed.