Condividi tramite


Classe AlternateSynchronizationPartner

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

Gerarchia di ereditarietà

System. . :: . .Object
  Microsoft.SqlServer.Replication..::..AlternateSynchronizationPartner

Spazio dei nomi  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Replication (in Microsoft.SqlServer.Replication.dll)

Sintassi

'Dichiarazione
<ComVisibleAttribute(True)> _
<GuidAttribute("6ccf35a8-e977-43d3-bdd4-aa499a2dc1eb")> _
<ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch)> _
Public NotInheritable Class AlternateSynchronizationPartner _
    Implements IAlternateSynchronizationPartner
'Utilizzo
Dim instance As AlternateSynchronizationPartner
[ComVisibleAttribute(true)]
[GuidAttribute("6ccf35a8-e977-43d3-bdd4-aa499a2dc1eb")]
[ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch)]
public sealed class AlternateSynchronizationPartner : IAlternateSynchronizationPartner
[ComVisibleAttribute(true)]
[GuidAttribute(L"6ccf35a8-e977-43d3-bdd4-aa499a2dc1eb")]
[ClassInterfaceAttribute(ClassInterfaceType::AutoDispatch)]
public ref class AlternateSynchronizationPartner sealed : IAlternateSynchronizationPartner
[<SealedAttribute>]
[<ComVisibleAttribute(true)>]
[<GuidAttribute("6ccf35a8-e977-43d3-bdd4-aa499a2dc1eb")>]
[<ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch)>]
type AlternateSynchronizationPartner =  
    class
        interface IAlternateSynchronizationPartner
    end
public final class AlternateSynchronizationPartner implements IAlternateSynchronizationPartner

Nel tipo AlternateSynchronizationPartner sono esposti i membri seguenti.

Costruttori

  Nome Descrizione
Metodo pubblico AlternateSynchronizationPartner() () () () Creates an instance of the AlternateSynchronizationPartner class.
Metodo pubblico AlternateSynchronizationPartner(String, String, String, String, String) Creates an instance of the AlternateSynchronizationPartner class with all required properties.

In alto

Proprietà

  Nome Descrizione
Proprietà pubblica Distributor The name of the Distributor.
Proprietà pubblica FriendlyName A friendly name for the association of Publisher, publication, and Distributor that makes up an alternate synchronization partner
Proprietà pubblica Publication The name of the publication.
Proprietà pubblica Publisher The name of the alternate Publisher.
Proprietà pubblica PublisherDatabase The name of the publication database.

In alto

Metodi

  Nome Descrizione
Metodo pubblico Equals Ereditato da Object.
Metodo protetto Finalize Ereditato da Object.
Metodo pubblico GetHashCode Ereditato da Object.
Metodo pubblico GetType Ereditato da Object.
Metodo protetto MemberwiseClone Ereditato da Object.
Metodo pubblico ToString Ereditato da Object.

In alto

Osservazioni

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

Protezione dei thread

I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.