共用方式為


IDatabaseOptions.IsSystemObject 屬性

Specifies whether the database is a system object or a user-defined database.

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

語法

'宣告
<DisplayDescriptionKeyAttribute("Database_IsSystemObjectDesc")> _
<DisplayNameKeyAttribute("Database_IsSystemObjectName")> _
ReadOnly Property IsSystemObject As Boolean 
    Get
'用途
Dim instance As IDatabaseOptions 
Dim value As Boolean 

value = instance.IsSystemObject
[DisplayDescriptionKeyAttribute("Database_IsSystemObjectDesc")]
[DisplayNameKeyAttribute("Database_IsSystemObjectName")]
bool IsSystemObject { get; }
[DisplayDescriptionKeyAttribute(L"Database_IsSystemObjectDesc")]
[DisplayNameKeyAttribute(L"Database_IsSystemObjectName")]
property bool IsSystemObject {
    bool get ();
}
[<DisplayDescriptionKeyAttribute("Database_IsSystemObjectDesc")>]
[<DisplayNameKeyAttribute("Database_IsSystemObjectName")>]
abstract IsSystemObject : bool
function get IsSystemObject () : boolean

屬性值

型別:System.Boolean
A Boolean value that indicates whether the database is a system object.If True, the database is a system object. If False, the database is user-defined.

請參閱

參考

IDatabaseOptions 介面

Microsoft.SqlServer.Management.Smo 命名空間