ISqlRoleMembership.GetMemberRelationship Method
Gets a member relationship.
Namespace: Microsoft.Data.Schema.Sql.SchemaModel.SqlServer
Assembly: Microsoft.Data.Schema.Sql (in Microsoft.Data.Schema.Sql.dll)
Syntax
'Declaration
Function GetMemberRelationship As IModelSingleRelationship(Of ISqlRoleMembership, ISqlDatabaseSecurityPrincipal)
'Usage
Dim instance As ISqlRoleMembership
Dim returnValue As IModelSingleRelationship(Of ISqlRoleMembership, ISqlDatabaseSecurityPrincipal)
returnValue = instance.GetMemberRelationship()
IModelSingleRelationship<ISqlRoleMembership, ISqlDatabaseSecurityPrincipal> GetMemberRelationship()
IModelSingleRelationship<ISqlRoleMembership^, ISqlDatabaseSecurityPrincipal^>^ GetMemberRelationship()
function GetMemberRelationship() : IModelSingleRelationship<ISqlRoleMembership, ISqlDatabaseSecurityPrincipal>
abstract GetMemberRelationship : unit -> IModelSingleRelationship<ISqlRoleMembership, ISqlDatabaseSecurityPrincipal>
Return Value
Type: Microsoft.Data.Schema.SchemaModel.IModelSingleRelationship<ISqlRoleMembership, ISqlDatabaseSecurityPrincipal>
Returns a IModelSingleRelationship<TRelating, TRelated> collection.
.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.