Поделиться через


ISqlServerRoleMembership.GetRoleRelationship Method

Returns an IModelSingleRelationship between this and the associated ISqlServerRole.

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

Syntax

'Declaration
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>

Return Value

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

.NET Framework Security

See Also

Reference

ISqlServerRoleMembership Interface

Microsoft.Data.Schema.Sql.SchemaModel Namespace