共用方式為


Login.IsSystemObject 屬性

Gets or sets the Boolean property value that specifies whether the SQL Server login account 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 Login 
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 login account is a system object. If True, the login is a system object.If False (default), the login is not a system object.

實作

ILoginOptions.IsSystemObject

範例

管理使用者、角色和登入

請參閱

參考

Login 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

主體 (Database Engine)

CREATE LOGIN (Transact-SQL)