Compartir a través de


Database Miembros

The Database object represents a SQL Server database.

El tipo Database expone los siguientes miembros.

Constructores

  Nombre Descripción
Método publico Database() () () () Initializes a new instance of the Database class.
Método publico Database(Server, String) Initializes a new instance of the Database class on the specified server and with the specified name.

Principio

Métodos

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

Principio

Campos

  Nombre Descripción
Campo protegido m_ExtendedProperties (Se hereda de SqlSmoObject).

Principio

Propiedades

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

Principio

Eventos

  Nombre Descripción
Evento público PropertyChanged (Se hereda de SqlSmoObject).
Evento público PropertyMetadataChanged (Se hereda de SqlSmoObject).

Principio

Implementaciones de interfaces explícitas

  Nombre Descripción
Implementación de interfaces explícitasMétodo privado IAlienObjectDiscover (Se hereda de SqlSmoObject).
Implementación de interfaces explícitasMétodo privado IAlienObjectGetParent (Se hereda de SqlSmoObject).
Implementación de interfaces explícitasMétodo privado IAlienObjectGetProperty (Se hereda de SqlSmoObject).
Implementación de interfaces explícitasMétodo privado ISfcPropertyProviderGetPropertySet (Se hereda de SqlSmoObject).
Implementación de interfaces explícitasMétodo privado IAlienObjectGetUrn (Se hereda de SqlSmoObject).
Implementación de interfaces explícitasMétodo privado IAlienObjectResolve (Se hereda de SqlSmoObject).
Implementación de interfaces explícitasMétodo privado IAlienObjectSetProperty (Se hereda de SqlSmoObject).

Principio