Partilhar via


Método ISqlServerRoleMembership.GetRoleRelationship

Retorna um IModelSingleRelationship entre this e associado ISqlServerRole.

Namespace:  Microsoft.Data.Schema.Sql.SchemaModel
Assembly:  Microsoft.Data.Schema.Sql (em Microsoft.Data.Schema.Sql.dll)

Sintaxe

'Declaração
Function GetRoleRelationship As IModelSingleRelationship(Of ISqlServerRoleMembership, ISqlServerRole)
IModelSingleRelationship<ISqlServerRoleMembership, ISqlServerRole> GetRoleRelationship()
IModelSingleRelationship<ISqlServerRoleMembership^, ISqlServerRole^>^ GetRoleRelationship()
abstract GetRoleRelationship : unit -> IModelSingleRelationship<ISqlServerRoleMembership, ISqlServerRole> 
function GetRoleRelationship() : IModelSingleRelationship<ISqlServerRoleMembership, ISqlServerRole>

Valor de retorno

Tipo: Microsoft.Data.Schema.SchemaModel.IModelSingleRelationship<ISqlServerRoleMembership, ISqlServerRole>

Segurança do .NET Framework

Consulte também

Referência

ISqlServerRoleMembership Interface

Namespace Microsoft.Data.Schema.Sql.SchemaModel