RolePayloadOption::Role Property
SQL Server 2012
Gets or sets the database mirroring role or roles that the endpoint supports.
Namespace: Microsoft.SqlServer.TransactSql.ScriptDom
Assembly: Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)
public: property DatabaseMirroringEndpointRole Role { DatabaseMirroringEndpointRole get (); void set (DatabaseMirroringEndpointRole value); }
Property Value
Type: Microsoft.SqlServer.TransactSql.ScriptDom::DatabaseMirroringEndpointRoleThe database mirroring role or roles that the endpoint supports.
