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
- 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.