Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the database mirroring role or roles that the endpoint supports.
Namespace: Microsoft.Data.Schema.ScriptDom.Sql
Assembly: Microsoft.Data.Schema.ScriptDom.Sql (in Microsoft.Data.Schema.ScriptDom.Sql.dll)
Syntax
'Declaration
Public Property Role As DatabaseMirroringEndpointRole
'Usage
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);
}
public function get Role () : DatabaseMirroringEndpointRole
public function set Role (value : DatabaseMirroringEndpointRole)
Property Value
Type: Microsoft.Data.Schema.ScriptDom.Sql.DatabaseMirroringEndpointRole
Returns a DatabaseMirroringEndpointRole enumeration value.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.