Microsoft.SqlServer.Rmo 命名空间实现复制管理对象 (RMO) 模型。RMO 提供从托管代码环境对 Microsoft SQL Server 复制的编程访问。 枚举用于将列添加到在现有发布中发布的表的选项。 将新添加的列包括到在其中发布基础表的所有现有发布中。 在其中发布基础表的任何发布中均不包括新添加的列。 将新添加的列只包括到指定的发布中。 返回有关上次运行复制代理的结果的信息。 初始化 类的新实例。 获取或设置记录上次代理运行消息的日期和时间。 A value that specifies a date and time. 获取或设置从复制代理记录的最后一条消息。 A value that specifies the message. 获取或设置由复制代理记录的最后的状态。 A object value that specifies the status. 获取或设置用户可以将他们自己的数据附加到的对象。 An system object value that specifies custom user data. 封装对复制代理配置文件的所有操作,如创建、删除、添加和移除参数以及将特定配置文件分配给某些代理。 初始化 类的新实例。 使用指定的代理配置文件 ID 值和服务器连接初始化 类的新实例。 An value that uniquely identifies the agent profile. A object that specifies a connection to the instance of Microsoft SQL Server. 使用指定的配置文件名称和服务器连接初始化 类的新实例。 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. 向复制代理配置文件中添加参数。 A value that specifies the name of a profile parameter. A value that specifies a value for the profile parameter. 将复制代理配置文件分配给特定复制代理作业。 A value that specifies the name of the distribution database used by the replication agent job. An value that specifies the replication agent job. 更改配置文件中现有复制代理参数的值。 A that specifies the name of the parameter. A that specifies the new value for the parameter. 通过使用当前属性在 SQL Server 的实例上创建复制代理配置文件。 返回有关可以设置并且可用于复制代理配置文件的参数的信息。 An of objects. 返回为复制代理配置文件设置的所有现有参数。 An of objects. 将该配置文件设置为相同类型的所有复制代理的默认配置文件。 从分发服务器中删除某个现有复制代理配置文件。 从复制代理配置文件中删除某个现有参数。 A value that specifies the name of the parameter to be removed. 生成可用于重新创建代理配置文件的 Transact-SQL 脚本。 A value that contains a list of Transact-SQL statements in the script. A object value that specifies the scripting options. 获取或设置该配置文件要用于的复制代理的类型。 An object value that specifies the replication agent type. 指定此配置文件是否为给定复制代理类型的默认配置文件。 A value. 获取或设置复制代理配置文件的文本说明。 A value that contains a textual description of the agent profile. 获取或设置复制代理配置文件的名称。 A value that specifies the name. 指定复制代理配置文件是由复制预定义还是由用户创建。 An object value that specifies the type of agent profile. 表示复制代理配置文件中的参数。 初始化 类的新实例。 获取或设置复制代理配置文件中参数的名称。 A value that specifies the parameter name. 获取或设置用户可以将他们自己的数据附加到的对象。 An that specifies custom user data. 获取或设置复制代理配置文件中参数的值。 An value that specifies the value. 表示在复制代理配置文件中使用的支持的参数。 初始化 类的新实例。 表示复制代理参数的默认值。 A value that specifies the default value of the agent profile parameter. 表示复制代理参数的最大值。 An value. 表示复制代理参数的最小值。 An value that specifies the minimum value of the agent profile parameter. 表示复制代理参数的名称。 A value that specifies the parameter name. 指定复制代理参数是否具有默认值。 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. 指定复制代理参数是否具有最大值。 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. 指定复制代理参数是否具有最小值。 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. 获取或设置用户可以将他们自己的数据附加到的对象。 An that specifies the custom user data. 指示复制代理配置文件是系统定义的还是用户定义的。 复制代理配置文件是由复制预定义的。 复制代理配置文件是由用户自定义的。 枚举复制代理的不同类型。 所有类型的复制代理。 复制分发代理。 复制日志读取器代理。 复制合并代理。 其他复制代理。 复制队列读取器代理。 复制快照代理。 类和 类从其派生的基类。 初始化 类的新实例。 A value. Internal only 基于 对象或 对象的当前属性在 SQL Server 的当前连接的实例上创建新项目。 基于 对象或 对象的当前属性在 SQL Server 的当前连接的实例上删除现有项目。 生成一个 Transact-SQL 脚本,可以执行该脚本以便在服务器上创建或删除 对象或 对象。 A value that contains the Transact-SQL script. A object value that specifies the scripting options. 获取项目 ID 值。 An value that specifies the article ID. 获取或设置用于在订阅服务器创建目标对象的 Transact-SQL 脚本文件的名称和完整路径。 A value that specifies the name and full path of the article schema script file. 获取或设置包含在项目中发布的数据和对象的数据库的名称。 A value that specifies the name of the publication database. 获取或设置项目的文本说明。 A value that specifies the description of the article. 获取或设置作为订阅服务器上项目的源数据库对象的数据库对象。 A value that specifies the name of the database object. 获取或设置作为订阅服务器上项目的源数据库对象的架构所有者。 A value that specifies the owner of the database object. 获取或设置项目的标识范围管理选项。 An enumeration value that specifies the desired identity range management options. 获取或设置标识列值的新范围按其分配给发布服务器或订阅服务器的值。 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. 获取或设置项目的名称。 A value that specifies the name of the article. 获取或设置在订阅数据库中已存在已发布对象时要执行的操作。 A enumeration value that specifies the action. 获取或设置项目所属于的发布的名称。 A value that specifies the name of the publication. 对于 对象,获取或设置分配给发布服务器上的表列的标识值的范围。对于 对象,获取或设置分配给具有服务器订阅的订阅服务器上的表列的标识值的范围。 An value that specifies the publisher identity range. 获取或设置项目的架构创建选项。 A enumeration value that specifies the schema creation options. 获取或设置要发布的数据库对象的名称。 A value that specifies the object name. 获取或设置要发布的数据库对象的所有者。 A value that specifies the owner of the database object. 获取或设置在必须分配其他标识范围前可以插入到订阅服务器上表中的标识列的最大新行数。 An value that specifies the maximum number of rows that can be inserted into an identity column. 获取或设置项目的类型。 An enumeration value that specifies the type of 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. 表示与合并复制冲突表有关的信息。 初始化 类的新实例。 获取或设置使用指定的 的项目的名称。 A value that specifies the name of the merge article. 指定在发布服务器或订阅服务器上是否存在冲突表。 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. 获取或设置存储指定的 的冲突数据的表的名称。 A value that specifies the name of the conflict table. 获取或设置唯一标识指定的 中的行的列名称。 A value that specifies the GUID column name. 获取或设置指定的 的源对象的名称。 A value that specifies the object name. 获取或设置指定的 的源对象的所有者。 A value that specifies the object owner. 获取或设置用户可以将他们自己的数据附加到的对象。 An system object value that specifies the object that contains the user data. 指定用于某个项目的两个数据库管理系统 (DBMS) 之间的数据类型映射是用户定义的映射还是默认映射。 该映射由用户设置。 该映射是此数据类型的默认数据类型映射。 枚举可由复制发布的数据库对象的类型。 已发布项目的源对象是用户定义聚合函数的架构定义。 已发布项目的源对象是用户定义函数的架构定义。 已发布项目的源对象是索引视图。 已发布项目的源对象是索引视图,并且从日志读取数据更改。 已发布项目的源对象是索引视图。从事务日志读取数据更改。用户定义提供项目的初始快照数据的对象以及水平筛选项目的存储过程。 已发布项目的源对象是索引视图。从事务日志读取数据更改,并且用户定义水平筛选项目的存储过程。 已发布项目的源对象是索引视图。从事务日志读取数据更改,并且用户定义提供项目的初始快照数据的对象。 已发布项目的源对象是索引视图的架构定义。 已发布项目的源对象是表。从事务日志读取数据更改。 已发布项目的源对象是表。从事务日志读取数据更改。用户定义提供项目的初始快照数据的对象以及水平筛选项目的存储过程。 已发布项目的源对象是表。从事务日志读取数据更改,并且用户定义水平筛选项目的存储过程。 已发布项目的源对象是表。从事务日志读取数据更改,并且用户定义提供项目的初始快照数据的对象。 用户定义水平筛选项目的存储过程。 用户定义提供项目的初始快照数据的对象。 已发布项目的源是存储过程的执行结果。存储过程中的命令将复制到订阅服务器。 已发布项目的源对象是存储过程的架构定义。 已发布项目的源是存储过程的执行结果。只有处于可序列化事务的上下文内的存储过程的命令将复制到订阅服务器。 已发布项目的源对象是同义词的架构定义。 已发布项目的源对象是表。 已发布项目的源对象是视图的架构定义。 枚举为 Web 同步指定受支持的 HTTP 身份验证方法的值。 指示使用登录名和密码的标准 HTTP 身份验证机制。 指示基于 Windows 质询/响应身份验证机制的 HTTP 身份验证机制。仅当订阅服务器计算机和 IIS 服务器计算机位于相同的 Windows 域或受信任的 Windows 域中时,质询/响应机制才起作用。 枚举重新初始化合并发布的订阅时的默认行为。 重新初始化订阅并且不将挂起更改上载到发布服务器。 在将挂起更改上载到发布服务器后重新初始化订阅。 表示实现业务逻辑处理程序的托管代码程序集的服务器注册。 初始化 类的实例。 获取或设置实现业务逻辑处理程序的程序集的名称。 A value that specifies the assembly name. 获取或设置实现业务逻辑处理程序的类的名称。 A value that specifies the class name. 获取或设置在服务器上注册业务逻辑处理程序的名称。 A value that specifies the name. 指定已注册的业务逻辑处理程序是否为托管代码程序集。 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. 获取或设置用户可以将他们自己的数据附加到的对象。 An system object value that specifies the object that contains the user data. 枚举合并代理在发布服务器上应用更改时验证的表级别权限。 在发布服务器上应用 DELETE 语句前检查权限。 在发布服务器上应用 INSERT 语句前检查权限。 不检查权限。 在发布服务器上应用 UPDATE 语句前检查权限。 枚举控制如何为事务项目传播更改的选项。 传播更改时使用二进制参数。 项目的水平分区由可转换的订阅定义。 在 INSERT 语句中包括目标表的列名。 无指定选项。 枚举用于在同步对事务发布的更新订阅的过程中发生冲突时选择入选行的选项。 保留来自发布服务器的行。 发生冲突时必须重新初始化订阅。 保留来自订阅服务器的行。 表示连接到 Microsoft SQL Server 时使用的信息。 初始化 类的新实例。 更新与连接安全上下文相关联的计划字段。 获取或设置与 SQL Server 身份验证一起使用的登录名。 A value that specifies the login. 获取或设置 SQL Server 身份验证所需的登录名的密码。 A value that specifies the password for the login required for SQL Server Authentication. 获取或设置 属性,该属性指定是使用 Windows 身份验证还是 SQL Server 身份验证进行连接。 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 枚举已发布项目的架构选项值。 在订阅服务器,尝试删除不属于发布的任何对象的依赖关系。 包括相应的聚集索引的创建。 包括列级排序规则的定义。 包括自定义存储过程的生成。此选项仅对 对象有效。您必须还指定 包括默认绑定和绑定的默认值的创建。 对象创建脚本不由快照代理生成。您必须指定一个用户提供的脚本文件以便为 定义订阅服务器上的对象。 包括 CHECK 约束的创建。 包括列默认值的创建。 包括对发布中包含的所有被引用表的外键约束的创建。 包括主键约束的创建。 包括唯一键的创建。 指示与要发布的数据库对象相关联的扩展属性。 包括与已分区表或已分区索引相关联的文件组。 如果对 varbinary(max) 列指定了 FILESTREAM 属性,则使用此选项可复制此属性。如果要将表复制到 SQL Server 2005 订阅服务器,请勿指定此选项。不论此架构选项的设置如何,均不支持将包含 FILESTREAM 列的表复制到 SQL Server 2000 订阅服务器。 设置此选项可将 FILESTREAM 数据存储到订阅服务器上其自身的文件组中。如果不设置此选项,FILESTREAM 数据将存储在默认文件组中。由于复制操作不创建文件组,因此如果您设置此选项,您必须先创建文件组,然后在订阅服务器上应用快照。有关如何在应用快照前创建对象的详细信息,请参阅Executing Scripts Before and After the Snapshot Is Applied。 复制表的任何筛选的索引。有关筛选的索引的详细信息,请参阅Filtered Index Design Guidelines。 包括全文索引。 将 hierarchyid 数据类型转换为 varbinary(max),以使类型为 hierarchyid 的列能够复制到运行 SQL Server 2005 的订阅服务器。有关如何在复制的表中使用 hierarchyid 列的详细信息,请参阅 hierarchyid (Transact-SQL)。 包括标识列的创建。仅对于 对象并且仅对于 Microsoft SQL Server 2005 及更高版本支持此选项。有关详细信息,请参阅Replicating Identity Columns。 包括与已分区索引相关联的分区方案。 复制时间戳列。如果没有此选项,时间戳列将在订阅服务器上作为 binary(16) 列创建。仅对于 对象支持此选项。 将公共语言运行时 (CLR) 中大于 8000 字节的用户定义类型 (UDT) 转换为 varbinary(max),以使类型为 UDT 的列能够复制到运行 SQL Server 2005 的订阅服务器。 在创建 CHECK 约束时包括 NOT FOR REPLICATION 子句,以便在同步期间不强制执行约束。有关详细信息,请参阅Controlling Constraints, Identities, and Triggers with NOT FOR REPLICATION。 在创建 FOREIGN KEY 约束时包括 NOT FOR REPLICATION 子句,以便在同步期间不强制执行约束。有关详细信息,请参阅Controlling Constraints, Identities, and Triggers with NOT FOR REPLICATION。 将 nvarchar(max)、varchar(max) 和 varbinary(max) 转换为 ntext、text 和 image 数据类型,在 SQL Server 的早期版本中支持后者。 将在 SQL Server 2008 中引入的日期和时间数据类型(date、time、datetimeoffset 和 datetime2)转换为 SQL Server 早期版本支持的数据类型。有关如何映射这些类型的信息,请参阅Using Multiple Versions of SQL Server in a Replication Topology中的“映射新数据类型以用于早期版本”一节。 包括非聚集索引的创建。 不包括绑定到 xml 列的 XML 架构集合。 包括对已发布对象定义的权限。 在复制约束时生成 ALTER TABLE 语句。 为已发布对象生成创建脚本(CREATE TABLE、CREATE PROCEDURE 等)。 包括规则绑定和绑定的规则的创建。 生成订阅服务器上没有的任何架构。 复制列的 SPARSE 属性。有关该属性的详细信息,请参阅Using Sparse Columns。 复制类型为 geography 和 geometry 的列的索引。 将 geography 和 geometry 数据类型转换为 varbinary(max),以使这些类型的列能够复制到运行 SQL Server 2005 的订阅服务器。 包括用户定义的表统计信息。 复制数据和索引的压缩选项。有关详细信息,请参阅Creating Compressed Tables and Indexes。 包括与已分区表相关联的分区方案。 将位于发布服务器上的用户定义数据类型转换为订阅服务器上的基础 SQL Server 数据类型列。对于非 SQL Server 发布服务器,不支持此选项。 包括用户定义触发器的创建。 包括 XML 索引。 xml 列将作为 ntext 复制到订阅服务器。 表示位于合并复制拓扑中的服务器上的基于 COM 的冲突解决程序注册。 创建 类的新实例。 获取或设置注册的冲突解决程序的类 ID。 A value that represents the Class ID of a COM-based resolver. 获取或设置冲突解决程序的文本说明。 A value that specifies the textual description. 获取或设置附加到该对象的用户数据。 An value that specifies the user data. 枚举支持与 Microsoft SQL Server 2005 数据库兼容的 Microsoft SQL Server 的版本。 不支持该兼容级别。 数据库与 SQL Server 6.0 行为兼容。 数据库与 SQL Server 6.5 行为兼容。 数据库与 SQL Server 7.0 行为兼容。 数据库与 SQL Server 2000 行为兼容。 枚举是否复制对已发布表的数据定义语言 (DDL) 更改。 复制对已发布表的 DDL 更改。 不复制对已发布表的 DDL 更改。 表示与在分发服务器上存储的事务发布或快照发布中发布的项目有关的信息。 创建 类的新实例。 使用必需的属性和与分发服务器的连接,创建 类的新实例。 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. 在分发服务器上创建项目元数据。 从分发服务器删除项目元数据。 生成可用于创建或删除具有指定属性的项目的 Transact-SQL 脚本。 A value that is the script. A object value that specifies the scripting options. 获取或设置项目的 ID 值。 An value. 获取或设置项目的说明。 A value. 获取或设置包含项目元数据的分发数据库的名称。 A value. 获取或设置项目的名称。 A value. 获取或设置发布数据库的名称。 A value. 获取或设置包含项目的发布的名称。 A value. 获取或设置发布服务器的名称。 A value. 获取或设置提供项目数据的数据库对象。 A value. 获取或设置提供项目数据的数据库对象的所有者。 A value. 表示 对象的集合。 制作该集合的副本。 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. 按索引号获取集合中的 对象。 A object. An value that specifies the position of the object in the . 按名称获取集合中的 对象。 A object. A value that specifies the name of the article. 表示分发服务器上的分发数据库。 创建 类的新实例。 使用指定的数据库名称和与分发服务器的连接,创建 类的新实例。 A value that specifies the name of the distribution database. A object that specifies the connection to the Distributor. 删除位于分发服务器上的匿名订阅的元数据。 An value that specifies the agent ID value. A object value that specifies the publication type. 创建分发数据库。 在分发数据库上创建队列读取器代理作业。 在分发服务器上注册业务逻辑处理程序程序集。 A object that represents the business logic handler that is being registered. 删除分发数据库。 生成可用于创建或删除对象表示的分发数据库的 Transact-SQL 脚本。 A value that is the script. A value that specifies the scripting options. 从分发服务器上删除业务逻辑处理程序的注册。 A object that represents the business logic handler registration that is being removed. 获取或设置分发数据库的数据文件的名称。 A value. 获取或设置分发数据库的主数据库文件的大小。 An value. 获取或设置包含分发数据库的数据文件的目录的路径。 A value. 获取负责在分发中清除复制表的 SQL Server 代理作业的名称。 A value. 获取用于连接到分发服务器以创建分发数据库的安全上下文。 A object. 获取负责清除复制历史记录表的 SQL Server 代理作业的名称。 A value. 获取或设置保留复制代理历史记录数据的时间长度(小时)。 An value. 获取或设置用于存储数据库事务日志记录的文件的名称。 A value. 获取或设置用于存储数据库事务日志记录的文件的大小。 An value. 获取或设置存储数据库事务日志记录的文件所在的目录的路径。 A value. 获取或设置从分发数据库中删除事务前的最大保持期(小时)。 An value. 获取或设置从分发数据库中删除事务前的最小保持期(小时)。 An value. 获取或设置分发数据库的名称。 A value. 获取或设置是否为此分发数据库创建队列读取器代理作业。 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. 获取或设置为此分发数据库创建的队列读取器代理作业的名称。 A string value that specifies the name of the distribution database. 获取用于运行队列读取器代理作业的代理进程安全上下文。 An instance of the interface. 表示 对象的集合。 制作该集合的副本。 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. 按索引号获取集合中的 对象。 A object. An value that specifies the position of the object in the . 按数据库名称获取集合中的 对象。 A object. A value that specifies the name of the distribution database. 表示与在分发服务器上存储的事务发布或快照发布有关的信息。 创建 类的新实例。 使用必需的属性和与分发服务器的连接,创建 类的新实例。 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. 在分发服务器上创建发布元数据。 返回分发服务器上针对此发布中的项目维护的信息。 An of objects. 返回分发服务器上为此发布的订阅维护的信息。 An of objects. 从分发服务器删除发布的元数据。 生成可用于创建或删除分发服务器上的发布元数据的 Transact-SQL 脚本。 A value that is the script. A value that specifies the scripting options. 获取或设置分发发布的发布属性。 A value. 获取或设置发布的说明。 A value. 返回在分发服务器上存储的发布中的项目的有关信息。 A of objects. 获取或设置用于发布的分发数据库的名称。 A value. 表示与在分发服务器上存储的发布的订阅有关的信息。 A of objects. 获取或设置事务发布的日志读取器代理作业的名称。 A value. 获取或设置发布的名称。 A value. 获取发布 ID。 A value. 获取或设置发布数据库的名称。 A value. 获取或设置发布服务器的名称。 A value. 获取或设置事务发布的快照代理作业的名称。 A value. 获取或设置此发布的复制类型。 A value. 获取或设置发布的非 SQL Server 发布服务器的产品制造商。 A value. 表示 对象的集合。 制作该集合的副本。 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. 按索引号获取集合中的 对象。 A object. An value that specifies the position of the object in the . 按在分发服务器上唯一定义该发布的属性,获取集合中的 对象。 A object. A value that specifies the publication database. A value that specifies the name of the publication. 表示在当前连接的分发服务器上注册的发布服务器的有关信息。 创建 类的新实例。 使用发布服务器名称和与发布服务器使用的分发服务器的连接,创建 类的新实例。 A value that specifies the name of the Publisher. A object that specifies the Distributor connection. 使用分发服务器的指定属性注册发布服务器。 为非 SQL Server 发布服务器创建日志读取器代理作业。 返回与此发布服务器上的发布有关的在分发服务器上存储的信息。 An of objects. 返回与此发布服务器上的发布的订阅服务器有关的在分发服务器上存储的信息。 An of objects. 返回与此发布服务器上的事务发布有关的分发服务器上的信息。 An of objects. 从当前连接的分发服务器删除该发布服务器的注册。 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. 生成一个 Transact-SQL 脚本,该脚本可用于安装或卸载发布服务器。 A value that contains the script. A value that specifies the scripting options. 获取或设置发布服务器使用的分发数据库的名称。 A value. 返回在发布服务器上存在的发布。 A of objects. 获取对于非 SQL Server 发布服务器日志读取器代理作业是否存在。 A value. If true, the agent job exists. If false, agent job does not exist. 获取非 SQL Server 发布服务器的日志读取器代理使用的安全上下文。 An instance of the interface. 获取或设置 Microsoft SQL Server 的发布服务器实例的名称。 A value that specifies the name of the Publisher. 获取在连接到发布服务器时复制代理使用的安全上下文。 A object. 获取或设置发布服务器类型。 A value. 返回订阅发布服务器上的发布的订阅服务器。 A of objects. 获取发布服务器状态。 A value. means that the Publisher is using the Distributor. means that the Publisher is not using the Distributor. 获取或设置该发布服务器是否为非 SQL Server 发布服务器。 A value. If true, the Publisher is a non-SQL Server Publisher. If false, Publisher is an instance of SQL Server. 返回位于发布服务器的事务发布。 A of objects. 获取或设置用于存储发布的数据和架构文件的工作目录的名称。 A value. 表示 对象的集合。 制作该集合的副本。 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. 按索引号获取集合中的 对象。 A object . An value that specifies the position of the object in the . 按名称获取集合中的 对象。 A object. A value that is the Publisher name. 表示在分发服务器上存储的与订阅事务发布或快照发布有关的信息。 创建 类的新实例。 使用必需的属性和与分发服务器的连接,创建 类的新实例。 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. 获取用于同步订阅的 SQL Server 代理作业的 ID。 A value that represents an agent job ID. 获取用于订阅的同步代理计划。 A object. 获取用于同步订阅的 SQL Server 代理作业的名称。 A value. 获取或设置分发数据库的名称。 A value. 获取订阅的名称。 A value. 获取或设置发布数据库的名称。 A value. 获取或设置该订阅属于的发布的名称。 A value. 获取或设置该订阅属于的发布的订阅服务器。 A value. 获取或设置订阅的状态。 A value. 获取或设置订阅服务器的名称。 A value. 获取或设置订阅数据库的名称。 A value. 获取或设置分发代理是在分发服务器 () 还是订阅服务器 () 上运行。 A value. 获取或设置初始化订阅的方式。 A value. 表示 对象的集合。 制作该集合的副本。 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. 按索引号获取集合中的 对象。 A object. An value that specifies the position of the object in the . 按分发服务器上唯一标识该订阅的 属性获取 中的 对象。 A object. A value that specifies the Subscriber. A value that specifies the subscription database. 枚举 Data Transformation Services (DTS) 包的位置的选项。 DTS 包位于分发服务器上。 DTS 包位于订阅服务器上。 枚举更新订阅服务器将更改传播回发布服务器时可用的选项。 必须连接发布服务器和订阅服务器才能更新订阅服务器上的数据。 不必连接发布服务器和订阅服务器即可更新订阅服务器上的数据。可以在订阅服务器或发布服务器脱机时进行更新。 枚举指定合并项目中使用的筛选器类型的值。 筛选器是联接筛选器。 筛选器是联接筛选器并且表示一种逻辑记录关系。 筛选器表示一种逻辑记录关系。 表示非 Microsoft SQL Server 发布服务器上的表中包含的列。 创建 类的新实例。 获取或设置在将列数据复制到订阅服务器时是否会发生信息丢失。 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. 获取或设置可映射到该列的数据类型。 A value that is the name of a data type in the sys.types table. 获取或设置目标数据类型的长度。 An value. 获取或设置目标数据是否可接受 Null 值。 A value.If true, the destination data can be set to null.If false, the destination data cannot be set to null. 获取或设置目标数据类型的精度。 An value. 获取或设置目标数据类型的小数位数。 An value. 获取或设置是否存在绑定到该列的默认约束。 A value.If true, there is a default constraint.If false, there is no default constraint. 获取或设置当前是否为该列定义数据类型映射。 A value.If true, there is a mapping defined.If false, there is no mapping defined. 设置或获取是否存在对该列定义的主键约束。 A value.If true, there is a primary key constraint defined on the column.If false, there is no primary key. 获取或设置当前是否发布该列。 A value.If true, the column is published.If false, the column is not published. 获取或设置是否可发布该列。 A value.If true, the column can be published.If false, the column cannot be published. 获取或设置该列的名称。 A value. 获取或设置该列的源数据类型的名称。 A value. 获取或设置允许用户将他们自己的数据附加到此对象的对象属性值。 An value that contains user data. The data is valid only for the lifetime of the object. 表示非 Microsoft SQL Server 发布服务器上的表。 创建 类的新实例。 获取或设置是否显式授予非 Microsoft SQL Server 发布服务器的管理员对表的 SELECT 权限。 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. 获取或设置表是否具有主键。 A value.If true, there is a primary key defined on the table.If false, there is no primary key. 获取或设置唯一约束是否允许 Null 值。 A value.If true, null values are allowed.If false, null values are not allowed. 获取或设置表是否当前正由 Microsoft SQL Server 复制发布。 A value.If true, the table is being published.If false, the table is not being published. 获取或设置表是否在事务发布中发布。 A value.If true, the table is published in a transactional publication.If false, the table is not published in a transactional publication. 获取或设置位于非 Microsoft SQL Server 发布服务器的表对象的名称。 A value. 获取或设置位于非 Microsoft SQL Server 发布服务器的表的所有者。 A value. 获取或设置此对象的自定义用户数据。 An instance that contains user data. The data is only persisted for the lifetime of the object. 为后期绑定 COM 客户端提供 类的一个实现。有关此接口的成员的信息,请参阅 的参考文档。 当源表包含标识列时表示已发布项目的标识范围管理设置的结构。 创建 类的新实例。 获取或设置生成的上一个标识值。 An value. 获取或设置增量值。 An value that specifies the identity increment. 获取或设置复制使用的标识范围管理选项。 An value. 获取或设置一个值,该值确定何时将新的标识范围分配给发布服务器或订阅服务器。 An value. 获取或设置项目是否存在于合并复制拓扑中的重新发布订阅服务器中。 A value.If true, the article exists at a republishing Subscriber.If false, the article does not exist at a republishing Subscriber 获取或设置标识列的最大值。 An value that specifies the maximum value of the identity column. 获取下一个范围的起始点(如果启用自动标识范围)。 An value that specifies the starting point of the next range if automatic identity range is enabled. 获取或设置发布服务器上用于事务复制或者重新发布订阅服务器上用于合并复制的已发布表的标识范围大小。 An value that specifies the identity range size. 获取或设置订阅服务器上用于事务复制或者发布服务器和订阅服务器上用于合并复制的表的标识范围大小。 An value that specifies the identity range size. 获取或设置表是否在现有发布中发布。 A value. If true, the table is published in another publication.If false, the table is not published anywhere else. 获取或设置允许用户将他们自己的数据附加到此对象的对象属性值。 An that specifies the user's own data. 枚举用于在通过将合并复制和事务复制用于更新订阅服务器而发布的表中管理标识列范围分配的选项。 标识列标记为 NOT FOR REPLICATION,并且复制自动分配标识范围。 标识列标记为 NOT FOR REPLICATION,但复制不分配标识范围。 将标识列作为基本数据类型复制到订阅服务器。 枚举支持初始快照的数据文件格式。 生成所有表的字符模式大容量复制程序输出。 生成所有表的本机模式大容量复制程序输出。 生成所有表的字符模式大容量复制程序输出,但在快照过程中并不锁定表。 生成所有表的本机模式大容量复制程序输出,但在快照过程中并不锁定表。 仅供内部使用。 封装 Microsoft SQL Server 代理用于启动复制代理作业的 Microsoft Windows 安全帐户信息的接口。 获取或设置 Microsoft Windows 安全帐户的名称。 A value. 获取或设置在 属性中指定的 Microsoft Windows 安全帐户的密码。 An empty string. 获取或设置在 属性中指定的 Microsoft Windows 安全帐户的密码(作为 对象)。 A object that is an empty string. 用于返回上次合并订阅验证的日期和时间。 创建 类的新实例。 获取或设置上次尝试进行验证的日期和时间。 A value that represents the date and time. 获取或设置上次成功进行验证的日期和时间。 A value that represents the date and time. 获取或设置允许用户将他们自己的数据附加到此对象的对象属性。 A value that specifies custom user data. The data is only valid for the lifetime of the object. 表示合并发布中的项目。 创建 类的新实例。 使用指定的名称、发布、数据库和与 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. 向合并项目添加联接筛选器。 A object value that specifies the merge join filter used to filter the article. 向合并项目添加指定的列。 A array that contains the names of the columns to include in a vertically partitioned article. 更改对合并项目定义的联接筛选器。 A value that specifies the old filter. A value that specifies the new filter. 返回为合并项目定义的联接筛选器。 An of objects. 返回在垂直分区的项目中存在的列。 A array of column names. 从项目中删除指定的合并联接筛选器。 A value that specifies the name of join filter to remove. 从垂直分区的项目中删除现有列。 A array that is the name of the columns to remove. 返回附加到合并项目的合并联接筛选器的 Transact-SQL 脚本。 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. 获取或设置在同步过程中发生冲突时是否允许订阅调用交互式冲突解决程序。 A value. If true, subscriptions can invoke an interactive resolver during synchronization. If false, subscriptions cannot invoke an interactive resolver during synchronization. 获取或设置同步项目时使用的自定义冲突解决程序或业务逻辑处理程序的友好名称。 A value. 获取或设置在从订阅服务器上载更改前在发布服务器检查权限的方式。 A object value. 获取或设置同步数据行时如何检测冲突。 A value. If true, each column in a row is evaluated separately for conflicts. If false, the entire row is evaluated to determine conflicts. 获取或设置在同步过程中遇到错误时是否执行补救措施。 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. 获取用于跟踪在同步合并项目时发生的冲突的表的名称。 A value that specifies the conflict table for the merge article. 获取或设置是否复制删除。 A value.If true, deleted records are replicated; this is the default behavior for merge replication. If false, deleted records are not replicated. 获取或设置进行计算以便水平筛选项目的 WHERE (Transact-SQL) 子句。 A value. 获取或设置使用参数化行筛选器筛选项目时的筛选选项。 A value. 获取或设置在同步过程中项目的处理顺序。 The processing order of the article. 获取或设置要由基于 COM 的冲突解决程序使用的附加数据和参数。 A value. 获取表示项目的初始快照数据的数据库对象的名称。 A value that specifies the database object that provides the initial snapshot of replicated data. 获取表示项目的初始快照数据的数据库对象的所有者。 A value that represents the owner name. 获取或设置合并项目的状态。 A value. 获取或设置在复制二进制大型对象 (BLOB) 列时是否使用数据流优化。 A value. If true, the default, changes to BLOB columns are transferred in chunks. If false, changes to BLOB columns are transferred individually. 获取或设置在包含客户端订阅的订阅服务器上进行更新的行为。 A value. 获取或设置用于在基于 COM 的冲突解决程序上验证数字签名,以确定它是否来自可信任的来源的选项。 A value. 表示 对象的集合。 制作该集合的副本。 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. 按索引号获取集合中的 对象。 A object. An value that specifies the position of the object in the collection. 按名称获取集合中的 对象。 A object. A value that is equivalent to the property of a object in the collection. 枚举合并项目的受支持状态设置。 已生成此项目的初始快照脚本。 仅供内部使用。 仅供内部使用。 在该发布的下一次计划快照代理运行期间,将生成此项目的初始快照脚本。 表示合并发布中表项目的冲突信息。 创建 类的新实例。 获取或设置具有 对象表示的冲突的合并项目的名称。 A value. 获取或设置项目的冲突数据是存储在发布服务器上还是存储在订阅服务器上。 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. 获取或设置存储冲突数据行的表的名称。 A value that specifies the table name. 获取或设置冲突表中作为已发布表上的删除结果的冲突行的总数。 An value. 获取或设置唯一标识表项目中的行的列名称。 A value. 获取或设置已发布表的名称。 A value that represents a table name. 获取或设置冲突表中作为已发布表上的更新结果的冲突行的总数。 An value that specifies the number of update conflicts stored in the conflict table for the referenced article. 包含与快照代理作业有关的信息,该作业为针对具有参数化行筛选器的合并发布的订阅生成数据快照。 创建 类的新实例。 在使用 HOST_NAME (Transact-SQL) 函数定义参数化的行筛选器时,获取或设置提供给此函数以便生成数据快照的值。 A value. 在使用 SUSER_SNAME (Transact-SQL) 函数定义参数化的行筛选器时,获取或设置提供给此函数以便生成数据快照的值。 A value. 获取或设置用于存储此快照代理作业生成的筛选快照的操作系统文件夹。 A value. 以十六进制格式获取或设置 Microsoft SQL Server 代理作业 ID,它将为订阅服务器生成筛选快照。 A value that represents the job ID in hexadecimal format. 获取或设置为订阅服务器生成筛选快照的快照代理作业的名称。 A value. 获取或设置一个对象,该对象允许您将自定义数据附加到 的此实例。 An that contains user data. The data is valid only for the lifetime of the object. 表示两个合并项目之间的联接筛选器或逻辑记录关系。 创建 类的新实例。 获取或设置由联接筛选器筛选的子项目的名称。 A value that is the name of a merge article. 获取或设置针对其筛选项目的表对象的名称。 A value that is a table name. 获取或设置针对其筛选项目的表对象的所有者。 A value that specifies the table owner. 获取或设置合并项目联接筛选器的名称。 A value. 获取或设置合并联接筛选器的类型。 A value that specifies the type of filter. 获取或设置筛选的项目要联接到的父项目的名称。 A value. 获取或设置将子项目(由 指定)联接到父项目(由 指定)以筛选该子项目的子句。 A Transact-SQL expression that represents the filtering or logical record relationship between the two articles. 获取或设置联接筛选器或逻辑记录关系的 ID。 An value. 获取或设置联接到父项目基表的子项目源表的名称。 A value that is a table name. 获取或设置联接到父项目基表的子项目源表的所有者。 A value that specifies the owner of the join table. 获取或设置子项目(由 指定)与父项目(由 指定)之间的联接是一对多、一对一、多对一还是多对多。 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. 获取或设置允许用户将他们自己的数据附加到此对象的属性。 An that contains user data. The data is valid only for the lifetime of the object. 表示与通过参数化的行筛选器进行合并发布的订阅服务器的分区有关的信息。 创建 类的新实例。 获取或设置生成分区的数据快照的日期和时间。 A value. 在使用 HOST_NAME (Transact-SQL) 函数定义参数化的行筛选器时,获取或设置提供给此函数以便生成数据快照的值。 A value. 在使用 SUSER_SNAME (Transact-SQL) 函数定义参数化的行筛选器时,获取或设置提供给此函数以便生成数据快照的值。 A value. 以十六进制格式获取或设置 Microsoft SQL Server 代理作业 ID,它将为订阅服务器生成筛选快照。 A value that represents the job ID in hexadecimal format. 获取或设置用于存储为分区生成的筛选快照的操作系统文件夹。 A value. 获取或设置唯一标识分区的 ID 值。 An value. 获取或设置一个对象,该对象允许您将自定义数据附加到 的此实例。 An that contains user data. 表示合并发布。 创建 类的新实例。 使用指定的名称、数据库和与发布服务器的连接初始化 类的新实例。 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 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. 添加一个快照代理作业,在使用参数化行筛选器时该代理作业为订阅服务器生成筛选的数据分区。 A object that specifies the filtered data snapshot job. A object that specifies the schedule that is associated with the job. 使后期绑定的 COM 客户端能够添加一个快照代理作业,在使用参数化行筛选器时该代理作业为订阅服务器生成筛选的数据分区。 An that specifies the filtered data snapshot job. An that specifies the job schedule. 为具有参数化行筛选器的合并发布定义订阅服务器分区。 A object that specifies the Subscriber partition being defined. 返回生成了快照文件的目录位置的完整路径。 A value. 针对基于作业 ID 为订阅服务器生成筛选的数据分区的快照代理作业,修改其计划。 A value that specifies the job ID value. A object that represents the new job schedule. 针对基于作业 ID 为订阅服务器生成筛选的数据分区的快照代理作业,允许后期绑定 COM 客户端修改其计划。 A value that specifies the job ID value. A object that represents the new job schedule. 修改快照代理作业的计划,该代理作业基于作业名称为订阅服务器生成筛选的数据分区。 A value that specifies the job name value. A object that represents the new job schedule. 针对基于作业名称为订阅服务器生成筛选的数据分区的快照代理作业,允许后期绑定 COM 客户端修改其计划。 A value that specifies the job name value. A object that represents the new job schedule. 将合并发布的快照文件从快照文件夹复制到某一目标文件夹。 A value that specifies the directory to which the snapshot files are to be copied. 禁用此合并发布的指定的同步伙伴。 A value that specifies the Publisher name. A value that specifies the publication database name. A value that specifies the publication name. 启用此合并发布的指定的同步伙伴。 A object that specifies the alternative synchronization source. 返回对合并发布定义的所有合并联接筛选器。 An of objects. 返回合并动态快照作业的列表。 An of objects. 返回为此合并发布定义的订阅服务器分区。 An of objects. 返回此合并发布的备用同步伙伴。 An of objects. 返回快照代理作业的计划,该作业基于作业 ID 为订阅服务器生成筛选的数据分区。 A value that specifies the job ID value. 返回快照代理作业的计划,该作业基于作业名称为订阅服务器生成筛选的数据分区。 A value that specifies the job name. 在发布服务器上注册合并请求订阅。 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. 返回有关订阅服务器的最新订阅验证的信息。 A object. A value that specifies the Subscriber name. A value that specifies the subscription database name. 将所有订阅标记为重新初始化。 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. 从合并发布中删除指定的动态快照作业。 A string value that specifies the name of the dynamic snapshot job. 删除对合并发布定义的现有订阅服务器分区。 A object value that specifies the merge partition to be removed. 删除具有对合并发布的请求订阅的订阅服务器的注册。 A value that represents the name of the registered Subscriber. A value that represents the name of the subscription database. 将合并订阅重新同步到指定的已知验证状态。 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. 生成一个 Transact-SQL 脚本,该脚本可用于重新创建快照代理作业,该作业为具有参数化行筛选器的发布生成订阅服务器的已分区数据快照。 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. 生成一个 Transact-SQL 脚本,该脚本可用于为具有参数化行筛选器的发布重新创建订阅服务器分区。 A that contains the Transact-SQL script. A object that specifies the merge partition to be scripted. A value that specifies the scripting options. 生成一个 Transact-SQL 脚本,该脚本在运行时将合并发布的状态设置为活动状态。 A value that is the Transact-SQL script. A value that specifies the script that is generated. 将所有订阅标记为在下一个同步过程中进行验证。 A value that specifies the validation options. 将指定的订阅标记为在下一个同步过程中进行验证。 A value that specifies the Subscriber. A value that specifies the subscription database. A value that specifies the validation options. 获取或设置在由于发布中的更改而重新初始化订阅时是否将发布服务器上的更改上载到发布服务器。 A value. 获取或设置可以订阅合并发布的 Microsoft SQL Server 的最早版本。 A value. 获取或设置在发布具有参数化的行筛选器的情况下,在生成数据快照时支持的并发快照代理会话的最大数目。 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 获取或设置可同时与发布保持同步的合并代理的最大数目。 An value. 获取合并发布中的现有项目。 A object. 获取属于合并发布的订阅。 A . 获取或设置是否应使用预先计算的分区来优化同步过程。 A value. 获取或设置用于表示 属性的单位。 A value. 获取或设置是否已为此发布生成快照文件并且可用于初始化订阅服务器。 A value. If true, the snapshot files are available and ready for use. If false, the snapshot files are not available. 获取合并发布是否具有使用 HOST_NAME 函数来计算分区的参数化行筛选器。 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. 获取或设置在使用参数化行筛选器时用于定义已发布数据的订阅服务器分区的函数。 A value that specifies an expression containing dynamic filtering functions. 获取或设置用于 Web 同步的 URL。 A value that represents a URL. 表示 对象的集合。 制作该集合的副本。 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. 按索引号获取集合中的 对象。 A object. An value that specifies the position of the object in the . 按名称获取集合中的 对象。 A object. A value that specifies the name of the merge publication. 表示对合并发布的请求订阅。 创建 类的新实例。 使用指定的数据库、发布服务器、发布和订阅服务器连接,创建 类的新实例。 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. 使用指定的数据库、发布服务器、发布、订阅服务器连接以及是否创建代理作业,创建 类的新实例。 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. 返回备用同步伙伴。 An of objects. 将合并请求订阅标记为要重新初始化。 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. 尝试停止当前正在同步订阅的运行中的合并代理作业。 异步启动代理作业以便同步请求订阅。 获取或设置在发布使用参数化行筛选器时特定于订阅的快照文件的文件位置。 A value. 获取或设置在定义订阅服务器的数据分区的参数化行筛选器中使用 HOST_NAME 函数时提供给该函数的值。 A value. 获取或设置在 Web 同步过程中连接到 Web 服务器时用于 HTTP 基本身份验证的登录名。 A value. 获取或设置在 Web 同步过程中连接到 Web 服务器时用于提供的 值的密码。 获取或设置在 Web 同步过程中连接到 Web 服务器时使用的 HTTP 身份验证方法。 An object value that specifies authentication method required if message replication is used to synchronize the subscription. 获取或设置在 Web 同步过程中连接到 Web 服务器时的 HTTP 超时(秒)。 An value that represents the number of seconds. 获取或设置在使用 Web 同步来同步订阅时要使用的 URL。 A value that represents a URL. 获取或设置在解决订阅之间的冲突时此服务器订阅相对于其他服务器订阅的权重。 A value. 设置在使用 HTTP 基本身份验证连接到 Web 服务器时使用的密码(作为 对象)。 A value. 获取或设置订阅是服务器订阅还是客户端订阅。 A value. 获取一个对象,该对象表示可用于同步订阅的合并代理的实例。 A object. 获取或设置在订阅服务器初始化数据的方式。 A value. 获取或设置是否在同步过程中使用交互式冲突解决程序。 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. 获取或设置是否使用 Web 同步来同步订阅。 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. 表示 对象的集合。 制作该集合的副本。 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. 按索引号获取集合中的 对象。 A object. An value that specifies the position of the object in the . 按唯一标识请求订阅的 属性获取集合中的 对象。 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. 表示与合并代理会话中的步骤有关的详细信息。 创建 类的实例。 获取或设置在该步骤中发生的冲突数。 An value. 获取或设置在该步骤中已复制的删除数。 An value. 获取或设置由该对象表示的详细步骤的类型。 A value. 获取或设置详细步骤的持续时间。 An value. 获取或设置在该详细步骤中发生的错误。 An array of objects. 获取或设置在该步骤中已复制的插入数。 An value. 获取或设置在安装过程中由合并代理返回的消息。 When the step is of type or , is the name of the article. 获取或设置在安装过程中该会话的进度,以相对于总会话的百分比的形式提供。 A value that represents a percentage. 获取或设置在此步骤中所用的时间量,以相对于会话的总同步时间的百分比的形式提供。 A value that represents a percentage. 获取或设置在此步骤中重试的行数。 An value. 获取或设置在此步骤中应用的架构更改数。 An value. 获取或设置在该步骤中已复制的更新数。 An value. 枚举正监视的合并代理会话的部分。 正在下载更改。 正在下载特定的项目行。 代理初始化。 正在准备筛选订阅的快照。 正在应用架构更改。 正在上载更改。 正在上载特定的项目行。 表示在合并代理会话期间发生的错误的有关信息。 创建 类的实例。 获取或设置错误代码。 A value. 获取或设置错误消息。 A value. 获取或设置错误的源。 A value. 枚举合并代理会话的阶段。 正在从发布服务器下载更改。 不适用。 正在将更改上载到发布服务器。 枚举合并代理会话的状态。 会话过程中出现一次或多次失败。 代理空闲。 代理已中断。 会话尚未开始。 代理正在重试会话。 代理正在运行。 代理正在启动。 已成功同步订阅。 表示合并代理会话信息。 创建 类的实例。 获取或设置活动会话的当前阶段。 A object that represents the current phase of the session. 获取或设置会话的长度(秒)。 An value that represents the number of seconds. 获取或设置会话的结束时间。 A value. 获取或设置同步过程中发生的错误。 An array of objects. 获取或设置在会话过程中由代理返回的最后的消息。 A value. 获取或设置会话过程中下载的行数。 An value. 获取或设置会话过程中下载的行数。 An value. 获取或设置正在运行的会话的进度,以百分比的形式提供。 A value that represents a percentage. 获取或设置会话的标识符。 An value. 获取或设置会话的开始时间。 A value. 获取或设置会话的状态。 A value. 获取或设置正在运行的会话的估计剩余时间。 An value. 启用对合并发布的订阅的订阅服务器端监视。 使用与订阅服务器的连接创建 类的实例。 A object that represents a connection to the instance of Microsoft SQL Server that is the Subscriber. 创建 类的实例以便监视特定的订阅。 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. 将最近合并代理会话上的信息作为 对象返回。 A object that represents the most recent Merge Agent session. 将最近合并代理会话上的信息作为 对象返回。 A object that represents the most recent Merge Agent session. 将有关合并代理会话的详细信息作为 对象的数组返回。 An array of objects. Identifies a Merge Agent session. 将有关合并代理会话的详细信息作为 对象返回。 An object. Identifies a Merge Agent session. 返回合并代理会话的有关所有可用的摘要信息。 An array of objects. 返回在过去的指定小时数中发生的合并代理会话的摘要信息。 An array of objects. The past number hours for which to return session information. 使用 对象返回所有合并代理会话的相关摘要信息。 A object. 返回在过去的指定小时数中发生的合并代理会话的摘要信息。使用 对象返回摘要信息。 A object. The past number hours for which to return session information. 刷新 对象中表示特定的合并代理会话的信息。 object is the session to be refreshed. 刷新 对象中表示特定的合并代理会话的信息。 A object that is the session to be refreshed. 获取 对象连接到的 Microsoft SQL Server 实例的名称。 A value. 获取或设置该订阅属于的发布的名称。 A value. 获取或设置发布服务器的名称。 A value. 获取或设置发布数据库的名称。 A value. 获取或设置订阅数据库的名称。 A value. 枚举合并复制支持的订阅的其他类型。 未通过使用 在发布服务器上显式注册请求订阅。如果您要创建某一订阅但不在发布服务器上注册此订阅,则匿名订阅是必需的。如果在订阅配置期间无法建立与发布服务器的 SQL Server 连接(例如 Web 同步),则匿名订阅是必需的。 该订阅是服务器订阅。此类型通常用于将数据重新发布到其他订阅服务器的订阅服务器。 该订阅是客户端订阅。此类型的订阅适合于大多数订阅服务器。 表示对在发布服务器注册的合并发布的订阅。 创建 类的新实例。 使用指定的与发布服务器的连接以及唯一定义订阅的属性创建 类的新实例。 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. 将合并订阅标记为要重新初始化。 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. 尝试停止当前正在同步订阅的运行中的合并代理作业。 启动代理作业以便同步订阅。 获取或设置合并订阅的文本说明。 A value that contains a textual description of the merge subscription. 获取或设置在定义订阅服务器的数据分区的参数化行筛选器中使用 HOST_NAME 函数时提供给该函数的值。 A value. 获取或设置分配给服务器订阅的相对优先级值。 A value. 获取合并代理用于连接到发布服务器的安全上下文。 An object. 获取或设置订阅是客户端订阅还是服务器订阅。 A value. 获取可用于同步订阅的 类的实例。 A object. 获取或设置是否在同步过程中使用交互式冲突解决程序。 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. 表示 对象的集合。 制作该集合的副本。 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. 按索引号获取集合中的 对象。 A object. An value that specifies the position of the object in the . 按唯一标识该订阅的 属性获取 中的 对象。 A object. A value that specifies the Subscriber. A value that specifies the subscription database. 表示监视发布时所使用的阈值标准。 创建 类的新实例。 获取或设置是否启用阈值。 A value. If true, the threshold is enabled. If false, the threshold is disabled. 获取或设置唯一标识阈值标准的 ID 值。 An value that specifies the ID value that uniquely identifies the threshold metric. 获取或设置阈值标准的名称。 A value that is equivalent to a sysname value. 获取或设置标准超过阈值时是否生成警报。 A value. If true, exceeding the threshold causes an alert. If false, no alert is raised when the threshold is exceeded. 获取或设置允许用户将他们自己的数据附加到此对象的对象。 An that specifies the user's own data. The data is only valid for the lifetime of the object. 获取或设置阈值。 An value. 枚举确定合并发布是否使用预计算分区的值。 发布确定是否使用预计算分区。 不使用预计算分区。 使用预计算分区。 枚举在合并发布使用参数化的行筛选器时在订阅中对项目中的数据进行分区的方式。 对项目的筛选将生成不重叠分区,但多个订阅服务器可以接收到相同的分区。 对项目的筛选将为每个订阅生成唯一的不重叠分区。 项目的筛选是静态的,或者不会为每个分区生成一个唯一数据子集(即“重叠”分区)。 分区是重叠的,订阅服务器中执行的数据操作语言 (DML) 更新不能更改行所属的分区。 表示有关对事务发布的订阅的挂起命令数以及处理这些命令的粗略估计时间的信息。 创建 类的新实例。 获取或设置完成传递挂起命令的估计时间(秒)。 An value that represents the number of seconds. 获取或设置正等待传递的挂起命令的数目。 An value. 获取或设置允许用户附加他们自己的数据的对象。 An that specifies the user data. 枚举在订阅数据库中已存在已发布表时在订阅初始化之前执行的命令。 执行 DELETE 语句以便基于子集筛选器中的 WHERE 子句删除单独的行。 执行 DROP TABLE 语句。该值是支持 SQL Server Compact 3.5 SP1 订阅服务器所必需的。 不对现有表采取任何操作。 执行 TRUNCATE TABLE 语句以便从表中删除所有行。 类是 类和 类从其派生的基类。 创建 类的新实例。 创建发布。 创建用于为发布生成初始快照的 SQL Server 代理作业(如果该作业尚不存在)。 返回发布中的项目。 An of or objects. 返回有权访问发布服务器的登录名。 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. 返回订阅发布的订阅。 An of or objects. 将指定的登录名添加到发布访问列表 (PAL) 中。 A value that specifies the login of the user to add to the PAL. 删除现有发布。 即使在无法访问分发服务器时也删除现有发布。 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. 将用户定义的脚本的执行复制到指定发布的订阅服务器。 A value that specifies the file name and full path to the Transact-SQL script file. 从发布访问列表 (PAL) 中删除指定的登录名。 A value that specifies the login of a user in the PAL. 生成可用于重新创建由脚本选项指定的发布的 Transact-SQL 脚本。 A that contains the Transact-SQL script that defines the publication. A enumeration value that specifies the scripting options. 启动为发布生成初始快照的作业。 尝试停止正在运行的快照代理作业。 获取或设置用于发布的备用快照文件位置。 A value that specifies the alternative location used for snapshot file creation. 获取或设置发布属性。 A enumeration value. 获取或设置在引用的发布可支持的订阅服务器上运行的 Microsoft SQL Server 的最早版本。 A value. 获取或设置在冲突表中保留冲突数据行的天数。 An value that specifies number of days. 获取或设置在创建发布时是否自动添加快照代理作业。 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. 获取或设置发布数据库的名称。 A value. 获取或设置发布的文本说明。 A value that contains a textual description of the publication. 为允许通过 FTP 进行订阅初始化的发布,获取或设置文件传输协议 (FTP) 服务器计算机的地址。 A value. 为允许通过 FTP 进行订阅初始化的发布,获取或设置用于连接到文件传输协议 (FTP) 服务器的登录名。 A value. 为允许通过 FTP 进行订阅初始化的发布,设置用于连接到文件传输协议 (FTP) 服务器的登录名的密码。 A value that specifies the password used to connect to the FTP server computer. 为允许通过 FTP 进行订阅初始化的发布,获取或设置文件传输协议 (FTP) 服务器计算机的端口。 An value. 为允许通过 FTP 进行订阅初始化的发布,获取或设置文件传输协议 (FTP) 服务器计算机上的子目录。 A value. 获取发布是否具有一个或多个订阅。 A value. If true, the publication has at least one existing subscription, and if false, the publication has no subscriptions. 获取或设置发布的名称。 A value that specifies the name of the publication. 获取或设置在初始快照应用于订阅服务器后执行的 Transact-SQL 脚本文件的名称和完整路径。 A value. 获取或设置在初始快照应用于订阅服务器前执行的 Transact-SQL 脚本文件的名称和完整路径。 A value that specifies the path and the file name of the Transact-SQL script. 获取唯一标识发布的值。 An value. 获取或设置用于确定是否复制 DDL 更改的数据定义语言 (DDL) 复制选项。 A value. 获取或设置在某一订阅未与发布同步时经过多长的时间该订阅将到期。 An value that specifies the number of hours before the subscription expires if the subscription is not yet synchronized with the publication. 为允许通过 FTP 进行订阅初始化的发布,设置用于连接到文件传输协议 (FTP) 服务器的登录名的密码(作为 对象)。 A value. 获取 SQL Server 代理作业是否存在以便为此发布生成初始快照。 A value that indicates if the Snapshot Agent job exists for the publication. 获取一个对象,该对象设置运行快照代理作业所基于的 Windows 帐户。 An object. 获取快照代理用于连接到发布服务器的安全上下文。 An object that represents the security context used by the Snapshot Agent to connect to the Publisher. 获取当前发布的快照代理作业 ID。 A value that represents a unique identifier. 获取或设置初始快照的数据文件格式。 An value. 获取一个对象,该对象为当前发布的快照代理设置计划。 A object. 获取或设置发布的状态。 A value. 获取或设置发布的类型。 A enumeration value that specifies the type of publication. 表示发布的发布访问列表 (PAL) 中的登录信息。 创建 类的新实例。 获取该登录名是否是对发布具有访问权限的 Microsoft Windows 组。 A value. If true, the publication access object represents a Windows group. If false, the publication access object does not represent a Windows group. 获取该登录名是否是对发布具有访问权限的 Microsoft Windows 登录名。 A value. If true, the publication access object represents a Windows login. If false, the publication access object does not represent a Windows login. 获取具有针对发布服务器的登录名并且授予了对发布的访问权限的用户或组。 A value. 获取或设置允许用户将他们自己的数据附加到此对象的对象。 An that specifies the user data. 表示已发布数据库对象的项目信息。 创建 类的新实例。 获取或设置在同步过程中发生冲突时是否允许订阅调用交互式冲突解决程序。 A value. 获取或设置项目的名称。 A value. 获取或设置同步项目时使用的自定义冲突解决程序或业务逻辑处理程序的友好名称。 A value. 获取或设置项目的源对象类型。 An value. 获取或设置同步数据行时如何检测冲突。 A value. 获取或设置项目所属于的发布的名称。 A value. 获取或设置项目所属于的发布的类型。 An value. 获取或设置要由基于组件对象模型 (COM) 的冲突解决程序使用的附加数据和参数。 A value. 获取或设置允许用户附加他们自己的数据的对象。 An that specifies the user's own data. The data is only valid for the lifetime of the object. 获取或设置用于在基于组件对象模型 (COM) 的冲突解决程序上验证数字签名,以确定它是否来自可信任的来源的选项。 A value. 枚举支持的发布属性。 匿名订阅可以订阅发布。如果您要创建某一订阅但不在发布服务器上注册此订阅,则匿名订阅是必需的。如果在订阅配置期间无法建立与发布服务器的 SQL Server 连接,则匿名订阅是必需的。 后续版本的 Microsoft SQL Server 将删除该功能。请不要在新的开发工作中使用该功能,并尽快修改当前还在使用该功能的应用程序。 订阅服务器可以从备份而非初始快照中初始化对发布的订阅。只有事务复制或快照复制支持该值。 在对发布服务器上的行的修改导致发布服务器更改其分区时以及发布使用参数化筛选器时,删除将发送到订阅服务器。只有合并发布支持该值。 支持在订阅服务器运行同步代理的订阅(请求订阅)。需要它来支持 SQL Server Compact 3.5 SP1 订阅服务器。 支持在分发服务器运行同步代理的订阅(推送订阅)。 对于事务发布,支持排队更新订阅。只有事务发布支持该值。 订阅服务器可以启动快照进程,以便在合并发布具有参数化筛选器时为其数据分区生成筛选快照。只有合并发布支持该值。 可以复制和附加订阅发布的数据库,以便创建新的订阅。可附加订阅已不推荐使用。 对于事务发布,支持立即更新订阅。只有事务发布支持该值。 订阅服务器可与服务器(而非订阅源于的发布服务器)同步对合并发布的订阅。只有合并发布支持该值。不推荐使用此功能,该功能将在未来版本中删除。SQL Server Compact 3.5 SP1 订阅服务器不支持此值。 订阅服务器可使用 HTTPS 协议通过 Internet 同步订阅。只有合并发布支持该值。仅可用于 SQL Server 2005。需要它来支持 SQL Server Compact 3.5 SP1 订阅服务器。有关详细信息,请参阅Web Synchronization for Merge Replication。 将自动生成更新订阅用于与事务发布同步的存储过程。只有事务发布支持该值。 在发布服务器上存储冲突记录。只有合并发布支持该值。 快照文件将压缩为 CAB 格式。不能压缩大于 2 GB 的快照文件。SQL Server Compact 3.5 SP1 订阅服务器不支持此值。 在订阅服务器上存储冲突记录。只有合并发布支持该值。SQL Server Compact 3.5 SP1 订阅服务器不支持此值。 在合并发布上支持参数化行筛选器。只有合并发布支持该值。 支持非 SQL Server 订阅服务器。只有事务发布或快照发布支持该值。仅可用于 SQL Server 2005 和更高版本。 支持对等事务复制。只有事务发布支持该值。仅可用于 SQL Server 2005 和更高版本。 每次运行快照代理时重新创建发布的同步文件。如果快照代理在订阅创建前完成,则订阅服务器可以立即获得同步文件。新订阅将获取最近一次执行快照代理所生成的最新同步文件。在设置 时,也必须设置 在与发布服务器同步时,每个订阅都使用自己的复制代理实例。设置此选项可减少滞后时间并且是事务发布的默认设置。合并复制始终使用独立的代理。 可通过 Internet 同步发布,并且可以使用文件传输协议 (FTP) 向订阅服务器传输快照文件。有关详细信息,请参阅Implementing Replication over the Internet。 在无法使用预计算分区时,使用分区更改优化。在 时,不要指定 。有关详细信息,请参阅Optimizing Parameterized Filter Performance with Precomputed Partitions。 中删除所有选项。 在默认文件夹中维护用于发布的快照文件。在未指定 时,必须使用 为快照文件指定备用位置。 枚举合并复制使用的产品版本值来确定给定数据库中的发布可以使用哪些功能。 发布仅与 SQL Server 的最新版本兼容。 发布向后兼容到 SQL Server 2008。 发布向后兼容到 SQL Server 7.0。 发布向后兼容到 SQL Server 7.0 Service Pack 1。 发布向后兼容到 SQL Server 7.0 Service Pack 2。 发布向后兼容到 SQL Server 7.0 Service Pack 3。 发布向后兼容到 SQL Server 2000。 发布向后兼容到 SQL Server 2000 Service Pack 1。 发布向后兼容到 SQL Server 2000 Service Pack 3。 发布向后兼容到 SQL Server 2005。 监视发布。 创建 类的新实例。 使用指定的名称、分发数据库、发布服务器、发布数据库和与分发服务器的连接创建 类的新实例。 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. 更改发布的监视阈值标准。 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. 从使用事务复制发布的数据库中删除早于指定日期的跟踪令牌的所有元数据。 A object. A value that specifies the date and time before which to remove the tracer token history records. 从使用事务复制发布的数据库中删除特定跟踪令牌的元数据。 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. 返回与同步会话过程中出现的指定错误 ID 相关联的错误有关的信息。 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. 为监视的发布使用的日志读取器代理作业返回信息。 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. 返回为此发布定义的复制监视器阈值。 A of objects. 为监视的发布使用的队列读取器代理作业返回信息。 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. 为监视的发布使用的快照代理作业返回信息。 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. 返回订阅监视的发布的订阅的有关信息。 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 返回订阅监视的发布的订阅的有关附加信息。 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. 为插入到监视的事务发布的单个跟踪令牌记录返回订阅服务器滞后时间信息。 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. 返回已插入到监视的事务发布中的所有跟踪令牌。 An of objects. 返回与订阅的挂起命令有关的信息。 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). 获取发布的文本说明。 A value. 获取发布使用的分发数据库的名称。 A value. 获取或设置在监视结果中是排除还是包括匿名订阅。 A value. If true, anonymous subscriptions are excluded from the results. If false, anonymous subscriptions are included in the results. 获取或设置监视的发布的名称。 A value. 获取或设置发布数据库的名称。 A value. 获取或设置发布服务器的名称。 A value. 获取发布的状态。 A object. 获取分发服务器上引用的发布的状态和警告,包括该发布的所有关联的代理。 A object value that specifies the status and warnings of the publication and associated agents on the Distributor. 获取该发布参与的复制的类型。 A value. 表示位于分发服务器的发布的 对象的集合。 制作该集合的副本。 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. 按索引号获取集合中的 对象。 A object value that represents the publication monitor. An value that specifies the index of the object in the collection. 按发布数据库和发布名称获取集合中的 对象。 A object. A value that specifies the publication database. A value that specifies the name of the publication. 枚举用于发布数据库的复制的支持类型。 发布使用合并复制。 发布使用快照复制。 发布使用事务复制。 表示在连接到配置为复制拓扑中的发布服务器的 Microsoft SQL Server 实例时使用的登录名。 创建 类的新实例。 更新与此 对象实例相关联的对象的发布服务器登录信息。 设置使用 SQL Server 身份验证时用于 的密码(作为 对象)。 A object. 获取或设置在连接到发布服务器时使用的登录名的类型。 A value. 获取或设置使用 SQL Server 身份验证时的登录名。 A value. 获取或设置使用 SQL Server 身份验证时用于 的密码。 A value. 监视复制发布服务器。 创建 类的新实例。 使用指定的名称和与分发服务器的连接,创建 类的新实例。 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. 返回有关使用指定的发布数据库的发布的信息。 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. 返回有关订阅的信息,这些订阅属于使用指定的发布数据库的发布。 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. 返回有关分发代理会话的详细信息。 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. 返回有关分发代理会话的信息。 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. 返回与同步会话过程中出现的指定错误 ID 相关联的错误有关的信息。 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. 返回有关日志读取器代理会话的详细信息。 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. 返回有关日志读取器代理会话的信息。 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. 返回有关合并代理会话的详细信息。 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. 返回有关合并代理会话的附加详细信息。 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. 返回有关合并代理会话的信息。 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. 返回有关合并代理会话的附加信息。 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. 返回监视的发布服务器上的发布的有关信息。 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. 返回监视的发布服务器上的发布的有关附加信息。 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. 返回有关快照代理会话的详细信息。 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. 返回有关快照代理会话的信息。 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. 返回有关订阅的信息,这些订阅属于监视的发布服务器上的发布。 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. 获取发布服务器使用的分发数据库的名称。 A value that specifies the name of the distribution database used by the Publisher. 获取是否返回与匿名订阅有关的信息。 A value. If true, information on anonymous subscriptions is returned. If false, information on anonymous subscriptions is not returned. 获取发布服务器的名称。 A value. 表示 对象的集合,其中每个对象都表示在要监视的发布服务器上定义的发布。 A object. 获取作为发布服务器的数据库服务器的类型。 A value. 获取发布服务器上监视的阈值度量的状态信息和警告。 A object. 表示 对象的集合。 制作该集合的副本。 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. 按索引号获取集合中的 对象。 A object. An value that specifies the index of the object in the collection. 按发布服务器名称获取集合中的 对象。 A object. A value that specifies the name of the Publisher. 表示当同步代理在订阅服务器上运行时在发布服务器上用于订阅合并发布或事务发布的信息。 类和 类从其派生而来的基类。 创建 类的新实例。 在订阅服务器上创建请求订阅。 返回与上次运行同步代理作业有关的信息。 An object. 删除请求订阅。 返回一个 Transact-SQL 脚本以便基于 对象的当前属性设置创建或删除请求订阅。 A value that contains the Transact-SQL script. A object value that specifies the scripting options. 尝试停止正在同步订阅的运行中的作业。 启动代理作业以便同步订阅。 获取用来同步订阅的代理作业的 ID。 A value that represents a SQL Server Agent job ID value. 获取或设置同步代理是否运行于创建代理作业的计算机之外的计算机上。不再支持将此属性用于运行 Microsoft SQL Server 2005 及更高版本的分发服务器。 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. 获取或设置使用远程代理激活时代理运行于其上的远程计算机的名称。 A value. 获取用于同步订阅的代理作业的计划。 A object that represents the schedule for the subscription. 获取或设置在分发服务器上未使用默认快照位置时获取发布快照文件的位置。 A value that represents the full path to the alternate snapshot location. 获取或设置在创建订阅时是否创建用于启动复制代理以便同步订阅的代理作业。 A value. 获取或设置订阅数据库的名称。 A value. 获取或设置请求订阅的文本说明。 A value. 获取或设置是分发服务器并且正在分发该订阅所订阅的发布的 Microsoft SQL Server 实例。 A value. 获取连接到分发服务器所使用的安全上下文。 A object. 指定能否使用 Windows 同步管理器同步订阅。 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. 获取上次同步订阅的日期和时间。 A value that represents a date and time. 获取订阅的最新同步的状态。 A value. 获取订阅的最新同步的结果的摘要。 A value. 获取为请求订阅生成的名称。 A value that specifies the name of the pull subscription. 获取或设置发布数据库的名称。 A value that specifies the name of the database where the publication is defined. 获取或设置该订阅要订阅的发布的名称。 A value. 获取或设置发布服务器的名称。 A value. 获取或设置在连接到发布服务器时同步代理使用的安全上下文。 A object. 获取在连接到订阅服务器时同步代理使用的安全上下文。 A object. 获取订阅 ID 值。 A value that represents a unique identifier. 获取该订阅注册是用于推送订阅、请求订阅还是匿名订阅。 A value. 获取用于指定运行同步代理作业以同步订阅所使用的 Microsoft Windows 帐户的安全上下文。 An object that represents a Windows account. 获取或设置同步代理是否使用文件传输协议 (FTP) 访问初始化请求订阅所需的快照文件。 A value. If true, snapshot files are downloaded using FTP protocol. If false, snapshot files are not downloaded using FTP protocol. 获取或设置订阅服务器上用于临时存储和解压缩下载的快照文件的目录的路径。 A value that represents a file path on the local computer. 枚举可用于具有更新订阅服务器的事务发布的排队的类型。 使用消息队列(也称为 MSMQ)实现排队。 使用 Microsoft SQL Server 实现排队。 表示已在发布服务器或分发服务器上注册的订阅服务器。 创建 类的新实例。 使用指定的名称和与发布服务器的指定连接,创建 类的新实例。 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 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. 在指定的发布服务器或分发服务器上注册订阅服务器。 删除该对象表示的订阅服务器注册。 返回一个包含 Transact-SQL 创建或删除脚本的字符串,该脚本用于该对象表示的服务器计算机上的 Microsoft SQL Server 已注册订阅服务器。 A value that contains the Transact-SQL script. A object value that specifies the scripting options. 获取分配给分发代理的默认计划(如果未指定)。 A object value that specifies the schedule. 获取分配给合并代理的默认计划(如果未指定)。 A object. 获取或设置对象的文本说明。 A value that contains the textual description of the registered Subscriber. 获取或设置分发发布服务器使用的分发数据库的名称。 A value that specifies the name of the distribution database that the distribution Publisher uses. 获取或设置订阅服务器向其注册的分发发布服务器的名称。 A value that specifies the name of the distribution Publisher to which the Subscriber is registered. 获取或设置已注册订阅服务器的名称。 A value that specifies the name of the registered Subscriber. 获取分发代理或合并代理为连接到此注册的订阅服务器而使用的安全上下文。 A value that specifies the security context used by the Distribution Agent or the Merge Agent to connect to the registered Subscriber. 获取或设置订阅服务器的类型。 A value that specifies the type of Subscriber. 表示 对象的集合。 制作该集合的副本。 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. 按索引号获取集合中的 对象。 A object value that represents the registered Subscriber. An value that specifies the position of the object in the collection. 按名称获取集合中的 对象。 A object value that represents the registered Subscriber. A value that specifies the name of the registered Subscriber. 表示复制代理作业的计划。 创建 类的新实例。 更新服务器上的现有计划。 获取或设置计划的活动要停止运行的日期。 An value that represents a date. 获取或设置计划的活动要停止运行的时间。 An value that represents a time. 获取或设置计划的活动第一次发生的日期。 An value that represents a date. 获取或设置计划的活动第一次发生的时间。 An value that represents a time. 获取或设置两次计划的活动之间的时间间隔。 An value. 获取或设置频率重复因子。 An value. 获取或设置相对于月份第一天的发生时间。 A value. 获取或设置一天中几次发生的计划的活动的频率(分钟)。 A value. 获取或设置一天中几次发生的计划的活动之间的时间间隔。 An value. 获取或设置计划的活动的频率。 A value. 在复制对象集合的构造中使用的基类。它包含复制对象集合所共有的功能。 将集合复制到数组。 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. 获取用于遍历集合中的对象的枚举器。 An instance . 刷新集合。 获取所引用集合中的对象数。 An value. 获取是否同步对集合的访问并因此确保线程安全。 A value. If true, access to the collection is synchronized. If false, access to the collection is not synchronized. 获取用于同步对集合的访问的对象。 An . 表示表中包含复制所需信息的列对象。 创建 类的新实例。 获取或设置该列能否接受空值。 A value. If true, the column referenced can accept null as a value. If false, null is not allowed. 获取或设置唯一标识列对象的 ID 值。 An value. 获取或设置此列的数据类型名称。 A value. 获取或设置此列所使用的默认约束的名称。 A value. 获取或设置该列是否参与主键。 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. 获取或设置此列是否为标识列。 A value. If true, the referenced column is an identity column. If false, the referenced column is not an identity column. 获取或设置该列是否用作表中各行的全局唯一标识符 (GUID)。 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. 获取或设置该列的名称。 A value. 获取或设置此列的基本数据类型的名称。 A value. 获取或设置允许用户将他们自己的数据附加到此对象的对象属性。 An that contains user data. The data is only valid for the lifetime of the object. 表示复制拓扑中的发布数据库或订阅数据库。 初始化 类的新实例。 使用指定的数据库名称初始化 类的新实例,并且提供与数据库在其上存在的服务器的连接。 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. 为使用事务复制发布的数据库创建日志读取器代理作业。 为分发数据库创建队列读取器代理作业。 返回使用复制数据库的所有合并发布和订阅的冲突信息。 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. 返回在合并发布或订阅数据库中存储的有关冲突的信息。 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. 返回使用复制数据库的合并发布的列表。 An of objects. 返回使用此复制数据库的所有合并请求订阅。 An of objects. 返回复制数据库中已发布对象的复制信息。 An of objects. A value specifying the database object that is published, such as the table name or stored procedure. 返回数据库中所有用户定义的绑定到架构的视图对象。 An of objects. 返回数据库中所有用户定义的存储过程对象。 An of objects. 返回数据库中所有用户定义的表对象。 An of objects. 返回数据库中用户定义聚合的列表。 An of objects. 返回数据库中用户定义函数的列表。 An of objects. 返回数据库中用户定义的视图对象的列表。 An of objects. 返回在更新事务发布或订阅数据库中存储的有关冲突的信息。 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. 返回使用数据库的事务发布和快照发布的列表。 An of objects. 返回使用数据库的事务请求订阅和快照请求订阅的列表。 An of objects. 设置在连接到发布服务器时可更新订阅的同步触发器所使用的配置和安全信息。 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. 返回用于更新对事务发布或快照发布的订阅的故障转移模式。 A value. A value that specifies the Publisher. A value that specifies the publication database. A value that specifies the publication. 返回一个 Transact-SQL 脚本,以便基于 的属性启用或禁用数据库上的复制发布和订阅。 A value that contains the Transact-SQL script. A object value that specifies the replication options to script. 返回一个 Transact-SQL 脚本,以便基于 的属性启用或禁用数据库上的复制选项。 A value that contains the Transact-SQL script. A object value that specifies the replication options to script. 设置用于更新对事务发布或快照发布的订阅的故障转移模式。 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. 指定是否可使用合并复制发布数据库。 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. 获取数据库与其兼容的 SQL Server 的最低版本。 A value that specifies the version of SQL Server with which the database has compatible behavior. 获取当前连接使用的登录名是否对数据库拥有所有权。 A value that indicates if the current login is a member of the db_owner fixed database role. 获取数据库是否为只读。 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. 获取或设置是否启用数据库进行合并发布。 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. 获取或设置是否为事务发布或快照发布启用数据库。 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. 获取数据库是否具有现有发布。 A value. If true, the database has at least one existing publication. If false, the database has no existing publications. 获取数据库是否具有现有请求订阅。 A value. If true, the database has at least one existing pull subscription. If false, the database has no existing pull subscriptions. 获取是否为发布数据库创建日志读取器代理。 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. 获取现有日志读取器代理的名称,或在为已发布的数据库创建新的日志读取器代理时设置该名称。 A value that specifies the name of the Log Reader Agent. 获取在分发服务器上运行日志读取器代理作业的 Microsoft Windows 帐户。 An object that specifies the Windows account used by SQL Server Agent when running the Log Reader Agent. 获取日志读取器代理用于连接到发布服务器的登录名。 An value that specifies the type of authentication and login used by the Log Reader Agent to connect to the Publisher. 返回对复制数据库定义的合并发布。 A of objects. 返回对复制数据库定义的合并请求订阅。 A of objects. 获取或设置复制数据库的名称。 A value that specifies the name of the replication database. 获取对于数据库是否存在队列读取器代理作业。 A value that indicates whether a Queue Reader Agent job has been created for the distribution database or not. 获取在分发服务器上运行队列读取器代理作业的 Microsoft Windows 帐户。 An object that specifies the Windows account used by SQL Server Agent when running the Queue Reader Agent. 返回对复制数据库定义的事务发布或快照发布。 A of objects. 表示对复制数据库定义的事务发布或快照发布的请求订阅。 A of objects. 表示 对象的集合。 制作该集合的副本。 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. 按索引号获取集合中的 对象。 A object. An value that specifies the position of the object in the collection. 按数据库名称获取集合中的 对象。 A object. A value that specifies the name of the replication database. 监视复制服务器。 创建 类的新实例。 使用与 Microsoft SQL Server 实例的指定连接创建 类的新实例。 A object value that specifies the connection context used to establish a connection with the instance of SQL Server. 返回监视的分发服务器上的分发代理作业的有关信息。 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. 返回与同步会话过程中出现的指定错误 ID 相关联的错误有关的信息。 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. 返回监视的分发服务器上的日志读取器代理作业的有关信息。 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. 返回监视的分发服务器上的合并代理作业的有关信息。 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. 返回监视的分发服务器上的其他复制代理作业的有关信息。 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. 返回使用监视的分发服务器的发布服务器的有关信息。 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. 返回使用当前连接的服务器作为分发服务器的发布服务器的列表。 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. 返回监视的分发服务器上的队列读取器代理作业的有关信息。 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. 返回有关队列读取器代理会话的详细信息。 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. 返回与队列读取器代理会话有关的信息(包括状态和统计信息)的列表。 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. 返回监视的分发服务器上的快照代理作业的有关信息。 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. 按代理类型返回监视的分发服务器上复制代理的总体状态。 A object. An value that specifies the type of agent. 获取是否返回与匿名订阅有关的信息。 A value. If true, information on anonymous subscriptions is returned. If false, information on anonymous subscriptions is not returned. 获取当前连接的 Microsoft SQL Server 实例的名称。 A value that specifies the name of the instance of SQL Server. 获取 对象的集合,这些对象用于监视使用监视的分发服务器的发布服务器。 A object. 获取分发服务器上的复制的总体状态,包括使用分发服务器的所有发布服务器。 A object. 是复制管理对象 (RMO) 编程接口中所有类的基类的抽象类。 创建 类的新实例。 将所有缓存的属性更改语句发送到 Microsoft SQL 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. 重新加载该对象的属性。 获取或设置是缓存对复制属性所做的更改还是立即应用它们。 A value. If true, the property changes are cached. If false, the property changes are applied immediately. 获取或设置与 Microsoft SQL Server 的实例的连接。 A object. 获取该对象是否在服务器上存在。 A value. If true, the object represents an existing object. If false, the object represents an object that does not yet exist. 获取该对象连接到的 Microsoft SQL Server 实例的名称。 A value. 获取或设置允许用户将他们自己的数据附加到该对象的对象属性。 An that contains user data. The data is only valid for the lifetime of the object. 表示绑定到架构的视图并且包含复制所需的信息。 创建 类的新实例。 获取或设置是否通过加密创建引用的绑定到架构的视图。 A value. If true, the schema-bound view was created with encryption. If false, the schema-bound view was not created with encryption. 获取或设置是否在引用的绑定到架构的视图上创建索引。 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. 获取或设置绑定到架构的视图的名称。 A value. 获取或设置绑定到架构的视图的所有者的名称。 A value. 获取或设置允许用户将他们自己的数据附加到此对象的对象。 An that contains user data. The data is only valid for the lifetime of the object. 指定在连接到发布服务器时由更新订阅服务器使用的支持的安全模式。 使用在订阅服务器上进行更改的用户的安全上下文(SQL Server 身份验证或 Windows 身份验证)。此帐户还必须存在于发布服务器中,并具有足够的权限。使用 Windows 身份验证时,必须支持安全策略帐户委托。 订阅服务器使用通过 创建的、用户定义的现有链接服务器登录名。 订阅服务器将 SQL Server 身份验证用于由 对象的 属性指定的登录名。 表示在复制中涉及的 Microsoft SQL Server 的实例。其角色可以是分发服务器、发布服务器或订阅服务器,也可以是这三者的任意组合。 初始化 类的新实例。 使用用于建立与 Microsoft SQL Server 实例的连接的指定连接上下文,初始化 类的新实例。 A object that specifies the connection context that is used to establish a connection with the instance of SQL Server. 在订阅服务器附加复制的订阅数据库。 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. 更改分发服务器密码,其中新密码作为 对象提供。 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. 更改分发服务器密码。 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. 更改使用 对象在复制服务器上维护的登录密码的所有存储的实例。 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. 更改复制服务器上维护的登录密码的所有存储的实例。 Is the value that specifies whether the login is used for Windows Authentication or SQL Server Authentication. 请尽可能使用 Windows 身份验证。 Is the login for the stored password being changed. Is the password being changed. 复制现有的请求订阅数据库。 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. 返回在服务器上支持的复制代理性能配置文件。 An of objects. An enumeration value that indicates the type of agent profile to be returned. 返回在服务器上注册的业务逻辑处理程序。 An of objects. 返回参与数据库镜像的所有已发布数据库的信息。 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. 返回连接的 SQL Server 实例上注册的所有自定义冲突解决程序。 An object that contains an array of objects. 返回在 Microsoft SQL Server 的当前连接的实例是分发服务器时安装的分发数据库。 An object containing an array of objects. 返回使用当前连接的 Microsoft SQL Server 实例作为其分发服务器的发布服务器。 An of objects. 返回非 SQL Server 发布服务器上的表中的列。 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. 返回非 SQL Server 发布服务器上的可用表。 A containing a collection of objects. A string value that specifies the Publisher. 返回在发布服务器上注册的订阅服务器。 An of objects. 返回为复制启用的数据库。 An of objects. 返回订阅服务器上的订阅。 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 为指定的发布数据库返回当前数据库镜像主体。 A value. Name of a published database that participates in database mirroring. 为参与数据库镜像会话的已发布数据库返回起始发布服务器的名称。 A value. Name of a published database that participates in database mirroring. 在当前连接的 Microsoft SQL Server 实例上安装分发服务器,在其中使用 对象指定密码。 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. 在当前连接的 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. 注册远程分发服务器,在其中使用 对象指定密码。 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. 注册远程分发服务器。 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. 返回一个 Transact-SQL 脚本以便在服务器上安装或卸载复制。 A value that contains the Transact-SQL script. A object value that specifies the scripting options. 返回安装分发服务器的 Transact-SQL 脚本。 A value that contains the Transact-SQL script. The name of the Distributor. A enumeration value that specifies the scripting options. 返回可用于卸载分发服务器的 Transact-SQL 脚本。 A value that contains the Transact-SQL script. A object value that specifies the scripting options. 卸载当前连接的 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. 获取或设置分发代理执行检查的时间间隔。 An value that specifies the interval for the distribution to perform a checkup. 获取当前连接的 SQL Server 实例的分发数据库的名称。 A value that specifies the name of the distribution database. 获取对复制服务器定义的分发数据库。 A object that represents all the distribution databases that exist on the replication server. 获取使用当前连接的 Microsoft SQL Server 实例作为分发服务器的发布服务器。 A object that represents all the Publishers using the replication server as a Distributor. 获取或设置当前连接的 SQL Server 实例的分发服务器的名称。 A value that specifies the instance of SQL Server that is the Distributor. 获取当前连接的 Microsoft SQL Server 实例的分发服务器当前是否连接和可用。 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. 获取当前连接的 SQL Server 实例是否具有本地或远程分发服务器。 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. 获取当前连接的 Microsoft SQL Server 实例是否是具有远程发布服务器的分发服务器。 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. 获取当前连接的 SQL Server 实例是否是分发服务器。 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. 获取当前连接的 Microsoft SQL Server 实例是否是发布服务器。 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. 获取 Microsoft SQL Server 实例的名称。 A value that specifies the name of the currently connected instance of SQL Server. 获取向发布服务器注册的订阅服务器。 A object that represents all the registered Subscribers when the currently connected instance of SQL Server is a Publisher. 获取为连接的 Microsoft SQL Server 实例中的复制启用的数据库。 A object that represents all the databases enabled for replication on the server. 获取发布服务器使用的工作目录。 A value that specifies the working directory. 指定复制代理作业的状态。 代理未能完成其任务之一。 代理空闲。 代理尚未开始。 代理正在重试。 代理正在运行。 代理正在启动。 代理已成功完成。 表示复制代理状态信息和阈值监视器警告。 创建 类的新实例。 获取或设置指示数据返回时间的时间戳。 A value that represents a date and time value. 获取或设置代理状态。 A value. 获取或设置允许用户附加他们自己的数据的对象。 An that contains user data. The data is only valid for the lifetime of the object. 获取或设置阈值监视器警告。 A value. 表示复制所要求的存储过程对象的有关信息。 创建 类的新实例。 获取或设置是否通过加密创建引用的存储过程。 A value. If true, the stored procedure was created with encryption. If false, the stored procedure was not created with encryption. 获取或设置存储过程的名称。 A value. 获取或设置存储过程的所有者。 A value. 获取或设置允许用户将他们自己的数据附加到此对象的对象。 An that contains user data. The data is only valid for the lifetime of the object. 表示复制所要求的表对象的有关信息。 创建 类的新实例。 使用指定的名称和所有者、在指定的数据库上并且使用与 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. 返回与基于表的项目有关的标识范围信息。 An of objects. 从可复制的表中返回列。 An of objects. 将列添加到已在一个或多个发布中发布的表。 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. 从已在一个或多个发布中发布的表中删除列。 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. 获取或设置包含复制表的数据库的名称。 A value. 获取表是否具有数据类型为 bigint 的至少一列。 A value. If true, the table has a bigint column. If false, the table has no bigint columns. 获取表是否具有数据类型为 bigint 的至少一个标识列。 A value. If true, the table has a bigint identity column. If false, the table has no bigint identity columns. 获取表是否定义列集。 A value. If true, the table has at least one column set. If false, the table does not have a column set. 获取表是否具有至少一个全局唯一标识符列。 A value. If true, the table has a globally unique identifier column. If false, the table has no globally unique identifier columns. 获取表是否具有 hierarchyid 类型列。 A value. If true, the table has at least one hierarchyid column. If false, the table does not have a hierarchyid column. 获取表是否具有至少一个标识列。 A value. If true, the table has an identity column. If false, the table has no identity columns. 获取表是否具有含 NOT FOR REPLICATION 选项集的标识列。 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. 获取不精确的计算列是否用作主键的一部分。 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. 获取表是否具有主键。 A value. If true, the table has primary key. If false, the table has no primary key. 获取在名为 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. 获取表是否具有含 SPARSE 属性的列。 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. 获取表是否具有 sql_variant 类型列。 A value. If true, the table has at least one sql_variant column. If false, the table does not have a sql_variant column. 获取表是否具有 timestamp 类型列。 A value. If true, the table has at least one timestamp column. If false, the table does not have a timestamp column. 获取或设置表的名称。 A value. 获取或设置表所有者的名称。 A value. 获取表是否在合并发布中发布。 A value. If true, the table is published in a merge publication. If false, the table is not published in a merge publication. 获取表是否在对等事务复制拓扑中发布。 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. 获取表是否由支持排队更新订阅的发布来发布。 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. 获取表的对象 ID。 An value. 表示用户定义聚合函数并且包含复制所需的信息。 创建 类的新实例。 获取或设置用户定义聚合函数的名称。 A value. 获取或设置用户定义聚合函数的所有者。 A value. 获取或设置允许用户将他们自己的数据附加到此对象的对象。 An that contains user data. The data is only valid for the lifetime of the object. 表示用户定义函数并且包含复制所需的信息。 创建 类的新实例。 获取或设置是否通过加密创建引用的用户定义函数。 A value. If true, the user-defined function was created with encryption. If false, the user-defined function was not created with encryption. 获取或设置用户定义函数对象的名称。 A value. 获取或设置用户定义函数的所有者。 A value. 获取或设置允许用户将他们自己的数据附加到此对象的对象。 An that contains user data. The data is only valid for the lifetime of the object. 表示复制所要求的视图对象的有关信息。 创建 类的新实例。 获取或设置是否通过加密创建引用的视图。 A value. If true, the view was created with encryption. If false, the view was not created with encryption. 获取或设置视图对象的名称。 A value. 获取或设置视图的所有者。 A value. 获取或设置允许用户将他们自己的数据附加到此对象的对象。 An that contains user data. The data is only valid for the lifetime of the object. 枚举支持的复制阈值监视器警告值。 对事务发布或快照发布的订阅到期。自上次同步以来的时间超出到期阈值(以小时为单位的保持期的百分比)。 合并代理在慢速连接(例如拨号网络)中完成一次合并运行所用的时间超出慢速链接合并运行阈值。 快速连接(例如局域网)中的合并传送速率超出快速链接合并运行速度阈值。 将数据从事务发布服务器(提交)复制到订阅服务器(提交)所用的时间超出滞后时间阈值。 对事务发布或快照发布的订阅到期。自上次同步以来的时间超出到期阈值(以小时为单位的保持期的百分比)。 没有任何项超出阈值,或者未定义阈值。 合并代理在慢速连接(例如拨号网络)中完成一次合并运行所用的时间超出慢速链接合并运行阈值。 慢速连接(例如拨号网络)中的合并传送速率超出慢速链接合并运行速度阈值。 枚举指定在重新同步合并订阅时要应用的更改的值。 使用自给定日期和时间后的所有更改重新同步订阅。 使用自上次应用快照后的所有更改重新同步订阅。 使用自上次成功验证后的所有更改重新同步订阅。 枚举用于指定保持期的单位的值。 按天指定保持期。 按月指定保持期。 按周指定保持期。 按年指定保持期。 枚举用来设置复制计划的常量值。 没有结束日期。 没有结束时间。 枚举为特定计划频率指定较小计划单位的值。 计划反映使用小时作为单位安排的活动。 计划反映使用分钟作为单位安排的活动。 计划反映在计划的时间单位发生一次的活动。 计划反映使用秒作为单位安排的活动。 子单位对该计划活动无效。 要测试计划有效性的掩码。 枚举在计划复制代理作业时使用的频率的类型。 在 Microsoft SQL Server 代理服务开始时启动复制代理作业。 复制代理作业每天运行。 复制代理作业每月运行。 复制代理作业相对于一个月的某一部分(如第二个星期)运行。 Microsoft SQL Server 代理服务计划在明确请求复制代理作业时运行它。 Microsoft SQL Server 代理服务在处理器处于空闲状态时的任何时间运行复制代理作业。 没有计划的频率,或者频率不适用。 复制代理作业每周运行。 枚举表示相对于 的复制代理计划的频率的值。 该事件在第一个子单位上发生。 该事件在第四个子单位上发生。 该事件在最后一个子单位上发生。 该事件在第二个子单位上发生。 该事件在第三个子单位上发生。 不进行相对计划,或者相对计划不适用。 所有有效的相对计划单位值的掩码。 枚举用于生成脚本的选项,这些脚本用于创建或删除复制对象。 指定生成的脚本用于创建复制对象。 指定该脚本用于删除复制对象。 指定该脚本是一个删除脚本,它禁用数据库上的发布并删除发布所需的任何代理作业。 指定该脚本是一个创建脚本,它启用数据库上的发布并创建发布所需的任何代理作业。 指定该脚本包括对分发服务器定义的所有用户定义的复制代理配置文件。 指定该脚本包括可存在的所有可能的复制对象,该值等效于设置所有 值。 指定该脚本包括项目。 指定该脚本包括任何用户定义的数据类型映射。在启用 选项后仅对于非 SQL Server 发布服务器支持此选项。仅在 SQL Server 2005 和更高版本中支持此选项。 指定该脚本包括分发代理作业。 指定该脚本包括日志读取器代理作业。 指定该脚本包括合并代理作业。 指定该脚本包括队列读取器代理作业。 指定该脚本包括快照代理作业。 指定该脚本禁用数据库上的发布并删除发布所需的任何代理作业。 指定该脚本包括发布服务器。 指定该脚本启用数据库上的发布并创建发布所需的任何代理作业。 指定该脚本在批处理的末尾包括 GO 命令。 指定该脚本在分发服务器上安装发布对象。 指定该脚本包括具有参数化行筛选器的合并发布的任何现有分区快照作业的定义。仅在 Microsoft SQL Server 2000 和更高版本中支持此选项。 指定该脚本包括为合并发布定义的所有联接筛选器的定义。 指定该脚本包括具有参数化行筛选器的合并发布的任何现有分区的定义。仅在 Microsoft SQL Server 2005 和更高版本中支持此选项。 指定该脚本包括将合并发布的状态设置为活动状态。仅在 SQL Server 2005 和更高版本中支持此选项。 指定该脚本包括对事务发布的订阅,这些事务发布不订阅发布中的所有项目。 指定该脚本包括添加到发布访问列表 (PAL) 的所有登录名。只有发布创建脚本才支持此选项。删除发布将自动删除该 PAL。 指定该脚本包括发布。 指定该脚本包括位于发布服务器的所有订阅的注册。 指定该脚本包括所有请求订阅。 指定该脚本包括位于发布服务器的所有订阅服务器的注册。 指定该脚本包括由复制创建的所有 SQL Server 代理作业的定义。仅在 SQL Server 2005 和更高版本中支持此选项。 指定该脚本在分发服务器上卸载发布对象。 指定在分发服务器上安装发布对象的创建脚本。 清除所有脚本选项。 指定在分发服务器上卸载发布对象的删除脚本。 枚举表示发布的状态的值。 该发布处于活动状态。发布数据可用于订阅服务器。 该发布处于非活动状态。发布数据不可用于订阅服务器。 返回有关订阅的信息。 创建 类的新实例。 获取或设置上次运行同步代理的状态信息。 A object. 获取或设置同步过程中最后的代理摘要消息。 A value. 获取或设置上次运行同步代理的日期和时间。 A value that represents and date and time value. 获取或设置发布数据库的名称。 A value. 获取或设置该订阅要订阅的发布的名称。 A value. 获取或设置发布服务器的名称。 A value. 获取或设置订阅数据库的名称。 A value. 获取或设置订阅类型。 A value. 获取或设置该订阅要订阅的发布的类型。 A value. 获取或设置用于更新对事务发布的订阅的更新模式。 A value. 获取或设置允许用户将他们自己的数据附加到此对象的对象属性。 An that contains the user data. The data is only valid for the lifetime of the object. 枚举可以是发布的订阅服务器的数据源的类型。 使用 ODBC 且没有数据源名称的 Microsoft Jet 3.5 版。 ODBC 数据源。 始终作为 Microsoft SQL Server 链接服务器的 OLE DB 访问接口或 Jet 4.0 版数据库。 SQL Server 实例。 枚举在包含客户端订阅的订阅服务器上进行的更新的合并项目选项。 无限制。将订阅服务器上所做的更改上载到发布服务器。 允许在订阅服务器上进行更改,但不将更改上载到发布服务器。 不允许在订阅服务器上进行更改。 表示发布服务器上用于订阅合并或事务发布的信息。 是派生 类和 类的基类。 创建 类的新实例。 在发布服务器上创建订阅注册。 删除发布服务器上的订阅注册,并删除订阅服务器上用于推送订阅的复制对象。 返回可用于创建或删除订阅的 Transact-SQL 脚本。 A value that contains the Transact-SQL script. A value that specifies the scripting options. 获取用来同步订阅的代理作业的 ID。 A value. 获取或设置同步代理是否在创建代理作业的计算机之外的计算机上运行。不再支持将此属性用于运行 Microsoft SQL Server 2005 及更高版本的分发服务器。 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. 获取或设置使用远程代理激活时代理运行于其上的远程计算机的名称。 A value. 获取用于同步订阅的代理作业的计划。 A object that represents the schedule for the subscription. 获取或设置默认情况下是否创建用于同步订阅的代理作业。 A value. If true, the agent job is created. If false, the agent job is not created. 获取或设置发布数据库的名称。 A value. 指定能否使用 Microsoft Windows 同步管理器同步订阅。 A value that is always false, even when an existing subscription is enabled to use Windows Synchronization Manager. 获取分配给现有订阅的名称。 A value in the format <>:<>. 获取或设置该订阅要订阅的发布的名称。 A value. 获取订阅的状态。 A object specifies the status of the subscription. 获取或设置作为订阅服务器的 Microsoft SQL Server 的实例的名称。 A value. 获取连接订阅服务器所使用的安全上下文。 A object. 获取或设置订阅服务器上接收所复制数据的数据库的名称。 A string value that specifies the name of subscription database. 获取该订阅注册是用于推送订阅还是请求订阅。 A value. If , the subscription is a push subscription. 获取或设置创建用来同步订阅的代理作业的名称。 A value. 获取用于指定运行同步代理作业以同步订阅所使用 Microsoft Windows 帐户的安全上下文。 An object that represents a Windows account. 获取或设置初始化订阅的方式。 A value. 枚举可用于初始化订阅的备份设备。 磁盘驱动器备份设备。 逻辑驱动器备份设备。 磁带驱动器备份设备。 表示从备份初始化订阅所需的信息。 创建 类的新实例。 获取或设置用于初始化订阅的备份设备的名称。 A value. 获取或设置用于初始化订阅的备份设备的类型。 A value. 获取或设置备份设备上的文件号提示。 An value. 获取或设置访问备份设备上的介质集所需的密码。 A value. 获取或设置访问备份设备所需的密码。 A value. 获取或设置访问备份设备上的介质集所需的密码(作为 对象)。 A object. 获取或设置访问备份设备所需的密码(作为 对象)。 A object. 获取或设置是否在初始化订阅后卸载备份介质集。 A value. If true, the backup media is unloaded after initialization. If false, the backup media is not unloaded after initialization. 枚举用于返回监视的订阅的选项。 返回所有订阅。 返回具有错误或警告状态的订阅。 返回具有错误状态的订阅。 返回具有警告状态的订阅。 返回当前未在同步的订阅。 返回当前正在同步的订阅。 返回执行情况最差的 25 个订阅。 返回执行情况最差的 50 个订阅。 枚举表示订阅的状态的选项。 此订阅处于活动状态。 此订阅处于非活动状态。 此订阅存在,但尚未应用初始快照。 枚举为订阅执行初始同步的方式的选项。 在应用初始快照时已发布表的架构和初始数据将传输到订阅服务器。 在向对等事务复制拓扑添加节点时使用。和 一起使用,以确保将所有相关事务都复制到新节点。假定订阅服务器已拥有已发布表的架构和初始数据。 从发布数据库的备份获取已发布表的架构和初始数据。此选项假定订阅服务器对发布数据库的备份具有访问权。只有事务发布才支持此选项。备份位置和备份介质类型分别由 指定。在使用此选项时,无需在配置期间停止对等事务复制拓扑。对非 SQL Server 发布的订阅不支持此选项。此选项仅对 SQL Server 2005 和更高版本可用。 订阅服务器已包含发布表的架构和初始数据。合并发布支持此选项。对于事务发布不再推荐此选项。请改用 如果需要,在项目的订阅服务器上自动生成支持更新订阅的自定义存储过程和触发器。只有事务发布才支持此选项。此选项假定订阅服务器已拥有已发布表的架构和初始数据。在配置对等事务复制拓扑时,确保该拓扑中所有节点上的数据都相同。在使用此选项配置对等事务复制时,停止复制拓扑。此选项仅对 SQL Server 2005 和更高版本可用。 表示用于同步合并发布订阅的备用发布服务器。 创建 类的新实例。 获取或设置备用发布服务器的说明。 A value. 获取或设置分发服务器的名称。 A value. 获取或设置此发布服务器是否作为备用同步伙伴启用。 A value. If true, the synchronization partner is enabled. If false, the synchronization partner is not enabled. 获取或设置发布的名称。 A value. 获取或设置发布数据库的名称。 A value. 获取或设置备用发布服务器的名称。 A value. 获取或设置允许用户将他们自己的数据附加到此对象的对象属性。 An that contains user data. The data is only valid for the lifetime of the object. 表示跟踪令牌信息。 创建 类的新实例。 获取或设置在发布服务器上提交跟踪记录的时间。 A value. 获取或设置跟踪令牌的 ID。 An value. 获取或设置允许用户将他们自己的数据附加到此对象的对象属性。 An that specifies user data. The data is only valid for the lifetime of the object. 表示事务发布中的项目。 创建 类的新实例。 使用必需的属性和与 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. 在垂直分区的表项目中包括列。 An array of values that represent the columns to be included in the article. 返回非 SQL Server 发布服务器发布的表项目的列信息。 An of objects. 返回表项目中的已发布列。 An array of values. 从垂直分区的表项目中排除列。 An array of values that represent the columns to be excluded from the article. 返回一个 Transact-SQL 脚本,该脚本用于更改非 SQL Server 发布服务器的列数据映射。 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. 为非 SQL Server 发布服务器设置列数据类型映射。 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. 获取或设置用于存储复制日志信息的 Oracle 表空间的名称。 A value. 获取或设置如何传播项目更改。 A value. 返回默认项目数据类型映射是否用于非 SQL Server 发布服务器。 A value. 获取或设置用于复制删除的命令。 A value that specifies the delete command. 获取或设置用于水平筛选项目的 WHERE 子句。 A that is a WHERE clause. 获取或设置用于水平筛选表的存储过程(使用 FOR REPLICATION 创建)。 A that is a stored procedure name. 获取或设置拥有用于水平对基于表的项目进行分区的存储过程的数据库用户。 A value. 获取或设置用于复制插入的命令。 A value that specifies the insert command. 获取或设置发布项目的非 SQL Server 发布服务器的名称。 A value. 获取或设置提供项目的初始数据快照的数据库对象。 A object that specifies the database object. 获取或设置提供项目的初始数据快照的数据库对象的所有者。 A value that specifies the owner. 获取或设置用于复制更新的命令。 A value that specifies the insert command. 表示 对象的集合。 制作该集合的副本。 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. 按索引号获取集合中的 对象。 A object. An value that specifies the position of the object in the . 按名称获取集合中的 对象。 object. A value that specifies the name of the article. 表示支持排队更新订阅的发布中表项目的返回的冲突信息。 创建 类的新实例。 获取项目的名称。 A value. 获取项目的冲突数据是存储在发布服务器上还是存储在每个订阅服务器上。 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. 获取在此项目的冲突表中存储的冲突行数。 An value. 获取项目的冲突表的名称。 A value. 获取用于检索导致冲突的源数据行的存储过程的名称。 A value. 表示事务发布。 创建 类的新实例。 使用所需的属性创建 类的新实例。 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 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. 返回为特定订阅生成了快照文件的位置的完整路径。 A value that represents a file path. A value that represents the Subscriber name. A value that represents the subscription database name. 将特定订阅的最新快照文件复制到某一目标文件夹。 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. 在发布服务器上注册请求订阅。 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. 将跟踪令牌发布到发布服务器日志,以便开始确定滞后时间的过程。 更新对发布的所有订阅以便包括新添加的所有项目。 将对发布的所有订阅标记为要重新初始化。 将对发布的所有订阅标记为要重新初始化,并且提供使现有快照无效的选项。 Specifies whether an existing snapshot should be invalidated and re-created before subscriptions are reinitialized. 在发布服务器上删除对请求订阅的注册。 A value that represents the name of the Subscriber where the pull subscription exists. A value that represents the subscription database name. 启用或禁用对等拓扑中某一节点的冲突检测。 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 . 为所有订阅调用内联发布验证。 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. 为指定的订阅调用内联发布验证。 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. 获取或设置支持更新订阅的发布的冲突策略。 A value. 确定检测到冲突后分发代理是否继续处理更改。 If true, the Distribution Agent continues to process changes after a conflict is detected. If false, the agent stops. 获取是否通过使用 启用了对等冲突检测。 If true, peer-to-peer conflict detection is enabled. If false, it is not enabled. 获取对等拓扑中某一节点的 ID;在 设置为 true 时该 ID 用于冲突检测。 An integer that specifies a peer originator ID. 获取或设置非 SQL Server 发布服务器的名称。 A value. 获取或设置用于允许排队更新订阅的发布的队列的类型。 A value. 获取该发布的快照文件是否可供使用。 A value. If true, the snapshot files are available. If false, the snapshot files are not available. 表示发布中的项目。 A object. 表示对发布的订阅。 A object. 表示 对象的集合。 制作该集合的副本。 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. 按索引号获取集合中的 对象。 A object. An value that specifies the position of the object in the . 按名称获取集合中的 对象。 A object. A value that specifies the name of the transactional or snapshot publication. 表示对事务发布的请求订阅。 创建 类的新实例。 使用定义请求订阅的属性创建 类的新实例。 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 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. 将请求订阅标记为要重新初始化。 尝试停止当前正在同步订阅的运行中的分发代理作业。 启动代理作业以便同步订阅。 获取或设置订阅所支持的事务发布的属性。 A value. 获取或设置用于可转换订阅的 Data Transformation Services (DTS) 包的位置。 A value. 获取或设置在可转换订阅中使用的 Data Transformation Services (DTS) 包名称。 A value that specifies the name of the DTS package. 设置用于可转换订阅的密码。 获取完成上次同步的日期和时间。 A value. 获取或设置订阅的更新行为。 A object. 获取一个对象,该对象表示可用于同步订阅的分发代理的实例。 A object. 表示 对象的集合。 制作该集合的副本。 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. 按索引号获取集合中的 对象。 A object. An value that specifies the position of the object in the collection. 按唯一定义请求订阅的 属性获取集合中的 对象。 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. 枚举对事务发布订阅的更新行为。 支持对订阅进行立即更新,并将排队更新作为故障转移。可以在订阅服务器上进行数据修改并立即传播到发布服务器。如果发布服务器与订阅服务器未连接在一起,则可以更改更新模式以便将在订阅服务器上所做的数据修改存储在队列中,直到订阅服务器与发布服务器重新连接在一起。不支持 Oracle 发布服务器。 支持立即更新订阅。不支持 Oracle 发布服务器。 支持将订阅作为排队更新订阅,并允许更改为立即更新模式。在订阅服务器和发布服务器之间建立连接之前,可以在订阅服务器上修改数据,并将数据修改存储在队列中。建立起持续连接后,即可将更新模式更改为立即更新。不支持 Oracle 发布服务器。 支持订阅进行排队更新。可以在订阅服务器上进行数据修改,将其存储在队列中,然后传播到发布服务器。不支持 Oracle 发布服务器。 该订阅是只读的。在订阅服务器上所做的更改不会发送到发布服务器。 表示对事务发布或快照发布的推送订阅。 创建 类的新实例。 使用指定的发布、数据库、订阅服务器和订阅数据库以及使用与 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. 将订阅标记为在下一次运行分发代理时重新初始化以便同步订阅。 尝试停止当前正在同步订阅的运行中的分发代理作业。 启动代理作业以便同步订阅。 获取或设置从备份初始化订阅所需的信息。 A object. 获取或设置 Microsoft SQL Server 2000 Data Transformation Services (DTS) 包的位置。 A value that represents a file location of the DTS package. 获取或设置应用于订阅服务器的 Microsoft SQL Server 2000 Data Transformation Services (DTS) 包的名称。 A value. 设置在运行 Microsoft SQL Server 2000 Data Transformation Services (DTS) 包时要使用的密码。 A value. 获取或设置分发代理是否将在订阅服务器上发起的事务发送回订阅服务器。 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. 获取或设置在订阅属于非 SQL Server 发布服务器时该发布服务器的名称。 A value. 设置在运行 Microsoft SQL Server 2000 Data Transformation Services (DTS) 包时要使用的密码(作为 对象)。 A value. 获取或设置要为非 SQL Server 订阅服务器建立与 OLE DB 访问接口的连接时使用的目录。 A value that can be a maximum of 128 Unicode characters. 非 SQL Server 订阅服务器的 OLE DB 访问接口理解的数据源的名称。 A value that can be a maximum of 4000 Unicode characters. 标识作为非 SQL Server 订阅服务器的数据源的类型。 A value. 非 SQL Server 订阅服务器的 OLE DB 访问接口理解的数据库的位置。 A value that can be a maximum of 4000 Unicode characters. 唯一编程标识符 (PROGID),用于注册非 SQL Server 订阅服务器的 OLE DB 访问接口。 A value that can be a maximum of 128 Unicode characters. 特定于 OLE DB 访问接口的连接字符串用于连接到非 SQL Server 订阅服务器的数据源。 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. 获取或设置订阅服务器上的数据更改的更新行为。 A value. 获取可用于同步订阅的 类的实例。 A object. 表示 对象的集合。 制作该集合的副本。 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. 按索引号获取集合中的 对象。 A object. An value that specifies the position of the object in the . 按唯一标识该订阅的 属性获取 中的 对象。 A object. A value that specifies the Subscriber. A value that specifies the subscription database. 枚举事务发布的行计数验证所支持的方法。 尝试快速行计数,但如果该快速方法显示任何差异,则执行完全行计数。 使用 sys.sysindexes 系统表执行快速行计数验证。 使用 COUNT 函数执行完整行计数。 枚举复制支持的数据验证类型。 执行校验和计算。此选项仅在 Microsoft SQL Server 7.0 订阅服务器中受支持。 执行二进制校验和计算。此选项仅在 Microsoft SQL Server 2000 及更高版本的订阅服务器中受支持。 执行行计数计算。 枚举这样的值,它们指定合并代理是否必须在基于组件对象模型 (COM) 的冲突解决程序上验证数字签名,以确定它是否来自可信任的来源。 不执行数字签名验证。 执行数字签名验证。