Share via


IDatabaseOptions.IsSystemObject Property

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<DisplayDescriptionKeyAttribute("Database_IsSystemObjectDesc")> _
<DisplayNameKeyAttribute("Database_IsSystemObjectName")> _
ReadOnly Property IsSystemObject As Boolean
    Get
'Usage
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

Property Value

Type: 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.