Aracılığıyla paylaş


DatabaseMirroringPayload.ServerMirroringRole Özelliği

Alır veya sunucu rolü yansıtma ayarlar.

Ad Alanı:  Microsoft.SqlServer.Management.Smo
Derleme:  Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo içinde.dll)

Sözdizimi

'Bildirim
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property ServerMirroringRole As ServerMirroringRole
    Get
    Set
'Kullanım
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)

Özellik Değeri

Tür: Microsoft.SqlServer.Management.Smo.ServerMirroringRole
A ServerMirroringRole Nesne değeri belirleyen bir sunucu yansıtma rolü.