Membri Database

The Database object represents a SQL Server database.

Il tipo Database espone i membri seguenti.

Costruttori

  Nome Descrizione
Metodo pubblico Database() () () () Initializes a new instance of the Database class.
Metodo pubblico Database(Server, String) Initializes a new instance of the Database class on the specified server and with the specified name.

In alto

Metodi

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

In alto

Campi

  Nome Descrizione
Campo protetto m_ExtendedProperties (Ereditato da SqlSmoObject).

In alto

Proprietà

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

In alto

Eventi

  Nome Descrizione
Evento pubblico PropertyChanged (Ereditato da SqlSmoObject).
Evento pubblico PropertyMetadataChanged (Ereditato da SqlSmoObject).

In alto

Implementazioni esplicite dell'interfaccia

  Nome Descrizione
Implementazione esplicita dell'interfacciaMetodo privato IAlienObjectDiscover (Ereditato da SqlSmoObject).
Implementazione esplicita dell'interfacciaMetodo privato IAlienObjectGetParent (Ereditato da SqlSmoObject).
Implementazione esplicita dell'interfacciaMetodo privato IAlienObjectGetProperty (Ereditato da SqlSmoObject).
Implementazione esplicita dell'interfacciaMetodo privato ISfcPropertyProviderGetPropertySet (Ereditato da SqlSmoObject).
Implementazione esplicita dell'interfacciaMetodo privato IAlienObjectGetUrn (Ereditato da SqlSmoObject).
Implementazione esplicita dell'interfacciaMetodo privato IAlienObjectResolve (Ereditato da SqlSmoObject).
Implementazione esplicita dell'interfacciaMetodo privato IAlienObjectSetProperty (Ereditato da SqlSmoObject).

In alto