User.IsSystemObject 属性

Gets the Boolean property that specifies whether the database user is a system object.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase,  _
    "false")> _
Public ReadOnly Property IsSystemObject As Boolean 
    Get
用法
Dim instance As User 
Dim value As Boolean 

value = instance.IsSystemObject
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase, 
    "false")]
public bool IsSystemObject { get; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase, 
    L"false")]
public:
virtual property bool IsSystemObject {
    bool get () sealed;
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase, 
    "false")>]
abstract IsSystemObject : bool
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase, 
    "false")>]
override IsSystemObject : bool
final function get IsSystemObject () : boolean

属性值

类型:System.Boolean
A Boolean value that specifies whether the database user is a system object.If True, the database user is defined as a system object.If False (default), the database user is not defined as a system object.

实现

IUserOptions.IsSystemObject

示例

管理用户、角色和登录名

请参阅

参考

User 类

Microsoft.SqlServer.Management.Smo 命名空间

其他资源

主体(数据库引擎)

CREATE USER (Transact-SQL)