ISqlDatabaseSecurityPrincipal.GetRoleMembershipsRelationship Method
Returns an IModelReverseMultiRelationship between this and the associated ISqlRoleMembership.
Namespace: Microsoft.Data.Schema.Sql.SchemaModel
Assembly: Microsoft.Data.Schema.Sql (in Microsoft.Data.Schema.Sql.dll)
Syntax
'Declaration
Function GetRoleMembershipsRelationship As IModelReverseMultiRelationship(Of ISqlDatabaseSecurityPrincipal, ISqlRoleMembership)
IModelReverseMultiRelationship<ISqlDatabaseSecurityPrincipal, ISqlRoleMembership> GetRoleMembershipsRelationship()
IModelReverseMultiRelationship<ISqlDatabaseSecurityPrincipal^, ISqlRoleMembership^>^ GetRoleMembershipsRelationship()
abstract GetRoleMembershipsRelationship : unit -> IModelReverseMultiRelationship<ISqlDatabaseSecurityPrincipal, ISqlRoleMembership>
function GetRoleMembershipsRelationship() : IModelReverseMultiRelationship<ISqlDatabaseSecurityPrincipal, ISqlRoleMembership>
Return Value
Type: Microsoft.Data.Schema.SchemaModel.IModelReverseMultiRelationship<ISqlDatabaseSecurityPrincipal, ISqlRoleMembership>
.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.