AlternateSynchronizationPartner Class
Represents an alternate Publisher to which a subscription can be synchronized if the primary Publisher is not available.
Inheritance Hierarchy
System.Object
Microsoft.SqlServer.Replication.AlternateSynchronizationPartner
Namespace: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Replication (in Microsoft.SqlServer.Replication.dll)
Syntax
'Declaration
<ComVisibleAttribute(True)> _
<ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch)> _
<GuidAttribute("6ccf35a8-e977-43d3-bdd4-aa499a2dc1eb")> _
Public NotInheritable Class AlternateSynchronizationPartner _
Implements IAlternateSynchronizationPartner
'Usage
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
The AlternateSynchronizationPartner type exposes the following members.
Constructors
Name | Description | |
---|---|---|
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. |
Top
Properties
Name | Description | |
---|---|---|
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. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top
Remarks
The Alternate Synchronization Partners feature for merge replication has been deprecated.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.