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