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)
