共用方式為


CreateRole 屬性

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 CreateRole As DatabasePermission
    Get
'用途
Dim value As DatabasePermission

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

屬性值

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