MergePartition Members

Represents information about a Subscriber's partition for a merge publication with a parameterized row filter.

The following tables list the members exposed by the MergePartition type.

Public Constructors

  名称 Description
MergePartition Creates a new instance of the MergePartition class.

顶部

Public Properties

  名称 Description
ms156376.pubproperty(zh-cn,SQL.90).gif CurrentSnapshotDateTime Gets or sets the date and time when the data snapshot of the partition was generated.
ms156376.pubproperty(zh-cn,SQL.90).gif DynamicFilterHostName Gets or sets the value supplied to the HOST_NAME (Transact-SQL) function to generate the data snapshot, when the parameterized row filter is defined using this function.
ms156376.pubproperty(zh-cn,SQL.90).gif DynamicFilterLogin Gets or sets the value supplied to the SUSER_SNAME (Transact-SQL) function to generate the data snapshot, when the parameterized row filter is defined using this function.
ms156376.pubproperty(zh-cn,SQL.90).gif DynamicSnapshotJobId Gets or sets the Microsoft SQL Server Agent job ID, in hexadecimal format, which generates the filtered snapshot for the Subscriber.
ms156376.pubproperty(zh-cn,SQL.90).gif DynamicSnapshotLocation Gets or sets the operating system folder used to store the filtered snapshot generated for the partition.
ms156376.pubproperty(zh-cn,SQL.90).gif PartitionId Gets or sets the ID value that uniquely identifies the partition.
ms156376.pubproperty(zh-cn,SQL.90).gif UserData Gets or sets an object that allows you to attach custom data to this instance of MergePartition.

顶部

Public Methods

(see also Protected Methods )

  名称 Description
ms156376.pubmethod(zh-cn,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms156376.pubmethod(zh-cn,SQL.90).gif GetHashCode  (inherited from Object )
ms156376.pubmethod(zh-cn,SQL.90).gif GetType  (inherited from Object )
ms156376.pubmethod(zh-cn,SQL.90).gifms156376.static(zh-cn,SQL.90).gif ReferenceEquals  (inherited from Object )
ms156376.pubmethod(zh-cn,SQL.90).gif ToString  (inherited from Object )

顶部

Protected Methods

  名称 Description
ms156376.protmethod(zh-cn,SQL.90).gif Finalize  (inherited from Object )
ms156376.protmethod(zh-cn,SQL.90).gif MemberwiseClone  (inherited from Object )

顶部

请参阅

参考

MergePartition Class
Microsoft.SqlServer.Replication Namespace
AddMergePartition
RemoveMergePartition
ScriptMergePartition

其他资源

How to: Create a Snapshot for a Merge Publication with Parameterized Filters (RMO Programming)
How to: Manage Partitions for a Merge Publication with Parameterized Filters (RMO Programming)
参数化行筛选器