ISqlPermissionStatement.GetGrantorRelationship Method

Returns an IModelSingleRelationship between this and the associated ISqlSecurityPrincipal.

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

Syntax

'Declaration
Function GetGrantorRelationship As IModelSingleRelationship(Of ISqlPermissionStatement, ISqlSecurityPrincipal)
IModelSingleRelationship<ISqlPermissionStatement, ISqlSecurityPrincipal> GetGrantorRelationship()
IModelSingleRelationship<ISqlPermissionStatement^, ISqlSecurityPrincipal^>^ GetGrantorRelationship()
abstract GetGrantorRelationship : unit -> IModelSingleRelationship<ISqlPermissionStatement, ISqlSecurityPrincipal> 
function GetGrantorRelationship() : IModelSingleRelationship<ISqlPermissionStatement, ISqlSecurityPrincipal>

Return Value

Type: Microsoft.Data.Schema.SchemaModel.IModelSingleRelationship<ISqlPermissionStatement, ISqlSecurityPrincipal>

.NET Framework Security

See Also

Reference

ISqlPermissionStatement Interface

Microsoft.Data.Schema.Sql.SchemaModel Namespace