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)
'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.DatabaseMirroringEndpointRoleThe database mirroring role or roles that the endpoint supports.
