Propriété DatabaseMirroringPayload.ServerMirroringRole
Gets or sets the server mirroring role.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property ServerMirroringRole As ServerMirroringRole
Get
Set
'Utilisation
Dim instance As DatabaseMirroringPayload
Dim value As ServerMirroringRole
value = instance.ServerMirroringRole
instance.ServerMirroringRole = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public ServerMirroringRole ServerMirroringRole { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property ServerMirroringRole ServerMirroringRole {
ServerMirroringRole get ();
void set (ServerMirroringRole value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member ServerMirroringRole : ServerMirroringRole with get, set
function get ServerMirroringRole () : ServerMirroringRole
function set ServerMirroringRole (value : ServerMirroringRole)
Valeur de propriété
Type : Microsoft.SqlServer.Management.Smo.ServerMirroringRole
A ServerMirroringRole object value that specifies the server mirroring role.
Exemples
Implémentation de points de terminaison
Voir aussi
Référence
DatabaseMirroringPayload Classe
Espace de noms Microsoft.SqlServer.Management.Smo