共用方式為


DatabasePermission.CreateRule 屬性

Gets a permission that can be included in the database permission set.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Shared ReadOnly Property CreateRule As DatabasePermission 
    Get
'用途
Dim value As DatabasePermission 

value = DatabasePermission.CreateRule
public static DatabasePermission CreateRule { get; }
public:
static property DatabasePermission^ CreateRule {
    DatabasePermission^ get ();
}
static member CreateRule : DatabasePermission
static function get CreateRule () : DatabasePermission

屬性值

型別:Microsoft.SqlServer.Management.Smo.DatabasePermission
A DatabasePermission object that represents the CreateRule permission that can be included in the database permission set.

範例

授與、撤銷和拒絕權限

請參閱

參考

DatabasePermission 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

權限 (Database Engine)