Поделиться через


Элементы Database

The Database object represents a SQL Server database.

Тип Database предоставляет доступ к следующим элементам.

Конструкторы

  Имя Описание
Открытый метод Database() () () () Initializes a new instance of the Database class.
Открытый метод Database(Server, String) Initializes a new instance of the Database class on the specified server and with the specified name.

В начало

Методы

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

В начало

Поля

  Имя Описание
Защищенное поле m_ExtendedProperties (Наследуется из SqlSmoObject.)

В начало

Свойства

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

В начало

События

  Имя Описание
Открытое событие PropertyChanged (Наследуется из SqlSmoObject.)
Открытое событие PropertyMetadataChanged (Наследуется из SqlSmoObject.)

В начало

Явные реализации интерфейса

  Имя Описание
Явная реализация интерфейсаЗакрытый метод IAlienObjectDiscover (Наследуется из SqlSmoObject.)
Явная реализация интерфейсаЗакрытый метод IAlienObjectGetParent (Наследуется из SqlSmoObject.)
Явная реализация интерфейсаЗакрытый метод IAlienObjectGetProperty (Наследуется из SqlSmoObject.)
Явная реализация интерфейсаЗакрытый метод ISfcPropertyProviderGetPropertySet (Наследуется из SqlSmoObject.)
Явная реализация интерфейсаЗакрытый метод IAlienObjectGetUrn (Наследуется из SqlSmoObject.)
Явная реализация интерфейсаЗакрытый метод IAlienObjectResolve (Наследуется из SqlSmoObject.)
Явная реализация интерфейсаЗакрытый метод IAlienObjectSetProperty (Наследуется из SqlSmoObject.)

В начало