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
Public method AlternateSynchronizationPartner() Creates an instance of the AlternateSynchronizationPartner class.
Public method AlternateSynchronizationPartner(String, String, String, String, String) Creates an instance of the AlternateSynchronizationPartner class with all required properties.

Top

Properties

  Name Description
Public property Distributor The name of the Distributor.
Public property FriendlyName A friendly name for the association of Publisher, publication, and Distributor that makes up an alternate synchronization partner
Public property Publication The name of the publication.
Public property Publisher The name of the alternate Publisher.
Public property PublisherDatabase The name of the publication database.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method 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.

See Also

Reference

Microsoft.SqlServer.Replication Namespace