Share via


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

See Also

Reference

ISqlRoleMembership Interface

ISqlRoleMembership Members

Microsoft.Data.Schema.Sql.SchemaModel.SqlServer Namespace