Database-Member

The Database object represents a SQL Server database.

Der Database-Typ macht die folgenden Member verfügbar.

Konstruktoren

  Name Beschreibung
Öffentliche Methode Database() () () () Initializes a new instance of the Database class.
Öffentliche Methode Database(Server, String) Initializes a new instance of the Database class on the specified server and with the specified name.

Zum Anfang

Methoden

  Name Beschreibung
Geschützte Methode AddDatabaseContext (Geerbt von SqlSmoObject.)
Öffentliche Methode Alter() () () () Updates any Database object property changes on the instance of SQL Server. 
Öffentliche Methode Alter(TimeSpan) Updates any Database object property changes on the instance of SQL Server. 
Öffentliche Methode Alter(TerminationClause) Updates any Database object property changes on the instance of SQL Server. 
Geschützte Methode AlterImpl (Geerbt von SqlSmoObject.)
Geschützte Methode AlterImplFinish (Geerbt von SqlSmoObject.)
Geschützte Methode AlterImplInit (Geerbt von SqlSmoObject.)
Geschützte Methode AlterImplWorker (Geerbt von SqlSmoObject.)
Geschützte Methode AppendCommaText (Geerbt von ScriptNameObjectBase.)
Geschützte Methode AppendWithCommaText (Geerbt von ScriptNameObjectBase.)
Geschützte Methode AppendWithOption (Geerbt von ScriptNameObjectBase.)
Geschützte Methode BindDefaultImpl (Geerbt von SqlSmoObject.)
Geschützte Methode BindRuleImpl (Geerbt von SqlSmoObject.)
Öffentliche Methode ChangeMirroringState Changes the mirroring configuration as specified by the options.
Öffentliche Methode CheckAllocations Scans all pages of the referenced database and tests pages to help ensure integrity.
Öffentliche Methode CheckAllocationsDataOnly Scans all pages of the referenced database and tests only the data to help ensure integrity.
Öffentliche Methode CheckCatalog Tests the integrity of the database catalog.
Geschützte Methode CheckCollation (Geerbt von SqlSmoObject.)
Öffentliche Methode CheckIdentityValues Verifies the integrity of all identity columns in tables in the database.
Geschützte Methode CheckObjectDirty (Geerbt von ScriptNameObjectBase.)
Geschützte Methode CheckObjectState() () () () Validates the state of the referenced object. (Geerbt von SqlSmoObject.)
Geschützte Methode CheckObjectState(Boolean) Validates the state of the referenced object with the option to specify that an exception is thrown if the object is not yet created. (Geerbt von SqlSmoObject.)
Geschützte Methode CheckObjectStateImpl (Geerbt von SqlSmoObject.)
Öffentliche Methode Checkpoint Issues a checkpoint.
Öffentliche Methode CheckTables(RepairType)
Öffentliche Methode CheckTables(RepairType, RepairOptions)
Öffentliche Methode CheckTables(RepairType, RepairStructure)
Öffentliche Methode CheckTables(RepairType, RepairOptions, RepairStructure)
Öffentliche Methode CheckTablesDataOnly() () () () Tests integrity of data in pages that store data for all tables and indexes defined on the tables of the referenced database.
Öffentliche Methode CheckTablesDataOnly(RepairOptions) Tests integrity of data in pages that store data for all tables and indexes defined on the tables of the referenced database, with the specified repair options.
Öffentliche Methode CheckTablesDataOnly(RepairStructure) Tests integrity of data in pages that store data for all tables and indexes defined on the tables of the referenced database with the specified repair structure.
Öffentliche Methode CheckTablesDataOnly(RepairOptions, RepairStructure) Tests integrity of data in pages that store data for all tables and indexes defined on the tables of the referenced database with the specified repair options and repair structure.
Geschützte Methode CheckTextCorectness (Geerbt von ScriptNameObjectBase.)
Geschützte Methode CheckTextModeSupport (Geerbt von ScriptNameObjectBase.)
Geschützte Methode CheckVersion100 (Geerbt von SqlSmoObject.)
Geschützte Methode CheckVersion80 Checks the validity of the object on SQL Server 2000. (Geerbt von SqlSmoObject.)
Geschützte Methode CheckVersion80SP3 Checks the validity of the object on SQL Server 2000 SP3. (Geerbt von SqlSmoObject.)
Geschützte Methode CheckVersion90 Check the validity of the object on SQL Server 2005. (Geerbt von SqlSmoObject.)
Geschützte Methode CheckVersionBelow90 (Geerbt von SqlSmoObject.)
Geschützte Methode CleanObject Cleans the referenced object. (Geerbt von ScriptNameObjectBase.)
Öffentliche Methode Create() () () () Creates a database on the instance of SQL Server as defined by the Database object.
Öffentliche Methode Create(Boolean) Creates a database on the instance of SQL Server as defined by the Database object.
Geschützte Methode CreateImpl (Geerbt von SqlSmoObject.)
Geschützte Methode CreateImplFinish (Geerbt von SqlSmoObject.)
Geschützte Methode CreateImplInit (Geerbt von SqlSmoObject.)
Öffentliche Methode Deny(DatabasePermissionSet, String) Denies the specified set of permissions for the specified grantee on the database.
Öffentliche Methode Deny(DatabasePermissionSet, array<String> [] () [] []) Denies the specified set of permissions for the specified grantees on the database.
Öffentliche Methode Deny(DatabasePermissionSet, String, Boolean) Denies the specified set of permissions for the specified grantee and other users who the grantee granted the specified set of permissions on the database.
Öffentliche Methode Deny(DatabasePermissionSet, array<String> [] () [] [], Boolean) Denies the specified set of permissions for the specified grantees and other users who the grantee granted the specified set of permissions on the database.
Öffentliche Methode DisableAllPlanGuides Disables all Plan Guides in a database.
Öffentliche Methode Discover (Geerbt von SqlSmoObject.)
Öffentliche Methode Drop Drops the database.
Öffentliche Methode DropAllPlanGuides Drops all Plan Guides in a database.
Öffentliche Methode DropBackupHistory Drops the backup history for the database.
Geschützte Methode DropImpl (Geerbt von SqlSmoObject.)
Geschützte Methode DropImplWorker (Geerbt von SqlSmoObject.)
Öffentliche Methode EnableAllPlanGuides Enables all Plan Guides in a database.
Öffentliche Methode EnumBackupSetFiles() () () () Returns a DataTable listing files contained in a backup set.
Öffentliche Methode EnumBackupSetFiles(Int32) Returns a Data table that lists the files in a backup set
Öffentliche Methode EnumBackupSets Returns a DataTable listing the backup sets associated with a database.
Öffentliche Methode EnumCandidateKeys Enumerates a list of all candidate primary keys in the database, which can be referenced by a foreign key.
Öffentliche Methode EnumDatabasePermissions() () () () Enumerates a list of all permissions in the database.
Öffentliche Methode EnumDatabasePermissions(String) Enumerates a list of permissions in the database for the specified user.
Öffentliche Methode EnumDatabasePermissions(DatabasePermissionSet) Enumerates a list of permissions in the database for the specified permission set.
Öffentliche Methode EnumDatabasePermissions(String, DatabasePermissionSet) Enumerates a list of permissions in the database for the specified user and a specified permission set.
Öffentliche Methode EnumLocks() () () () Enumerates a list of all current locks held on the database.
Öffentliche Methode EnumLocks(Int32) Enumerates a list of current locks held on the database for a specified system process ID.
Öffentliche Methode EnumLoginMappings Enumerates a list of SQL Server logins for all the users in the database.
Öffentliche Methode EnumMatchingSPs(String) Enumerates a list of stored procedures that contain the specified string in the definition.
Öffentliche Methode EnumMatchingSPs(String, Boolean) Enumerates a list of stored procedures that contain the specified string in the definition.
Öffentliche Methode EnumObjectPermissions() () () () Enumerates a list of permissions for objects in the database.
Öffentliche Methode EnumObjectPermissions(String) Enumerates a list of permissions for objects in the database that belong to the specified user.
Öffentliche Methode EnumObjectPermissions(ObjectPermissionSet) Enumerates a list of permissions for objects in the database limited to the specified permission set.
Öffentliche Methode EnumObjectPermissions(String, ObjectPermissionSet) Enumerates a list of permissions for objects in the database that belong to the specified user and limited to the specified permission set.
Öffentliche Methode EnumObjects() () () () Enumerates a list of objects in the database.
Öffentliche Methode EnumObjects(DatabaseObjectTypes) Enumerates a list of objects in the database.
Öffentliche Methode EnumObjects(DatabaseObjectTypes, SortOrder) Enumerates a list of objects in the database.
Geschützte Methode EnumScriptImpl (Geerbt von SqlSmoObject.)
Geschützte Methode EnumScriptImplWorker (Geerbt von SqlSmoObject.)
Öffentliche Methode EnumTransactions() () () () Enumerates a list of open transactions on the database.
Öffentliche Methode EnumTransactions(TransactionTypes) Enumerates a list of open transactions of a specified type on the database.
Öffentliche Methode EnumWindowsGroups() () () () Enumerates a list of Windows groups.
Öffentliche Methode EnumWindowsGroups(String) Enumerates a list of Windows groups for a specified group.
Öffentliche Methode Equals (Geerbt von Object.)
Öffentliche Methode ExecuteNonQuery(StringCollection) Executes a batch in the context of the database where there are no results returned.
Öffentliche Methode ExecuteNonQuery(String) Executes a statement in the context of the database where there are no results returned.
Öffentliche Methode ExecuteNonQuery(StringCollection, ExecutionTypes) Runs a collection of batches in the context of the database where there are no results returned for the specified execution type only.
Öffentliche Methode ExecuteNonQuery(String, ExecutionTypes) Executes a batch in the context of the database where there are no results returned for the specified execution type only.
Öffentliche Methode ExecuteWithResults(StringCollection) Executes a batch in the context of the database where there are results returned.
Öffentliche Methode ExecuteWithResults(String) Executes a collection of batches in the context of the database where there are results returned.
Geschützte Methode Finalize (Geerbt von Object.)
Geschützte Methode ForceTextModeOnTextBody Enforces text mode on the text body. (Geerbt von ScriptNameObjectBase.)
Geschützte Methode FormatSqlVariant (Geerbt von SqlSmoObject.)
Geschützte Methode GenerateDataSpaceFileStreamScript (Geerbt von SqlSmoObject.)
Geschützte Methode GenerateDataSpaceScript (Geerbt von SqlSmoObject.)
Geschützte Methode GetBindDefaultScript (Geerbt von SqlSmoObject.)
Geschützte Methode GetBindRuleScript (Geerbt von SqlSmoObject.)
Geschützte Methode GetBoolParameter(StringBuilder, ScriptingOptions, String, String, Int32%) (Geerbt von SqlSmoObject.)
Geschützte Methode GetBoolParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean) (Geerbt von SqlSmoObject.)
Geschützte Methode GetBraketNameForText (Geerbt von ScriptNameObjectBase.)
Geschützte Methode GetDateTimeParameter (Geerbt von SqlSmoObject.)
Geschützte Methode GetDateTimeParameterAsInt (Geerbt von SqlSmoObject.)
Geschützte Methode GetDBName Gets the database name that is associated with the object. (Geerbt von SqlSmoObject.)
Geschützte Methode GetEnumParameter (Geerbt von SqlSmoObject.)
Geschützte Methode GetFragOptionString (Geerbt von SqlSmoObject.)
Geschützte Methode GetGuidParameter (Geerbt von SqlSmoObject.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Geschützte Methode GetIsTextDirty Determines whether the text value is consistent with stored value. (Geerbt von ScriptNameObjectBase.)
Geschützte Methode GetParameter(StringBuilder, ScriptingOptions, String, String, Int32%) (Geerbt von SqlSmoObject.)
Geschützte Methode GetParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean) (Geerbt von SqlSmoObject.)
Geschützte Methode GetPropValue (Geerbt von SqlSmoObject.)
Geschützte Methode GetPropValueOptional (Geerbt von SqlSmoObject.)
Geschützte Methode GetPropValueOptionalAllowNull (Geerbt von SqlSmoObject.)
Geschützte Methode GetRealValue (Geerbt von SqlSmoObject.)
Geschützte Methode GetScriptIncludeExists (Geerbt von ScriptNameObjectBase.)
Geschützte Methode GetScriptingOptionsForCreate (Geerbt von SqlSmoObject.)
Geschützte Methode GetServerName Gets the name of the instance of SQL Server with which the object is associated. (Geerbt von SqlSmoObject.)
Geschützte Methode GetServerObject (Geerbt von SqlSmoObject.)
Geschützte Methode GetSqlServerVersionName Gets the version name of the instance of SQL Server with which the object is associated. (Geerbt von SqlSmoObject.)
Geschützte Methode GetStringParameter(StringBuilder, ScriptingOptions, String, String, Int32%) (Geerbt von SqlSmoObject.)
Geschützte Methode GetStringParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean) (Geerbt von SqlSmoObject.)
Geschützte Methode GetTextBody() () () () Returns the text body. (Geerbt von ScriptNameObjectBase.)
Geschützte Methode GetTextBody(Boolean) Returns the text body. (Geerbt von ScriptNameObjectBase.)
Geschützte Methode GetTextForScript(ScriptingOptions, Boolean, array<String> [] () [] []) Gets the text for scripting. (Geerbt von ScriptNameObjectBase.)
Geschützte Methode GetTextForScript(ScriptingOptions, Boolean, array<String> [] () [] [], Boolean) (Geerbt von ScriptNameObjectBase.)
Geschützte Methode GetTextHeader Returns the text header. (Geerbt von ScriptNameObjectBase.)
Geschützte Methode GetTextMode Determines whether the script name is using text mode. (Geerbt von ScriptNameObjectBase.)
Geschützte Methode GetTextProperty(String) (Geerbt von ScriptNameObjectBase.)
Geschützte Methode GetTextProperty(String, ScriptingOptions) (Geerbt von ScriptNameObjectBase.)
Geschützte Methode GetTimeSpanParameterAsInt (Geerbt von SqlSmoObject.)
Öffentliche Methode GetTransactionCount() () () () Gets the number of open transactions on the database.
Öffentliche Methode GetTransactionCount(TransactionTypes) Gets the number of open transactions of a specified type on the database.
Öffentliche Methode GetType (Geerbt von Object.)
Geschützte Methode GetUrnRecursive(StringBuilder) (Geerbt von SqlSmoObject.)
Geschützte Methode GetUrnRecursive(StringBuilder, UrnIdOption) (Geerbt von SqlSmoObject.)
Öffentliche Methode Grant(DatabasePermissionSet, String) Grants the specified set of permissions to the specified grantee on the database.
Öffentliche Methode Grant(DatabasePermissionSet, array<String> [] () [] []) Grants the specified set of permissions to the specified grantees on the database.
Öffentliche Methode Grant(DatabasePermissionSet, String, Boolean) Grants access to the specified permission to the grantee and the ability to grant access to other users on the database.
Öffentliche Methode Grant(DatabasePermissionSet, array<String> [] () [] [], Boolean) Grants access to the specified permission to the grantees and the ability to grant access to other users on the database.
Öffentliche Methode Grant(DatabasePermissionSet, String, Boolean, String) Grants the specified set of permissions to the grantee and the ability to grant the set of permissions to other users on the database under an assumed role.
Öffentliche Methode Grant(DatabasePermissionSet, array<String> [] () [] [], Boolean, String) Grants the specified set of permissions to the grantees and the ability to grant the set of permissions to other users on the database under an assumed role.
Geschützte Methode ImplInitialize (Geerbt von SqlSmoObject.)
Öffentliche Methode Initialize() () () () Initializes the object and forces the properties be loaded. (Geerbt von SqlSmoObject.)
Öffentliche Methode Initialize(Boolean) Initializes the object and forces the properties be loaded. (Geerbt von SqlSmoObject.)
Öffentliche Methode IsMember Determines whether the specified group or role belongs to the database.
Geschützte Methode IsObjectDirty Determines whether the referenced object is consistent with the stored object. (Geerbt von ScriptNameObjectBase.)
Geschützte Methode IsObjectInitialized Verifies whether the object has been initialized. (Geerbt von SqlSmoObject.)
Geschützte Methode IsObjectInSpace Verifies whether the object is isolated or connected to the instance of SQL Server. (Geerbt von SqlSmoObject.)
Geschützte Methode IsVersion80SP3 (Geerbt von SqlSmoObject.)
Geschützte Methode MarkDropped (Geerbt von SqlSmoObject.)
Geschützte Methode MarkForDropImpl (Geerbt von SqlSmoObject.)
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Geschützte Methode PostAlter (Geerbt von SqlSmoObject.)
Geschützte Methode PostCreate (Geerbt von SqlSmoObject.)
Geschützte Methode PostDrop (Geerbt von SqlSmoObject.)
Öffentliche Methode PrefetchObjects() () () () Prefetches database objects.
Öffentliche Methode PrefetchObjects(Type) Prefetches database objects of a specified type.
Öffentliche Methode PrefetchObjects(Type, ScriptingOptions) Prefetches database objects of a specified type with scripting options.
Öffentliche Methode RecalculateSpaceUsage Recalculates space usage.
Öffentliche Methode Refresh Updates the Database object. (Überschreibt ScriptNameObjectBase. . :: . .Refresh() () () ().)
Öffentliche Methode RemoveFullTextCatalogs Removes full-text catalogs from the database.
Öffentliche Methode Rename Renames the database.
Geschützte Methode RenameImpl This method supports the SMO infrastructure and is not intended to be used directly from your code. (Geerbt von NamedSmoObject.)
Geschützte Methode RenameImplWorker This method supports the SMO infrastructure and is not intended to be used directly from your code. (Geerbt von NamedSmoObject.)
Öffentliche Methode Revoke(DatabasePermissionSet, String) Revokes a previously granted set of permissions from a grantee on the database.
Öffentliche Methode Revoke(DatabasePermissionSet, array<String> [] () [] []) Revokes a previously granted set of permissions from a list of grantees on the database.
Öffentliche Methode Revoke(DatabasePermissionSet, String, Boolean, Boolean) Revokes previously granted permissions from a grantee on the database and any other users to whom the grantee has granted the specified set of permissions. The grantee is also given the ability to revoke the specified set of permissions from other users under an assumed role.
Öffentliche Methode Revoke(DatabasePermissionSet, array<String> [] () [] [], Boolean, Boolean) Revokes previously granted permissions from grantees on the database and any other users to whom the grantees have granted the specified set of permissions. The grantees are also given the ability to revoke the specified set of permissions from other users under an assumed role.
Öffentliche Methode Revoke(DatabasePermissionSet, String, Boolean, Boolean, String) Revokes previously granted permissions from a grantee on the database and any other users to whom the grantee has granted the specified set of permissions. The grantee is also given the ability to revoke the specified set of permissions from other users under an assumed role.
Öffentliche Methode Revoke(DatabasePermissionSet, array<String> [] () [] [], Boolean, Boolean, String) Revokes previously granted permissions from grantees on the database and any other users to whom the grantees have granted the specified set of permissions. The grantees are also given the ability to revoke the specified set of permissions from other users under an assumed role.
Öffentliche Methode Script() () () () Generates a Transact-SQL script that can be used to re-create the database.
Öffentliche Methode Script(ScriptingOptions) Generates a Transact-SQL script that can be used to re-create the database as specified by the script options.
Geschützte Methode ScriptAlter (Geerbt von SqlSmoObject.)
Geschützte Methode ScriptAnsiQI (Geerbt von ScriptNameObjectBase.)
Geschützte Methode ScriptChangeOwner This method supports the SMO infrastructure and is not intended to be used directly from your code. (Geerbt von NamedSmoObject.)
Geschützte Methode ScriptCreate (Geerbt von SqlSmoObject.)
Geschützte Methode ScriptDdl (Geerbt von SqlSmoObject.)
Geschützte Methode ScriptDrop (Geerbt von SqlSmoObject.)
Geschützte Methode ScriptImpl() () () () (Geerbt von SqlSmoObject.)
Geschützte Methode ScriptImpl(ScriptingOptions) (Geerbt von SqlSmoObject.)
Geschützte Methode ScriptImplWorker (Geerbt von SqlSmoObject.)
Geschützte Methode ScriptInformativeHeaders (Geerbt von ScriptNameObjectBase.)
Geschützte Methode ScriptRename This method supports the SMO infrastructure and is not intended to be used directly from your code. (Geerbt von NamedSmoObject.)
Geschützte Methode SetCollectionTextMode Sets the collection text mode. (Geerbt von ScriptNameObjectBase.)
Öffentliche Methode SetDefaultFileGroup Sets the default file group for the database.
Öffentliche Methode SetDefaultFileStreamFileGroup Sets the default filestream group.
Öffentliche Methode SetDefaultFullTextCatalog Sets the default full-text catalog for the database.
Öffentliche Methode SetOffline Sets the database offline.
Öffentliche Methode SetOnline Sets the database online.
Öffentliche Methode SetOwner(String) Sets the database owner.
Öffentliche Methode SetOwner(String, Boolean) Sets the database owner.
Geschützte Methode SetParentImpl (Geerbt von SqlSmoObject.)
Öffentliche Methode SetSnapshotIsolation Sets the snapshot isolation level.
Geschützte Methode SetTextBody Specifies the text body. (Geerbt von ScriptNameObjectBase.)
Geschützte Methode SetTextHeader Specifies the text header. (Geerbt von ScriptNameObjectBase.)
Geschützte Methode SetTextMode Specifies the text mode. (Geerbt von ScriptNameObjectBase.)
Öffentliche Methode Shrink Shrinks the database.
Geschützte Methode SwitchTextMode Switches the text mode. (Geerbt von ScriptNameObjectBase.)
Geschützte Methode ThrowIfTextIsDirtyForAlter (Geerbt von ScriptNameObjectBase.)
Öffentliche Methode ToString Returns a String that represents the referenced object. (Geerbt von SqlSmoObject.)
Geschützte Methode TouchImpl (Geerbt von SqlSmoObject.)
Öffentliche Methode TruncateLog Truncates the database log.
Geschützte Methode UnbindDefaultImpl (Geerbt von SqlSmoObject.)
Geschützte Methode UnbindRuleImpl (Geerbt von SqlSmoObject.)
Öffentliche Methode UpdateIndexStatistics Updates index statistics.
Öffentliche Methode Validate (Geerbt von SmoObjectBase.)
Öffentliche Methode ValidateAllPlanGuides() () () () Verifies the validity of the execution plans associated with the database.
Öffentliche Methode ValidateAllPlanGuides(DataTable%)

Zum Anfang

Felder

  Name Beschreibung
Geschütztes Feld m_ExtendedProperties (Geerbt von SqlSmoObject.)

Zum Anfang

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft ActiveConnections Gets the number of active connections to the database.
Öffentliche Eigenschaft ActiveDirectory Gets the information about the Active Directory settings for the database.
Öffentliche Eigenschaft AnsiNullDefault Gets or sets AnsiNullDefault Property.
Öffentliche Eigenschaft AnsiNullsEnabled Gets or sets the Boolean ANSI_NULLS_ENABLED property value.
Öffentliche Eigenschaft AnsiPaddingEnabled Gets or sets the ANSI_PADDING_ENABLED database option is enabled.
Öffentliche Eigenschaft AnsiWarningsEnabled Gets or sets the Boolean ANSI_WARNING_ENABLED property value.
Öffentliche Eigenschaft ApplicationRoles Represents a collection of ApplicationRole objects. Each ApplicationRole object represents an application role defined on the database.
Öffentliche Eigenschaft ArithmeticAbortEnabled Gets or sets the ARITHMETICABORT property value.
Öffentliche Eigenschaft Assemblies Represents a collection of SqlAssembly objects. Each SqlAssembly object represents an assembly defined on the database.
Öffentliche Eigenschaft AsymmetricKeys Represents a collection of AsymmetricKey objects. Each AsymmetricKey object represents an asymmetric key defined on the database.
Öffentliche Eigenschaft AutoClose Gets or sets the AUTOCLOSE database option is set.
Öffentliche Eigenschaft AutoCreateStatisticsEnabled Gets a Boolean property value that specifies whether statistics are automatically created for the database.
Öffentliche Eigenschaft AutoShrink Gets or sets the AUTO_SHRINK database option.
Öffentliche Eigenschaft AutoUpdateStatisticsAsync Gets or sets a property value that specifies whether the AUTOUPDATESTATISTICSASYNC database option is active.
Öffentliche Eigenschaft AutoUpdateStatisticsEnabled Gets a Boolean property value that specifies whether statistics are automatically updated for the database.
Öffentliche Eigenschaft BrokerEnabled Gets or sets a property value that specifies whether the Service Broker service is enabled.
Öffentliche Eigenschaft CaseSensitive Gets a Boolean property value that specifies whether uppercase letters and lowercase letters are evaluated as equal.
Öffentliche Eigenschaft Certificates Represents a collection of Certificate objects. Each Certificate object represents a certificate defined on the database.
Öffentliche Eigenschaft ChangeTrackingAutoCleanUp Gets or sets a Boolean property value that specifies whether the CHANGE_TRACKING_AUTO_CLEANUP OPTION is enabled.
Öffentliche Eigenschaft ChangeTrackingEnabled Gets or sets a property value that specifies whether the CHANGE_TRACKING_VALUE option is enabled
Öffentliche Eigenschaft ChangeTrackingRetentionPeriod Gets or sets the CHANGE_TRACKING_RETENTION_PERIOD value.
Öffentliche Eigenschaft ChangeTrackingRetentionPeriodUnits Gets or sets the unit type for a retention period value.
Öffentliche Eigenschaft CloseCursorsOnCommitEnabled Gets or sets a value that specifies whether the CURSOR_CLOSE_ON_COMMIT database option is active.
Öffentliche Eigenschaft Collation Gets or sets the default collation used by the database.
Öffentliche Eigenschaft CompatibilityLevel Gets or sets the compatibility level for the database.
Öffentliche Eigenschaft ConcatenateNullYieldsNull Gets or sets a property value that specifies whether the CONCAT_NULL_YIELDS_NULL database option is active.
Öffentliche Eigenschaft CreateDate Gets the date that the database was created.
Öffentliche Eigenschaft DatabaseAuditSpecifications Represents a collection of DatabaseAuditSpecification objects. Each DatabaseAuditSpecification object represents an database audit specification defined on the server.
Öffentliche Eigenschaft DatabaseEncryptionKey Gets a DataBaseEncryptionKey datatype.
Öffentliche Eigenschaft DatabaseGuid Gets the Guid value that uniquely identifies the database.
Öffentliche Eigenschaft DatabaseOptions Gets the DatabaseOptions object that contains configuration options for the database.
Öffentliche Eigenschaft DatabaseOwnershipChaining Gets or sets a property value that specifies whether the database ownership chaining is active.
Öffentliche Eigenschaft DatabaseSnapshotBaseName Gets the name of the snapshot base for the database.
Öffentliche Eigenschaft DataSpaceUsage Gets the space used by the data in the database.
Öffentliche Eigenschaft DateCorrelationOptimization Gets or sets a property value that specifies whether the date correlation optimization is active.
Öffentliche Eigenschaft DboLogin Gets the Boolean value that specifies whether the current user is logged on as the database owner (DBO).
Öffentliche Eigenschaft DefaultFileGroup Gets the default file group used by the database.
Öffentliche Eigenschaft DefaultFileStreamFileGroup Gets a DefaultFileStreamFileGroup datatype
Öffentliche Eigenschaft DefaultFullTextCatalog Gets the default full-text catalog used by the database.
Öffentliche Eigenschaft Defaults Represents a collection of Default objects. Each Default object represents a default defined on the database.
Öffentliche Eigenschaft DefaultSchema Gets the default schema of the user.
Öffentliche Eigenschaft EncryptionEnabled Gets or sets the ENCRYPTIONENABLED property of a database.
Öffentliche Eigenschaft Events Gets the events associated with the database.
Geschützte Eigenschaft ExecuteForScalar Gets or sets the Boolean property value that specifies whether the object is set to the execute for scalar option. (Geerbt von SqlSmoObject.)
Öffentliche Eigenschaft ExtendedProperties Gets the extended properties of the database.
Öffentliche Eigenschaft ExtendedStoredProcedures Represents a collection of ExtendedStoredProcedure objects. Each ExtendedStoredProcedure object represents an extended stored procedure defined on the database.
Öffentliche Eigenschaft FileGroups Represents a collection of FileGroup objects. Each FileGroup object represents a filegroup defined on the database.
Öffentliche Eigenschaft FullTextCatalogs Represents a collection of FullTextCatalog objects. Each FullTextCatalog object represents a full-text catalog defined on the database.
Öffentliche Eigenschaft FullTextStopLists Represents a collection of FullTextStopList objects. Each FullTextStopList object represents a full text stop list defined on the server.
Öffentliche Eigenschaft HonorBrokerPriority Gets or sets the Boolean value that specifies whether the priority specified by the broker is acknowledged or not.
Öffentliche Eigenschaft ID Gets the database ID value that uniquely identifies the database.
Öffentliche Eigenschaft IndexSpaceUsage Gets the space used by the indexes in the database.
Öffentliche Eigenschaft IsAccessible Gets a Boolean property value that specifies whether the database can be accessed.
Öffentliche Eigenschaft IsDatabaseSnapshot Gets a Boolean property value that specifies whether the database is a snapshot database.
Öffentliche Eigenschaft IsDatabaseSnapshotBase Gets a Boolean property value that specifies whether the database is the base database for a snapshot database.
Öffentliche Eigenschaft IsDbAccessAdmin Gets a Boolean property value that specifies whether the current user is a member of the DbAccessAdmin database role.
Öffentliche Eigenschaft IsDbBackupOperator Gets a Boolean property value that specifies whether the current user is a member of the DbBackupOperator database role.
Öffentliche Eigenschaft IsDbDatareader Gets a Boolean property value that specifies whether the current user is a member of the DbDatareader database role.
Öffentliche Eigenschaft IsDbDatawriter Gets a Boolean property value that specifies whether the current user is a member of the DbDatawriter database role.
Öffentliche Eigenschaft IsDbDdlAdmin Gets a Boolean property value that specifies whether the current user is a member of the DbDdlAdmin database role.
Öffentliche Eigenschaft IsDbDenyDatareader Gets a Boolean property value that specifies whether the current user is a member of the DbDenyDatareader database role.
Öffentliche Eigenschaft IsDbDenyDatawriter Gets a Boolean property value that specifies whether the current member is a member of the DbDenyDatawriter database.
Öffentliche Eigenschaft IsDbOwner Gets a Boolean property value that specifies whether the current user is a member of the DbOwner database role.
Öffentliche Eigenschaft IsDbSecurityAdmin Gets a Boolean property value that specifies whether the current user is a member of the DbSecurityAdmin database role.
Öffentliche Eigenschaft IsFullTextEnabled Gets the Boolean value that specifies whether the database is enabled for full-text search.
Öffentliche Eigenschaft IsMailHost Gets the Boolean value that specifies whether the database is configured as a mail host.
Öffentliche Eigenschaft IsManagementDataWarehouse Gets the Boolean value that specifies whether the database is a management data warehouse.
Öffentliche Eigenschaft IsMirroringEnabled Gets the Boolean value that specifies whether mirroring is enabled on the database.
Öffentliche Eigenschaft IsParameterizationForced Gets or sets a property value that specifies whether parameterization is forced on the database.
Öffentliche Eigenschaft IsReadCommittedSnapshotOn Gets the Boolean value that specifies whether transactions with the read committed isolation level use row versioning.
Öffentliche Eigenschaft IsSystemObject Gets the Boolean value that specifies whether the database is a system object or a user-defined database.
Geschützte Eigenschaft IsTouched Gets the Boolean property value that specifies whether the object properties have been updated but not yet persisted on the server. (Geerbt von SqlSmoObject.)
Öffentliche Eigenschaft IsUpdateable Gets the Boolean value that specifies whether the database can be updated.
Öffentliche Eigenschaft IsVarDecimalStorageFormatEnabled Gets or sets a property value that specifies whether VarDecimal storage is enabled.
Öffentliche Eigenschaft LastBackupDate Gets the date and time when the database was last backed up.
Öffentliche Eigenschaft LastDifferentialBackupDate Gets the date and time when the last differential backup was performed.
Öffentliche Eigenschaft LastLogBackupDate Gets the date and time when the transaction log was last backed up.
Öffentliche Eigenschaft LocalCursorsDefault Gets the Boolean value that specifies whether the local server cursors are used by default.
Öffentliche Eigenschaft LogFiles Represents a collection of LogFile objects. Each LogFile object represents a log file defined on the database.
Öffentliche Eigenschaft LogReuseWaitStatus Gets the type of operation on which the reuse of transaction log space is waiting.
Öffentliche Eigenschaft MasterKey Gets the master key that is used to encrypt the private keys of certificates.
Öffentliche Eigenschaft MirroringFailoverLogSequenceNumber Gets the log sequence number at last failover.
Öffentliche Eigenschaft MirroringID Gets the ID value that uniquely identifies the mirroring partnership.
Öffentliche Eigenschaft MirroringPartner Gets or sets the address of the Database Engine (Datenbankmodul) instance that is the partner server for database mirroring.
Öffentliche Eigenschaft MirroringPartnerInstance Gets the instance of SQL Server on which the mirroring partner is configured.
Öffentliche Eigenschaft MirroringRedoQueueMaxSize Gets or sets the maximum size of the redo queue of the mirror server instance in KB.
Öffentliche Eigenschaft MirroringRoleSequence Gets the role sequence number for primary/backup roles played by the mirroring partners.
Öffentliche Eigenschaft MirroringSafetyLevel Gets or sets the mirroring safety level.
Öffentliche Eigenschaft MirroringSafetySequence Gets the role sequence number for safety levels for the mirroring partners.
Öffentliche Eigenschaft MirroringStatus Gets the status of the database and the database mirroring session.
Öffentliche Eigenschaft MirroringTimeout Gets or sets the maximum time, in seconds, that the principal server instance waits for a PING message from another instance in the mirroring session before assuming the other instance is disconnected.
Öffentliche Eigenschaft MirroringWitness Gets or sets the name of the Database Engine (Datenbankmodul) instance of the database mirroring witness server.
Öffentliche Eigenschaft MirroringWitnessStatus Gets the status of the mirroring witness server.
Öffentliche Eigenschaft Name Gets or sets the name of the object. (Geerbt von NamedSmoObject.)
Öffentliche Eigenschaft NumericRoundAbortEnabled Gets or sets a Boolean property value that specifies whether the NUMERIC_ROUNDABORT database option is active.
Geschützte Eigenschaft ObjectInSpace Gets the Boolean property value that specifies whether the object exists in isolation, or whether it is directly or indirectly connected to the instance of SQL Server. (Geerbt von SqlSmoObject.)
Öffentliche Eigenschaft Owner Gets the database principal that is the owner of the database.
Öffentliche Eigenschaft PageVerify Specifies the type of page integrity check that SQL Server performs when reading database pages.
Öffentliche Eigenschaft Parent Gets the Server object that is the parent of the Database object.
Öffentliche Eigenschaft PartitionFunctions Represents a collection of PartitionFunction objects. Each PartitionFunction object represents a partition function defined on the database.
Öffentliche Eigenschaft PartitionSchemes Represents a collection of PartitionScheme objects. Each PartitionScheme object represents a partition scheme defined on the database.
Öffentliche Eigenschaft PlanGuides Gets Plan Guides associated with a database.
Öffentliche Eigenschaft PrimaryFilePath Gets the path and name of the operating system directory that contains the primary file for the database.
Öffentliche Eigenschaft Properties Gets a collection of Property objects that represent the object properties. (Geerbt von SqlSmoObject.)
Öffentliche Eigenschaft QuotedIdentifiersEnabled Gets or sets a Boolean property value that specifies whether identifiers delimited by double quotation marks (" ") are Transact-SQL reserved keywords or contain characters not usually allowed by the Transact-SQL syntax rules.
Öffentliche Eigenschaft ReadOnly Gets or sets the Boolean property value that specifies whether the database is read-only.
Öffentliche Eigenschaft RecoveryForkGuid Gets the GUID value that specifies the recovery fork on which the database is currently active.
Öffentliche Eigenschaft RecoveryModel Gets or sets the recovery model for the database.
Öffentliche Eigenschaft RecursiveTriggersEnabled Gets or sets the Boolean value that specifies whether recursive triggers are enabled on the database.
Öffentliche Eigenschaft ReplicationOptions Gets the active replication settings for a database,
Öffentliche Eigenschaft Roles Represents a collection of DatabaseRole objects. Each DatabaseRole object represents a role defined on the database.
Öffentliche Eigenschaft Rules Represents a collection of Rule objects. Each Rule object represents a rule defined on the database.
Geschützte Eigenschaft ScalarResult Gets the scalar result for the referenced object. (Geerbt von SqlSmoObject.)
Öffentliche Eigenschaft Schemas Represents a collection of Schema objects. Each Schema object represents a schema defined on the database.
Öffentliche Eigenschaft ServiceBroker Gets the ServiceBroker object that represents the Service Broker.
Öffentliche Eigenschaft ServiceBrokerGuid Gets the Guid object that uniquely identifies the instance of Service Broker.
Öffentliche Eigenschaft Size Gets the size of the database in MB.
Öffentliche Eigenschaft SnapshotIsolationState Gets the snapshot isolation state for the database.
Öffentliche Eigenschaft SpaceAvailable Gets the available space in the database in KB.
Öffentliche Eigenschaft State Gets the state of the referenced object. (Geerbt von SmoObjectBase.)
Öffentliche Eigenschaft Status Gets the database status.
Öffentliche Eigenschaft StoredProcedures Represents a collection of StoredProcedure objects. Each StoredProcedure object represents a stored procedure defined on the database.
Öffentliche Eigenschaft SymmetricKeys Represents a collection of SymmetricKey objects. Each SymmetricKey object represents a symmetric key defined on the database.
Öffentliche Eigenschaft Synonyms Represents a collection of Synonym objects. Each Synonym object represents a synonym defined on the database.
Öffentliche Eigenschaft Tables Represents a collection of Table objects. Each Table object represents a table defined on the database.
Öffentliche Eigenschaft Triggers Represents a collection of DatabaseDdlTrigger objects. Each DatabaseDdlTrigger object represents a trigger defined on the database.
Öffentliche Eigenschaft Trustworthy The TRUSTWORTHY database property is used to indicate whether the instance of SQL Server 2005 trusts the database and the contents within it
Öffentliche Eigenschaft Urn Gets the Uniform Resource Name (URN) address value that uniquely identifies the object. (Geerbt von SqlSmoObject.)
Öffentliche Eigenschaft UserAccess Gets or sets the database user access.
Öffentliche Eigenschaft UserData Gets or sets user-defined data associated with the referenced object. (Geerbt von SmoObjectBase.)
Öffentliche Eigenschaft UserDefinedAggregates Represents a collection of UserDefinedAggregate objects. Each UserDefinedAggregate object represents a user-defined aggregate defined on the database.
Öffentliche Eigenschaft UserDefinedDataTypes Represents a collection of UserDefinedDataType objects. Each UserDefinedDataType object represents a user-defined data type on the database.
Öffentliche Eigenschaft UserDefinedFunctions Represents a collection of UserDefinedFunction objects. Each UserDefinedFunction object represents a user-defined function on the database.
Öffentliche Eigenschaft UserDefinedTableTypes Represents a collection of UserDefinedTableType objects. Each UserDefinedTableType object represents a user-defined table type on the database.
Öffentliche Eigenschaft UserDefinedTypes Represents a collection of UserDefinedType objects. Each UserDefinedType object represents a user-defined type on the database.
Öffentliche Eigenschaft UserName Gets or sets the database user name.
Öffentliche Eigenschaft Users Represents a collection of User objects. Each User object represents a user who is defined on the database.
Öffentliche Eigenschaft Version Gets the version of the instance of SQL Server that was used to create the database.
Öffentliche Eigenschaft Views Represents a collection of View objects. Each View object represents a view defined on the database.
Öffentliche Eigenschaft XmlSchemaCollections Represents a collection of XmlSchemaCollection objects. Each XmlSchemaCollection object represents an XML schema defined on the database.

Zum Anfang

Ereignisse

  Name Beschreibung
Öffentliches Ereignis PropertyChanged (Geerbt von SqlSmoObject.)
Öffentliches Ereignis PropertyMetadataChanged (Geerbt von SqlSmoObject.)

Zum Anfang

Explizite Schnittstellenimplementierungen 

  Name Beschreibung
Explizite SchnittstellenimplementierungPrivate Methode IAlienObjectDiscover (Geerbt von SqlSmoObject.)
Explizite SchnittstellenimplementierungPrivate Methode IAlienObjectGetParent (Geerbt von SqlSmoObject.)
Explizite SchnittstellenimplementierungPrivate Methode IAlienObjectGetProperty (Geerbt von SqlSmoObject.)
Explizite SchnittstellenimplementierungPrivate Methode ISfcPropertyProviderGetPropertySet (Geerbt von SqlSmoObject.)
Explizite SchnittstellenimplementierungPrivate Methode IAlienObjectGetUrn (Geerbt von SqlSmoObject.)
Explizite SchnittstellenimplementierungPrivate Methode IAlienObjectResolve (Geerbt von SqlSmoObject.)
Explizite SchnittstellenimplementierungPrivate Methode IAlienObjectSetProperty (Geerbt von SqlSmoObject.)

Zum Anfang