AlternateSynchronizationPartner 类
Represents an alternate Publisher to which a subscription can be synchronized if the primary Publisher is not available.
继承层次结构
System.Object
Microsoft.SqlServer.Replication.AlternateSynchronizationPartner
命名空间: Microsoft.SqlServer.Replication
程序集: Microsoft.SqlServer.Replication(在 Microsoft.SqlServer.Replication.dll 中)
语法
声明
<ComVisibleAttribute(True)> _
<ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch)> _
<GuidAttribute("6ccf35a8-e977-43d3-bdd4-aa499a2dc1eb")> _
Public NotInheritable Class AlternateSynchronizationPartner _
Implements IAlternateSynchronizationPartner
用法
Dim instance As AlternateSynchronizationPartner
[ComVisibleAttribute(true)]
[ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch)]
[GuidAttribute("6ccf35a8-e977-43d3-bdd4-aa499a2dc1eb")]
public sealed class AlternateSynchronizationPartner : IAlternateSynchronizationPartner
[ComVisibleAttribute(true)]
[ClassInterfaceAttribute(ClassInterfaceType::AutoDispatch)]
[GuidAttribute(L"6ccf35a8-e977-43d3-bdd4-aa499a2dc1eb")]
public ref class AlternateSynchronizationPartner sealed : IAlternateSynchronizationPartner
[<SealedAttribute>]
[<ComVisibleAttribute(true)>]
[<ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch)>]
[<GuidAttribute("6ccf35a8-e977-43d3-bdd4-aa499a2dc1eb")>]
type AlternateSynchronizationPartner =
class
interface IAlternateSynchronizationPartner
end
public final class AlternateSynchronizationPartner implements IAlternateSynchronizationPartner
AlternateSynchronizationPartner 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
AlternateSynchronizationPartner() | Creates an instance of the AlternateSynchronizationPartner class. | |
AlternateSynchronizationPartner(String, String, String, String, String) | Creates an instance of the AlternateSynchronizationPartner class with all required properties. |
页首
属性
名称 | 说明 | |
---|---|---|
Distributor | The name of the Distributor. | |
FriendlyName | A friendly name for the association of Publisher, publication, and Distributor that makes up an alternate synchronization partner | |
Publication | The name of the publication. | |
Publisher | The name of the alternate Publisher. | |
PublisherDatabase | The name of the publication database. |
页首
方法
名称 | 说明 | |
---|---|---|
Equals | (从 Object 继承。) | |
GetHashCode | (从 Object 继承。) | |
GetType | (从 Object 继承。) | |
ToString | (从 Object 继承。) |
页首
注释
The Alternate Synchronization Partners feature for merge replication has been deprecated.
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。