Compartir a través de


ServerMirroringRole Propiedad

Gets or sets the server mirroring role.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<SfcPropertyAttribute> _
Public Property ServerMirroringRole As ServerMirroringRole
    Get
    Set
'Uso
Dim instance As DatabaseMirroringPayload
Dim value As ServerMirroringRole

value = instance.ServerMirroringRole

instance.ServerMirroringRole = value
[SfcPropertyAttribute]
public ServerMirroringRole ServerMirroringRole { get; set; }
[SfcPropertyAttribute]
public:
property ServerMirroringRole ServerMirroringRole {
    ServerMirroringRole get ();
    void set (ServerMirroringRole value);
}
[<SfcPropertyAttribute>]
member ServerMirroringRole : ServerMirroringRole with get, set
function get ServerMirroringRole () : ServerMirroringRole
function set ServerMirroringRole (value : ServerMirroringRole)

Valor de la propiedad

Tipo: Microsoft.SqlServer.Management.Smo. . :: . .ServerMirroringRole
A ServerMirroringRole object value that specifies the server mirroring role.