Compartir a través de


Database Members

The Database object represents a Microsoft SQL Server database.

The following tables list the members exposed by the Database type.

Public Constructors

  Nombre Description
Database Overloaded. Initializes a new instance of the Database class.

Arriba

Protected Fields

  Nombre Description
ms219498.protfield(es-es,SQL.90).gif m_ExtendedProperties  (inherited from SqlSmoObject )

Arriba

Public Properties

(see also Protected Properties )

  Nombre Description
ms219498.pubproperty(es-es,SQL.90).gif ActiveConnections Gets the number of active connections to the database.
ms219498.pubproperty(es-es,SQL.90).gif ActiveDirectory Gets the information about the Active Directory settings for the database.
ms219498.pubproperty(es-es,SQL.90).gif ApplicationRoles Represents a collection of ApplicationRole objects. Each ApplicationRole object represents an application role defined on the database.
ms219498.pubproperty(es-es,SQL.90).gif Assemblies Represents a collection of SqlAssembly objects. Each SqlAssembly object represents an assembly defined on the database.
ms219498.pubproperty(es-es,SQL.90).gif AsymmetricKeys Represents a collection of AsymmetricKey objects. Each AsymmetricKey object represents an asymmetric key defined on the database.
ms219498.pubproperty(es-es,SQL.90).gif AutoCreateStatisticsEnabled Gets a Boolean property value that specifies whether statistics are automatically created for the database.
ms219498.pubproperty(es-es,SQL.90).gif AutoUpdateStatisticsEnabled Gets a Boolean property value that specifies whether statistics are automatically updated for the database.
ms219498.pubproperty(es-es,SQL.90).gif CaseSensitive Gets a Boolean property value that specifies whether uppercase letters and lowercase letters are evaluated as equal.
ms219498.pubproperty(es-es,SQL.90).gif Certificates Represents a collection of Certificate objects. Each Certificate object represents a certificate defined on the database.
ms219498.pubproperty(es-es,SQL.90).gif Collation Gets or sets the default collation used by the database.
ms219498.pubproperty(es-es,SQL.90).gif CompatibilityLevel Gets or sets the compatibility level for the database.
ms219498.pubproperty(es-es,SQL.90).gif CreateDate Gets the date that the database was created.
ms219498.pubproperty(es-es,SQL.90).gif DatabaseGuid Gets the Guid value that uniquely identifies the database.
ms219498.pubproperty(es-es,SQL.90).gif DatabaseOptions Gets the DatabaseOptions object that contains configuration options for the database.
ms219498.pubproperty(es-es,SQL.90).gif DatabaseSnapshotBaseName Gets the name of the snapshot base for the database.
ms219498.pubproperty(es-es,SQL.90).gif DataSpaceUsage Gets the space used by the data in the database.
ms219498.pubproperty(es-es,SQL.90).gif DboLogin Gets the Boolean value that specifies whether the current user is logged on as the database owner (DBO).
ms219498.pubproperty(es-es,SQL.90).gif DefaultFileGroup Gets the default file group used by the database.
ms219498.pubproperty(es-es,SQL.90).gif DefaultFullTextCatalog Gets the default full-text catalog used by the database.
ms219498.pubproperty(es-es,SQL.90).gif Defaults Represents a collection of Default objects. Each Default object represents a default defined on the database.
ms219498.pubproperty(es-es,SQL.90).gif DefaultSchema Gets the default schema of the user.
ms219498.pubproperty(es-es,SQL.90).gif Events Gets the events associated with the database.
ms219498.pubproperty(es-es,SQL.90).gif ExtendedProperties Gets the extended properties of the database.
ms219498.pubproperty(es-es,SQL.90).gif ExtendedStoredProcedures Represents a collection of ExtendedStoredProcedure objects. Each ExtendedStoredProcedure object represents an extended stored procedure defined on the database.
ms219498.pubproperty(es-es,SQL.90).gif FileGroups Represents a collection of FileGroup objects. Each FileGroup object represents a filegroup defined on the database.
ms219498.pubproperty(es-es,SQL.90).gif FullTextCatalogs Represents a collection of FullTextCatalog objects. Each FullTextCatalog object represents a full-text catalog defined on the database.
ms219498.pubproperty(es-es,SQL.90).gif ID Gets the database ID value that uniquely identifies the database.
ms219498.pubproperty(es-es,SQL.90).gif IndexSpaceUsage Gets the space used by the indexes in the database.
ms219498.pubproperty(es-es,SQL.90).gif IsAccessible Gets a Boolean property value that specifies whether the database can be accessed.
ms219498.pubproperty(es-es,SQL.90).gif IsDatabaseSnapshot Gets a Boolean property value that specifies whether the database is a snapshot database.
ms219498.pubproperty(es-es,SQL.90).gif IsDatabaseSnapshotBase Gets a Boolean property value that specifies whether the database is the base database for a snapshot database.
ms219498.pubproperty(es-es,SQL.90).gif IsDbAccessAdmin Gets a Boolean property value that specifies whether the current user is a member of the DbAccessAdmin database role.
ms219498.pubproperty(es-es,SQL.90).gif IsDbBackupOperator Gets a Boolean property value that specifies whether the current user is a member of the DbBackupOperator database role.
ms219498.pubproperty(es-es,SQL.90).gif IsDbDatareader Gets a Boolean property value that specifies whether the current user is a member of the DbDatareader database role.
ms219498.pubproperty(es-es,SQL.90).gif IsDbDatawriter Gets a Boolean property value that specifies whether the current user is a member of the DbDatawriter database role.
ms219498.pubproperty(es-es,SQL.90).gif IsDbDdlAdmin Gets a Boolean property value that specifies whether the current user is a member of the DbDdlAdmin database role.
ms219498.pubproperty(es-es,SQL.90).gif IsDbDenyDatareader Gets a Boolean property value that specifies whether the current user is a member of the DbDenyDatareader database role.
ms219498.pubproperty(es-es,SQL.90).gif IsDbDenyDatawriter Gets a Boolean property value that specifies whether the current member is a member of the DbDenyDatawriter database.
ms219498.pubproperty(es-es,SQL.90).gif IsDbOwner Gets a Boolean property value that specifies whether the current user is a member of the DbOwner database role.
ms219498.pubproperty(es-es,SQL.90).gif IsDbSecurityAdmin Gets a Boolean property value that specifies whether the current user is a member of the DbSecurityAdmin database role.
ms219498.pubproperty(es-es,SQL.90).gif IsFullTextEnabled Gets the Boolean value that specifies whether the database is enabled for full-text search.
ms219498.pubproperty(es-es,SQL.90).gif IsMailHost Gets the Boolean value that specifies whether the database is configured as a mail host.
ms219498.pubproperty(es-es,SQL.90).gif IsMirroringEnabled Gets the Boolean value that specifies whether mirroring is enabled on the database.
ms219498.pubproperty(es-es,SQL.90).gif IsSystemObject Gets the Boolean value that specifies whether the database is a system object or a user-defined database.
ms219498.pubproperty(es-es,SQL.90).gif IsUpdateable Gets the Boolean value that specifies whether the database can be updated.
ms219498.pubproperty(es-es,SQL.90).gif LastBackupDate Gets the date and time when the database was last backed up.
ms219498.pubproperty(es-es,SQL.90).gif LastLogBackupDate Gets the date and time when the transaction log was last backed up.
ms219498.pubproperty(es-es,SQL.90).gif LogFiles Represents a collection of LogFile objects. Each LogFile object represents a log file defined on the database.
ms219498.pubproperty(es-es,SQL.90).gif LogReuseWaitStatus Gets the type of operation on which the reuse of transaction log space is waiting on.
ms219498.pubproperty(es-es,SQL.90).gif MasterKey Gets the master key used to encrypt the private keys of certificates.
ms219498.pubproperty(es-es,SQL.90).gif MirroringFailoverLogSequenceNumber Gets the log sequence number at last failover.
ms219498.pubproperty(es-es,SQL.90).gif MirroringID Gets the ID value that uniquely identifies the mirroring partnership.
ms219498.pubproperty(es-es,SQL.90).gif MirroringPartner Gets or sets the address of the Database Engine (Motor de base de datos) instance that is the partner server for database mirroring.
ms219498.pubproperty(es-es,SQL.90).gif MirroringPartnerInstance Gets the instance of SQL Server on which the mirroring partner is configured.
ms219498.pubproperty(es-es,SQL.90).gif MirroringRoleSequence Gets the role sequence number for primary/backup roles played by the mirroring partners.
ms219498.pubproperty(es-es,SQL.90).gif MirroringSafetyLevel Gets or sets the mirroring safety level.
ms219498.pubproperty(es-es,SQL.90).gif MirroringSafetySequence Gets the role sequence number for safety levels for the mirroring partners.
ms219498.pubproperty(es-es,SQL.90).gif MirroringStatus Gets the status of the database and the database mirroring session.
ms219498.pubproperty(es-es,SQL.90).gif MirroringWitness Gets or sets the name of the database-engine instance of the database mirroring witness server.
ms219498.pubproperty(es-es,SQL.90).gif MirroringWitnessStatus Gets the status of the mirroring witness server.
ms219498.pubproperty(es-es,SQL.90).gif Name  Gets or sets the name of the object. (inherited from NamedSmoObject)
ms219498.pubproperty(es-es,SQL.90).gif Owner Gets the database principal that is the owner of the database.
ms219498.pubproperty(es-es,SQL.90).gif Parent Gets the Server object that is the parent of the Database object.
ms219498.pubproperty(es-es,SQL.90).gif PartitionFunctions Represents a collection of PartitionFunction objects. Each PartitionFunction object represents a partition function defined on the database.
ms219498.pubproperty(es-es,SQL.90).gif PartitionSchemes Represents a collection of PartitionScheme objects. Each PartitionScheme object represents a partition scheme defined on the database.
ms219498.pubproperty(es-es,SQL.90).gif PrimaryFilePath Gets the path and name of the operating system directory that contains the primary file for the database.
ms219498.pubproperty(es-es,SQL.90).gif Properties  Gets a collection of Property objects that represent the object properties. (inherited from SqlSmoObject)
ms219498.pubproperty(es-es,SQL.90).gif RecoveryForkGuid Gets the GUID value that specifies the recovery fork on which the database is currently active.
ms219498.pubproperty(es-es,SQL.90).gif ReplicationOptions Gets the active replication settings for a database,
ms219498.pubproperty(es-es,SQL.90).gif Roles Represents a collection of DatabaseRole objects. Each DatabaseRole object represents a role defined on the database.
ms219498.pubproperty(es-es,SQL.90).gif Rules Represents a collection of Rule objects. Each Rule object represents a rule defined on the database.
ms219498.pubproperty(es-es,SQL.90).gif Schemas Represents a collection of Schema objects. Each Schema object represents a schema defined on the database.
ms219498.pubproperty(es-es,SQL.90).gif ServiceBroker Gets the ServiceBroker object that represents the Microsoft Service Broker.
ms219498.pubproperty(es-es,SQL.90).gif ServiceBrokerGuid Gets the Guid object that uniquely identifies the instance of Microsoft Service Broker.
ms219498.pubproperty(es-es,SQL.90).gif Size Gets the size of the database in megabytes.
ms219498.pubproperty(es-es,SQL.90).gif SpaceAvailable Gets the available space in the database in kilobytes.
ms219498.pubproperty(es-es,SQL.90).gif State  Gets the state of the referenced object. (inherited from SmoObjectBase)
ms219498.pubproperty(es-es,SQL.90).gif Status Gets the database status.
ms219498.pubproperty(es-es,SQL.90).gif StoredProcedures Represents a collection of StoredProcedure objects. Each StoredProcedure object represents a stored procedure defined on the database.
ms219498.pubproperty(es-es,SQL.90).gif SymmetricKeys Represents a collection of SymmetricKey objects. Each SymmetricKey object represents a symmetric key defined on the database.
ms219498.pubproperty(es-es,SQL.90).gif Synonyms Represents a collection of Synonym objects. Each Synonym object represents a synonym defined on the database.
ms219498.pubproperty(es-es,SQL.90).gif Tables Represents a collection of Table objects. Each Table object represents a table defined on the database.
ms219498.pubproperty(es-es,SQL.90).gif Triggers Represents a collection of DatabaseDdlTrigger objects. Each DatabaseDdlTrigger object represents a trigger defined on the database.
ms219498.pubproperty(es-es,SQL.90).gif Urn  Gets the Uniform Resource Name (URN) address value that uniquely identifies the object. (inherited from SqlSmoObject)
ms219498.pubproperty(es-es,SQL.90).gif UserData  Gets or sets user-defined data associated with the referenced object. (inherited from SmoObjectBase)
ms219498.pubproperty(es-es,SQL.90).gif UserDefinedAggregates Represents a collection of UserDefinedAggregate objects. Each UserDefinedAggregate object represents a user-defined aggregate defined on the database.
ms219498.pubproperty(es-es,SQL.90).gif UserDefinedDataTypes Represents a collection of UserDefinedDataType objects. Each UserDefinedDataType object represents a user-defined data type on the database.
ms219498.pubproperty(es-es,SQL.90).gif UserDefinedFunctions Represents a collection of UserDefinedFunction objects. Each UserDefinedFunction object represents a user-defined function on the database.
ms219498.pubproperty(es-es,SQL.90).gif UserDefinedTypes Represents a collection of UserDefinedType objects. Each UserDefinedType object represents a user-defined type on the database.
ms219498.pubproperty(es-es,SQL.90).gif UserName Gets or sets the database user name.
ms219498.pubproperty(es-es,SQL.90).gif Users Represents a collection of User objects. Each User object represents a user who is defined on the database.
ms219498.pubproperty(es-es,SQL.90).gif Version Gets the version of the instance of SQL Server that was used to create the database.
ms219498.pubproperty(es-es,SQL.90).gif Views Represents a collection of View objects. Each View object represents a view defined on the database.
ms219498.pubproperty(es-es,SQL.90).gif XmlSchemaCollections Represents a collection of XmlSchemaCollection objects. Each XmlSchemaCollection object represents an XML schema defined on the database.

Arriba

Protected Properties

  Nombre Description
ms219498.protproperty(es-es,SQL.90).gif ExecuteForScalar  Gets or sets the Boolean property value that specifies whether the object is set to the execute for scalar option. (inherited from SqlSmoObject)
ms219498.protproperty(es-es,SQL.90).gif ObjectInSpace  Gets the Boolean property value that specifies whether the object exists in isolation or whether it is connected to the instance of Microsoft SQL Server directly or indirectly. (inherited from SqlSmoObject)
ms219498.protproperty(es-es,SQL.90).gif PresetProperties  Gets or sets the preset properties of the referenced object. (inherited from SqlSmoObject)
ms219498.protproperty(es-es,SQL.90).gif ScalarResult  Gets the scalar result for the referenced object. (inherited from SqlSmoObject)

Arriba

Public Methods

(see also Protected Methods )

  Nombre Description
ms219498.pubmethod(es-es,SQL.90).gif Alter Overloaded. Updates any Database object property changes on an instance of Microsoft SQL Server.
ms219498.pubmethod(es-es,SQL.90).gif ChangeMirroringState Changes the mirroring configuration as specified by the options.
ms219498.pubmethod(es-es,SQL.90).gif CheckAllocations Scans all pages of the referenced database and tests pages to guarantee integrity.
ms219498.pubmethod(es-es,SQL.90).gif CheckAllocationsDataOnly Scans all pages of the referenced database and tests only the data to guarantee integrity.
ms219498.pubmethod(es-es,SQL.90).gif CheckCatalog Tests the integrity of the database catalog.
ms219498.pubmethod(es-es,SQL.90).gif CheckIdentityValues Verifies the integrity of all identity columns in tables in the database.
ms219498.pubmethod(es-es,SQL.90).gif Checkpoint Issues a checkpoint.
ms219498.pubmethod(es-es,SQL.90).gif CheckTables Tests the integrity of database pages for all tables and indexes defined on the tables of the database.
ms219498.pubmethod(es-es,SQL.90).gif CheckTablesDataOnly Tests integrity of pages that store data for all tables and indexes defined on the tables of the referenced database.
ms219498.pubmethod(es-es,SQL.90).gif Create Overloaded. Creates a database on the instance of Microsoft SQL Server as defined by the Database object.
ms219498.pubmethod(es-es,SQL.90).gif Deny Overloaded. Denies the specified set of permissions for the specified grantees on the database.
ms219498.pubmethod(es-es,SQL.90).gif Drop Drops the database.
ms219498.pubmethod(es-es,SQL.90).gif DropBackupHistory Drops the backup history for the database.
ms219498.pubmethod(es-es,SQL.90).gif EnumCandidateKeys Enumerates a list of all candidate primary keys in the database, which may be referenced by a foreign key.
ms219498.pubmethod(es-es,SQL.90).gif EnumDatabasePermissions Overloaded. Enumerates a list of all database permissions in the database.
ms219498.pubmethod(es-es,SQL.90).gif EnumLocks Overloaded. Enumerates a list of current locks on the database.
ms219498.pubmethod(es-es,SQL.90).gif EnumLoginMappings Enumerates a list of Microsoft SQL Server logins for all the users in the database.
ms219498.pubmethod(es-es,SQL.90).gif EnumMatchingSPs Overloaded. Enumerates a list of stored procedures that contain the specified string in the definition.
ms219498.pubmethod(es-es,SQL.90).gif EnumObjectPermissions Overloaded. Enumerates a list of permissions for objects in the database.
ms219498.pubmethod(es-es,SQL.90).gif EnumObjects Overloaded. Enumerates a list of objects in the database.
ms219498.pubmethod(es-es,SQL.90).gif EnumTransactions Overloaded. Enumerates a list of open transactions on the database.
ms219498.pubmethod(es-es,SQL.90).gif EnumWindowsGroups Overloaded. Enumerates a list of Microsoft Windows groups.
ms219498.pubmethod(es-es,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms219498.pubmethod(es-es,SQL.90).gif ExecuteNonQuery Overloaded. Executes a collection of batches in the context of the database where there are no results returned.
ms219498.pubmethod(es-es,SQL.90).gif ExecuteWithResults Overloaded. Executes a collection of batches in the context of the database where there are results returned.
ms219498.pubmethod(es-es,SQL.90).gif GetHashCode  (inherited from Object )
ms219498.pubmethod(es-es,SQL.90).gif GetTransactionCount Overloaded. Gets the number of open transactions on the database.
ms219498.pubmethod(es-es,SQL.90).gif GetType  (inherited from Object )
ms219498.pubmethod(es-es,SQL.90).gif Grant Overloaded. Grants the specified set of permissions to the specified grantees on the database.
ms219498.pubmethod(es-es,SQL.90).gif Initialize  Overloaded. Initializes the object and forces the properties be loaded. (inherited from SqlSmoObject)
ms219498.pubmethod(es-es,SQL.90).gif IsMember Determines whether the specified group or role belongs to the database.
ms219498.pubmethod(es-es,SQL.90).gif PrefetchObjects Overloaded. Prefetches database objects.
ms219498.pubmethod(es-es,SQL.90).gif RecalculateSpaceUsage Recalculates space usage.
ms219498.pubmethod(es-es,SQL.90).gifms219498.static(es-es,SQL.90).gif ReferenceEquals  (inherited from Object )
ms219498.pubmethod(es-es,SQL.90).gif Refresh Overridden. Updates the Database object.
ms219498.pubmethod(es-es,SQL.90).gif RemoveFullTextCatalogs Removes full-text catalogs from the database.
ms219498.pubmethod(es-es,SQL.90).gif Rename Renames the database.
ms219498.pubmethod(es-es,SQL.90).gif Revoke Overloaded. Revokes a previously granted set of permissions from a grantee or grantees on the database.
ms219498.pubmethod(es-es,SQL.90).gif Script Overloaded. Generates a Transact-SQL script that can be used to re-create the database.
ms219498.pubmethod(es-es,SQL.90).gif SetDefaultFileGroup Sets the default file group for the database.
ms219498.pubmethod(es-es,SQL.90).gif SetDefaultFullTextCatalog Sets the default full-text catalog for the database.
ms219498.pubmethod(es-es,SQL.90).gif SetOffline Sets the database offline.
ms219498.pubmethod(es-es,SQL.90).gif SetOnline Sets the database online.
ms219498.pubmethod(es-es,SQL.90).gif SetOwner Overloaded. Sets the database owner.
ms219498.pubmethod(es-es,SQL.90).gif Shrink Shrinks the database.
ms219498.pubmethod(es-es,SQL.90).gif ToString  Returns a String that represents the referenced object. (inherited from SqlSmoObject)
ms219498.pubmethod(es-es,SQL.90).gif TruncateLog Truncates the database log.
ms219498.pubmethod(es-es,SQL.90).gif UpdateIndexStatistics Updates index statistics.

Arriba

Protected Methods

  Nombre Description
ms219498.protmethod(es-es,SQL.90).gif AlterImpl  (inherited from SqlSmoObject )
ms219498.protmethod(es-es,SQL.90).gif AlterImplFinish  (inherited from SqlSmoObject )
ms219498.protmethod(es-es,SQL.90).gif AlterImplInit  (inherited from SqlSmoObject )
ms219498.protmethod(es-es,SQL.90).gif AlterImplWorker  (inherited from SqlSmoObject )
ms219498.protmethod(es-es,SQL.90).gif AppendCommaText  (inherited from ScriptNameObjectBase )
ms219498.protmethod(es-es,SQL.90).gif AppendWithCommaText  (inherited from ScriptNameObjectBase )
ms219498.protmethod(es-es,SQL.90).gif AppendWithOption  (inherited from ScriptNameObjectBase )
ms219498.protmethod(es-es,SQL.90).gif BindDefaultImpl  (inherited from SqlSmoObject )
ms219498.protmethod(es-es,SQL.90).gif BindRuleImpl  (inherited from SqlSmoObject )
ms219498.protmethod(es-es,SQL.90).gif CheckCollation  (inherited from SqlSmoObject )
ms219498.protmethod(es-es,SQL.90).gif CheckObjectState  Overloaded. Validates the state of the referenced object. (inherited from SqlSmoObject)
ms219498.protmethod(es-es,SQL.90).gif CheckObjectStateImpl  (inherited from SqlSmoObject )
ms219498.protmethod(es-es,SQL.90).gif CheckTextCorectness  (inherited from ScriptNameObjectBase )
ms219498.protmethod(es-es,SQL.90).gif CheckTextModeSupport  (inherited from ScriptNameObjectBase )
ms219498.protmethod(es-es,SQL.90).gif CheckVersion80  Checks the validity of the object on Microsoft SQL Server 2000. (inherited from SqlSmoObject)
ms219498.protmethod(es-es,SQL.90).gif CheckVersion80SP3  Checks the validity of the object on Microsoft SQL Server 2000 SP3. (inherited from SqlSmoObject)
ms219498.protmethod(es-es,SQL.90).gif CheckVersion90  Check the validity of the object on Microsoft SQL Server 2005. (inherited from SqlSmoObject)
ms219498.protmethod(es-es,SQL.90).gif CheckVersionBelow90  (inherited from SqlSmoObject )
ms219498.protmethod(es-es,SQL.90).gif CleanObject  Cleans the referenced object. (inherited from ScriptNameObjectBase)
ms219498.protmethod(es-es,SQL.90).gif CreateImpl  (inherited from SqlSmoObject )
ms219498.protmethod(es-es,SQL.90).gif CreateImplFinish  (inherited from SqlSmoObject )
ms219498.protmethod(es-es,SQL.90).gif CreateImplInit  (inherited from SqlSmoObject )
ms219498.protmethod(es-es,SQL.90).gif DropImpl  (inherited from SqlSmoObject )
ms219498.protmethod(es-es,SQL.90).gif DropImplWorker  (inherited from SqlSmoObject )
ms219498.protmethod(es-es,SQL.90).gif Finalize  (inherited from Object )
ms219498.protmethod(es-es,SQL.90).gif ForceTextModeOnTextBody  Enforces text mode on the text body. (inherited from ScriptNameObjectBase)
ms219498.protmethod(es-es,SQL.90).gif FormatSqlVariant  (inherited from SqlSmoObject )
ms219498.protmethod(es-es,SQL.90).gif GenerateDataSpaceScript  (inherited from SqlSmoObject )
ms219498.protmethod(es-es,SQL.90).gif GetBindDefaultScript  (inherited from SqlSmoObject )
ms219498.protmethod(es-es,SQL.90).gif GetBindRuleScript  (inherited from SqlSmoObject )
ms219498.protmethod(es-es,SQL.90).gif GetBoolParameter  Overloaded. (inherited from SqlSmoObject )
ms219498.protmethod(es-es,SQL.90).gif GetBraketNameForText  (inherited from ScriptNameObjectBase )
ms219498.protmethod(es-es,SQL.90).gif GetDateTimeParameter  (inherited from SqlSmoObject )
ms219498.protmethod(es-es,SQL.90).gif GetDateTimeParameterAsInt  (inherited from SqlSmoObject )
ms219498.protmethod(es-es,SQL.90).gif GetDBName  Gets the database name associated with the object. (inherited from SqlSmoObject)
ms219498.protmethod(es-es,SQL.90).gif GetEnumParameter  (inherited from SqlSmoObject )
ms219498.protmethod(es-es,SQL.90).gif GetFragOptionString  (inherited from SqlSmoObject )
ms219498.protmethod(es-es,SQL.90).gif GetGuidParameter  (inherited from SqlSmoObject )
ms219498.protmethod(es-es,SQL.90).gif GetIsTextDirty  Determines whether the text value is consistent with stored value. (inherited from ScriptNameObjectBase)
ms219498.protmethod(es-es,SQL.90).gif GetParameter  Overloaded. (inherited from SqlSmoObject )
ms219498.protmethod(es-es,SQL.90).gif GetPropValue  (inherited from SqlSmoObject )
ms219498.protmethod(es-es,SQL.90).gif GetPropValueOptional  (inherited from SqlSmoObject )
ms219498.protmethod(es-es,SQL.90).gif GetPropValueOptionalAllowNull  (inherited from SqlSmoObject )
ms219498.protmethod(es-es,SQL.90).gif GetRealValue  (inherited from SqlSmoObject )
ms219498.protmethod(es-es,SQL.90).gif GetScriptIncludeExists  (inherited from ScriptNameObjectBase )
ms219498.protmethod(es-es,SQL.90).gif GetScriptingOptionsForCreate  (inherited from SqlSmoObject )
ms219498.protmethod(es-es,SQL.90).gif GetServerName  Gets the name of the instance of Microsoft SQL Server with which the object is associated. (inherited from SqlSmoObject)
ms219498.protmethod(es-es,SQL.90).gif GetSqlServerVersionName  Gets the version name of the instance of Microsoft SQL Server with which the object is associated. (inherited from SqlSmoObject)
ms219498.protmethod(es-es,SQL.90).gif GetStringParameter  Overloaded. (inherited from SqlSmoObject )
ms219498.protmethod(es-es,SQL.90).gif GetTextBody  Overloaded. Returns the text body. (inherited from ScriptNameObjectBase)
ms219498.protmethod(es-es,SQL.90).gif GetTextForScript  (inherited from ScriptNameObjectBase )
ms219498.protmethod(es-es,SQL.90).gif GetTextHeader  (inherited from ScriptNameObjectBase )
ms219498.protmethod(es-es,SQL.90).gif GetTextMode  Determines whether the script name is using text mode. (inherited from ScriptNameObjectBase)
ms219498.protmethod(es-es,SQL.90).gif GetTextProperty  (inherited from ScriptNameObjectBase )
ms219498.protmethod(es-es,SQL.90).gif GetTimeSpanParameterAsInt  (inherited from SqlSmoObject )
ms219498.protmethod(es-es,SQL.90).gif GetUrnRecursive  Overloaded. (inherited from SqlSmoObject )
ms219498.protmethod(es-es,SQL.90).gif ImplInitialize  (inherited from SqlSmoObject )
ms219498.protmethod(es-es,SQL.90).gifms219498.static(es-es,SQL.90).gif IsCollectionDirty  (inherited from SqlSmoObject )
ms219498.protmethod(es-es,SQL.90).gif IsObjectDirty  Determines whether the referenced object is consistent with the stored object. (inherited from ScriptNameObjectBase)
ms219498.protmethod(es-es,SQL.90).gif IsObjectInitialized  Verifies whether the object has been initialized. (inherited from SqlSmoObject)
ms219498.protmethod(es-es,SQL.90).gif IsObjectInSpace  Verifies whether the object is isolated or connected to the instance of Microsoft SQL Server. (inherited from SqlSmoObject)
ms219498.protmethod(es-es,SQL.90).gif IsVersion80SP3  (inherited from SqlSmoObject )
ms219498.protmethod(es-es,SQL.90).gif MarkDropped  This method supports the SQL Server Management Objects infrastructure and is not intended to be used directly from your code. (inherited from SqlSmoObject)
ms219498.protmethod(es-es,SQL.90).gif MarkForDropImpl  (inherited from SqlSmoObject )
ms219498.protmethod(es-es,SQL.90).gif MemberwiseClone  (inherited from Object )
ms219498.protmethod(es-es,SQL.90).gif PostAlter  (inherited from SqlSmoObject )
ms219498.protmethod(es-es,SQL.90).gif PostCreate  This method supports the SQL Server Management Objects infrastructure and is not intended to be used directly from your code. (inherited from SqlSmoObject)
ms219498.protmethod(es-es,SQL.90).gif PostDrop  (inherited from SqlSmoObject )
ms219498.protmethod(es-es,SQL.90).gif RenameImpl  (inherited from NamedSmoObject )
ms219498.protmethod(es-es,SQL.90).gif RenameImplWorker  (inherited from NamedSmoObject )
ms219498.protmethod(es-es,SQL.90).gif ScriptAlter  This method supports the SQL Server Management Objects infrastructure and is not intended to be used directly from your code. (inherited from SqlSmoObject)
ms219498.protmethod(es-es,SQL.90).gif ScriptAnsiQI  (inherited from ScriptNameObjectBase )
ms219498.protmethod(es-es,SQL.90).gif ScriptChangeOwner  (inherited from NamedSmoObject )
ms219498.protmethod(es-es,SQL.90).gif ScriptCreate  (inherited from SqlSmoObject )
ms219498.protmethod(es-es,SQL.90).gif ScriptDdl  (inherited from SqlSmoObject )
ms219498.protmethod(es-es,SQL.90).gif ScriptDrop  (inherited from SqlSmoObject )
ms219498.protmethod(es-es,SQL.90).gif ScriptImpl  Overloaded. (inherited from SqlSmoObject )
ms219498.protmethod(es-es,SQL.90).gif ScriptImplWorker  (inherited from SqlSmoObject )
ms219498.protmethod(es-es,SQL.90).gif ScriptInformativeHeaders  (inherited from ScriptNameObjectBase )
ms219498.protmethod(es-es,SQL.90).gif ScriptRename  (inherited from NamedSmoObject )
ms219498.protmethod(es-es,SQL.90).gif SetCollectionTextMode  (inherited from ScriptNameObjectBase )
ms219498.protmethod(es-es,SQL.90).gif SetParentImpl  (inherited from SqlSmoObject )
ms219498.protmethod(es-es,SQL.90).gif SetTextBody  (inherited from ScriptNameObjectBase )
ms219498.protmethod(es-es,SQL.90).gif SetTextHeader  (inherited from ScriptNameObjectBase )
ms219498.protmethod(es-es,SQL.90).gif SetTextMode  (inherited from ScriptNameObjectBase )
ms219498.protmethod(es-es,SQL.90).gif SwitchTextMode  (inherited from ScriptNameObjectBase )
ms219498.protmethod(es-es,SQL.90).gif ThrowIfTextIsDirtyForAlter  (inherited from ScriptNameObjectBase )
ms219498.protmethod(es-es,SQL.90).gifms219498.static(es-es,SQL.90).gif Trace  (inherited from SqlSmoObject )
ms219498.protmethod(es-es,SQL.90).gif UnbindDefaultImpl  (inherited from SqlSmoObject )
ms219498.protmethod(es-es,SQL.90).gif UnbindRuleImpl  (inherited from SqlSmoObject )
ms219498.protmethod(es-es,SQL.90).gifms219498.static(es-es,SQL.90).gif UpdateCollectionState2  (inherited from SqlSmoObject )

Arriba

Vea también

Referencia

Database Class
Microsoft.SqlServer.Management.Smo Namespace

Otros recursos

How to: Create, Alter, and Remove a Database in Visual Basic .NET
Creating, Altering, and Removing Databases
CREATE DATABASE (Transact-SQL)