Freigeben über


AlternateSynchronizationPartner-Klasse

Represents an alternate Publisher to which a subscription can be synchronized if the primary Publisher is not available.

Vererbungshierarchie

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

Der AlternateSynchronizationPartner-Typ macht folgende Elemente verfügbar.

Konstruktoren

  Name Beschreibung
Öffentliche Methode AlternateSynchronizationPartner() Creates an instance of the AlternateSynchronizationPartner class.
Öffentliche Methode AlternateSynchronizationPartner(String, String, String, String, String) Creates an instance of the AlternateSynchronizationPartner class with all required properties.

Zum Anfang

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft Distributor The name of the Distributor.
Öffentliche Eigenschaft FriendlyName A friendly name for the association of Publisher, publication, and Distributor that makes up an alternate synchronization partner
Öffentliche Eigenschaft Publication The name of the publication.
Öffentliche Eigenschaft Publisher The name of the alternate Publisher.
Öffentliche Eigenschaft PublisherDatabase The name of the publication database.

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Equals (Geerbt von Object.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetType (Geerbt von Object.)
Öffentliche Methode ToString (Geerbt von Object.)

Zum Anfang

Hinweise

The Alternate Synchronization Partners feature for merge replication has been deprecated.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.

Siehe auch

Verweis

Microsoft.SqlServer.Replication-Namespace