Свойство RolePayloadOption.Role

Gets or sets the database mirroring role or roles that the endpoint supports.

Пространство имен:  Microsoft.SqlServer.TransactSql.ScriptDom
Сборка:  Microsoft.SqlServer.TransactSql.ScriptDom (в Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Синтаксис

'Декларация
Public Property Role As DatabaseMirroringEndpointRole 
    Get 
    Set
'Применение
Dim instance As RolePayloadOption 
Dim value As DatabaseMirroringEndpointRole 

value = instance.Role

instance.Role = value
public DatabaseMirroringEndpointRole Role { get; set; }
public:
property DatabaseMirroringEndpointRole Role {
    DatabaseMirroringEndpointRole get ();
    void set (DatabaseMirroringEndpointRole value);
}
member Role : DatabaseMirroringEndpointRole with get, set
function get Role () : DatabaseMirroringEndpointRole 
function set Role (value : DatabaseMirroringEndpointRole)

Значение свойства

Тип: Microsoft.SqlServer.TransactSql.ScriptDom.DatabaseMirroringEndpointRole
The database mirroring role or roles that the endpoint supports.

См. также

Справочник

RolePayloadOption Класс

Пространство имен Microsoft.SqlServer.TransactSql.ScriptDom