Classe AlternateSynchronizationPartner
Represents an alternate Publisher to which a subscription can be synchronized if the primary Publisher is not available.
Hiérarchie d'héritage
System. . :: . .Object
Microsoft.SqlServer.Replication..::..AlternateSynchronizationPartner
Espace de noms : Microsoft.SqlServer.Replication
Assembly : Microsoft.SqlServer.Replication (en Microsoft.SqlServer.Replication.dll)
Syntaxe
'Déclaration
<ComVisibleAttribute(True)> _
<GuidAttribute("6ccf35a8-e977-43d3-bdd4-aa499a2dc1eb")> _
<ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch)> _
Public NotInheritable Class AlternateSynchronizationPartner _
Implements IAlternateSynchronizationPartner
'Utilisation
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
Le type AlternateSynchronizationPartner expose les membres suivants.
Constructeurs
Nom | 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. |
Haut de la page
Propriétés
Nom | 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. |
Haut de la page
Méthodes
Nom | Description | |
---|---|---|
Equals | (hérité de Object.) | |
Finalize | (hérité de Object.) | |
GetHashCode | (hérité de Object.) | |
GetType | (hérité de Object.) | |
MemberwiseClone | (hérité de Object.) | |
ToString | (hérité de Object.) |
Haut de la page
Notes
The Alternate Synchronization Partners feature for merge replication has been deprecated.
Sécurité des threads
Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.