共用方式為


ISqlPermissionStatement.Grantee 屬性

取得或設定正在授與或拒絕使用權限的主體。

命名空間:  Microsoft.Data.Schema.Sql.SchemaModel
組件:  Microsoft.Data.Schema.Sql (在 Microsoft.Data.Schema.Sql.dll 中)

語法

'宣告
Property Grantee As ISqlSecurityPrincipal
    Get
    Set
ISqlSecurityPrincipal Grantee { get; set; }
property ISqlSecurityPrincipal^ Grantee {
    ISqlSecurityPrincipal^ get ();
    void set (ISqlSecurityPrincipal^ value);
}
abstract Grantee : ISqlSecurityPrincipal with get, set
function get Grantee () : ISqlSecurityPrincipal
function set Grantee (value : ISqlSecurityPrincipal)

屬性值

型別:Microsoft.Data.Schema.Sql.SchemaModel.ISqlSecurityPrincipal

.NET Framework 安全性

請參閱

參考

ISqlPermissionStatement 介面

Microsoft.Data.Schema.Sql.SchemaModel 命名空間