Export (0) Print
Expand All

RolePayloadOption.Role Property

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)

'Declaration
Public Property Role As DatabaseMirroringEndpointRole 
	Get 
	Set
'Usage
Dim instance As RolePayloadOption 
Dim value As DatabaseMirroringEndpointRole 

value = instance.Role

instance.Role = value

Property Value

Type: Microsoft.SqlServer.TransactSql.ScriptDom.DatabaseMirroringEndpointRole
The database mirroring role or roles that the endpoint supports.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft