Compartilhar via


Classe AlternateSynchronizationPartner

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

Hierarquia de herança

System.Object
  Microsoft.SqlServer.Replication.AlternateSynchronizationPartner

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Replication (em Microsoft.SqlServer.Replication.dll)

Sintaxe

'Declaração
<ComVisibleAttribute(True)> _
<ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch)> _
<GuidAttribute("6ccf35a8-e977-43d3-bdd4-aa499a2dc1eb")> _
Public NotInheritable Class AlternateSynchronizationPartner _
    Implements IAlternateSynchronizationPartner
'Uso
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

O tipo AlternateSynchronizationPartner expõe os membros a seguir.

Construtores

  Nome Descrição
Método público AlternateSynchronizationPartner() Creates an instance of the AlternateSynchronizationPartner class.
Método público AlternateSynchronizationPartner(String, String, String, String, String) Creates an instance of the AlternateSynchronizationPartner class with all required properties.

Início

Propriedades

  Nome Descrição
Propriedade pública Distributor The name of the Distributor.
Propriedade pública FriendlyName A friendly name for the association of Publisher, publication, and Distributor that makes up an alternate synchronization partner
Propriedade pública Publication The name of the publication.
Propriedade pública Publisher The name of the alternate Publisher.
Propriedade pública PublisherDatabase The name of the publication database.

Início

Métodos

  Nome Descrição
Método público Equals (Herdado de Object.)
Método público GetHashCode (Herdado de Object.)
Método público GetType (Herdado de Object.)
Método público ToString (Herdado de Object.)

Início

Comentários

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

Segurança de thread

Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.

Consulte também

Referência

Namespace Microsoft.SqlServer.Replication