Espace de noms Microsoft.SqlServer.Management.Smo

The Microsoft.SqlServer.Management.Smo namespace contains classes that represent the core Moteur de base de données SQL Server objects. These include instances, databases, tables, stored procedures, and views.

The Microsoft.SqlServer.Management.Smo namespace contains the instance object classes that represent Moteur de base de données SQL Server objects and some utility classes that represent specific tasks, such as scripting. When a connection to the instance of the Moteur de base de données SQL Server has been established by using a Server object variable, objects on the instance can be accessed by using the SMO instance objects. For example, you can use the Database object to access databases on the connected instance of Moteur de base de données SQL Server. All the instance classes are related to the Server class in the object hierarchy. Utility classes exist outside of the Server class object hierarchy and represent specific tasks, such as backup or scripting.

Most of the classes Microsoft.SqlServer.Management.Smo namespace resides in the Microsoft.SqlServer.Smo.dll and Microsoft.SqlServer.SmoExtended.dll files. Additionally, some of the enumeration classes are in the Microsoft.SqlServer.SqlEnum.dll and Microsoft.SqlServer.SmoEnum.dll assembly files. You will have to import all four files to access all of the classes in the Microsoft.SqlServer.Management.Smo namespace.

By using the Microsoft.SqlServer.Management.Smo namespace, you can do the following:

  • Connect to an instance of the Moteur de base de données SQL Server.

  • View and modify instance settings and configuration options.

  • View and modify database objects.

  • Perform DDL (data definition language) tasks on an instance of the Moteur de base de données SQL Server.

  • Script databases dependencies.

  • Perform database maintenance tasks, such as backup and restore operations.

  • Transfer database schemas and data.

Classes

  Classe Description
Classe publique AbstractCollectionBase The AbstractCollectionBase object is a base class object that is used in the construction of collection objects.
Classe publique AffinityInfo The AffinityInfo object represents the Affinity settings for all CPUs and NUMA nodes on an Instance of SQL Server. Access to the AffinityInfo object is provided though the Server object.
Classe publique AffinityInfoBase Represents a base class of AffinityInfo.
Classe publique ApplicationRole The ApplicationRole object represents a security role that is used to set access privileges from an application regardless of the user's permissions.
Classe publique ApplicationRoleCollection The ApplicationRoleCollectionclass represents a collection of ApplicationRole objects that represent all the application roles on the referenced database.
Classe publique ApplicationRoleEvents The ApplicationRoleEvents object represents the settings required for Microsoft SQL Server application role event notification.
Classe publique ArrayListCollectionBase The ArrayListCollectionBase object represents a base class that is used in the construction of collections that are based on array lists.
Classe publique AsymmetricKey The AsymmetricKey object represents a SQL Server asymmetric key.
Classe publique AsymmetricKeyCollection The AsymmetricKeyCollection class represents a collection of AsymmetricKey objects that represent all the asymmetric keys on the referenced database.
Classe publique AsyncStatus The AsyncStatus object represents the status of an asynchronous process.
Classe publique Audit The Audit object represents a SQL Server audit log.
Classe publique AuditCollection The AuditCollection class represents a collection of Audit objects that represent all the audits on the instance of SQL Server.
Classe publique AuditExtender Adds methods and properties to the Audit object.
Classe publique AuditSpecification The AuditSpecification class defines the audit groups and specifies the server audit that they belong to.
Classe publique AvailabilityDatabase Represents the availability database.
Classe publique AvailabilityDatabaseCollection Represents the collection of databases contained in the availability group.
Classe publique AvailabilityGroup Displays the availability group that contains the databases and replicas.
Classe publique AvailabilityGroupCollection Displays a collection of specified objects in the availability group.
Classe publique AvailabilityGroupListener Represents the object of the availability group listener.
Classe publique AvailabilityGroupListenerCollection Represents a collection of AvailabilityGroupListener objects.
Classe publique AvailabilityGroupListenerIPAddress Represents an availability group listener IP address.
Classe publique AvailabilityGroupListenerIPAddressCollection Represents a collection of AvailabilityGroupListenerIPAddress objects.
Classe publique AvailabilityGroupListenerIPAddressCollectionBase Represents a class that contains common features of all schema collection classes.
Classe publique AvailabilityGroupState Represents an adapter class that implements the IAvailabilityGroupState logical facet for an availability group.
Classe publique AvailabilityReplica Displays the availability replica and its properties.
Classe publique AvailabilityReplicaCollection Represents the AvailabilityReplicaCollection objects.
Classe publique Backup The Backup object provides programmatic access to Microsoft SQL Server backup operations.
Classe publique BackupDevice The BackupDevice object provides programmatic access to SQL Server backup devices.
Classe publique BackupDeviceCollection The BackupDeviceCollection class represents a collection of BackupDevice objects that represent all the backup devices on an instance of SQL Server.
Classe publique BackupDeviceItem The BackupDeviceItem object provides programmatic access to named SQL Server backup devices.
Classe publique BackupDeviceList The BackupDeviceList object provides programmatic access to a list backup devices.
Classe publique BackupMedia Represents a backup media.
Classe publique BackupMediaSet Represents a Backup media set.
Classe publique BackupMediaSet.IncompleteBackupMediaSetException The exception that is thrown when the backup media set is not complete.
Classe publique BackupRestoreBase La classe BackupRestoreBase est une classe de base qui représente des fonctionnalités communes aux opérations de sauvegarde et de restauration.
Classe publique BackupSet Represents the backup set.
Classe publique BackupSetCollection Represents a collection of backup set.
Classe publique Certificate The Certificate object represents a SQL Server certificate.
Classe publique CertificateCollection The CertificateCollection class represents a collection of Certificate objects that represent all the certificates on an instance of SQL Server.
Classe publique CertificateEvents The CertificateEvents object represents the settings that are required for SQL Server Certificate event notification.
Classe publique Check The Check object represents a SQL Server check constraint. 
Classe publique CheckCollection The CheckCollection class represents a collection of Check objects that represent all the check constraints defined on the parent object.
Classe publique CollectionNotAvailableException The CollectionNotAvailableException class is an exception that is raised when an attempt is made to retrieve a collection that is not available.
Classe publique Column The Column object represents a SQL Server column.
Classe publique ColumnCollection The ColumnCollection class represents a collection of Column objects that represent all the columns defined on a table.
Classe publique ConfigProperty The ConfigProperty object contains information pertaining to a Microsoft SQL Server configuration option, such as maximum, minimum, current, and new values.
Classe publique ConfigPropertyCollection The ConfigPropertyCollection class represents a collection of ConfigProperty objects that represent all the configuration properties defined on the instance of SQL Server.
Classe publique Configuration Represents the Configuration class that contains the configuration information for the instance of SQL Server.
Classe publique ConfigurationBase The ConfigurationBase class is a base class that represents configuration information for the instance of SQL Server.
Classe publique Cpu The Cpu class contains information about one CPU on an instance of SQL Server.
Classe publique CpuCollection The CpuCollection class represents a collection of Cpu objects that represent all the CPUs that are defined on an instance of SQL Server.
Classe publique Credential The Credential object represents a Microsoft SQL Server credential.
Classe publique CredentialCollection The CredentialCollection class represents a collection of Credential objects that represent all the credentials defined on the instance of Microsoft SQL Server.
Classe publique CryptographicProvider The CryptographicProvider object represents a SQL Server cryptographic provider.
Classe publique CryptographicProviderCollection A collection of type CryptographicProviderCollection that represents a collection of CryptographicProviderr objects.
Classe publique Database Represents an SQL Server database.
Classe publique DatabaseActiveDirectory Obsolète. The DatabaseActiveDirectory object provides programmatic access to the Active Directory settings for a database.
Classe publique DatabaseAdapter Database Adapter type to be used as a management facet.
Classe publique DatabaseAdapterBase Database adapter base.
Classe publique DatabaseAuditSpecification The DatabaseAuditSpecification object represents an auditable event on the database.
Classe publique DatabaseAuditSpecificationCollection The DatabaseAuditSpecificationCollection class represents a collection of DatabaseAuditSpecification objects that represent all the audit specifications defined on the database.
Classe publique DatabaseAuditSpecificationExtender Adds methods and properties to the DatabaseAuditSpecification object.
Classe publique DatabaseCollection The DatabaseCollection class represents a collection of Database objects that represent all the databases defined on the instance of SQL Server.
Classe publique DatabaseDdlTrigger The DatabaseDdlTrigger object represents a SQL Server database data definition language (DDL) trigger.
Classe publique DatabaseDdlTriggerCollection The DatabaseDdlTriggerCollection class represents a collection of DatabaseDdlTrigger objects that represent all the database data definition language (DDL) triggers defined on a table.
Classe publique DatabaseDdlTriggerEvent The DatabaseDdlTriggerEvent object represents the SQL Server database DDL trigger events that can be included in a database DDL trigger event set.
Classe publique DatabaseDdlTriggerEventSet The DatabaseDdlTriggerEventSet object represents a set of SQL Server database data definition language (DDL) trigger events. 
Classe publique DatabaseEncryptionKey Creates a database encryption key.
Classe publique DatabaseEncryptionKeyExtender Extends the database encryption key class.
Classe publique DatabaseEvent The DatabaseEvent object represents the SQL Server database events that can be included in a database event set.
Classe publique DatabaseEventArgs The DatabaseEventArgs object represents the arguments passed by the event raised by the database.
Classe publique DatabaseEvents The DatabaseEvents object represents the settings required for Microsoft SQL Server database event notification.
Classe publique DatabaseEventSet The DatabaseEventSet object represents a SQL Server set of database events. 
Classe publique DatabaseFile The DatabaseFile object is a base class used in the construction of DataFile objects and LogFile objects.
Classe publique DatabaseFileMappingsDictionary This class, which is inherited from Dictionary, maps database file paths from the source server to the corresponding target server location that the user specifies.
Classe publique DatabaseMaintenanceAdapter The Database Maintenance facet has logical properties. It inherits from the DatabaseAdapter class.
Classe publique DatabaseMapping The DatabaseMapping object represents a SQL Server database mapping.
Classe publique DatabaseMirroringPayload The DatabaseMirroringPayload object represents database mirroring payload settings.
Classe publique DatabaseOptions The DatabaseOptions object represents SQL Server database options.
Classe publique DatabasePerformanceAdapter The Database Performance facet implements logical properties relevant to database performance management.
Classe publique DatabasePermission The DatabasePermission object represents a SQL Server database permission. The database permission can be added to a database permission set, and then granted, revoked, or denied to a user.
Classe publique DatabasePermissionInfo The DatabasePermissionInfo object represents information about a SQL Server database permission.
Classe publique DatabasePermissionSet The DatabasePermissionSet object represents a SQL Server set of database permissions.
Classe publique DatabaseReplicaState Represents the runtime state of a database that’s participating in an availability group. This database may be located on any of the replicas that compose the availability group.
Classe publique DatabaseReplicaStateCollection Represents a collection of objects that represent all the database replica state defined on the parent database.
Classe publique DatabaseReplicaStateCollectionBase Represents a collection of DatabaseReplicaState objects that represent all the database replica states defined on the parent database.
Classe publique DatabaseRestorePlanner Represents the Database Restore Planner.
Classe publique DatabaseRole The DatabaseRole object represents a SQL Server database security role.
Classe publique DatabaseRoleCollection The DatabaseRoleCollection class represents a collection of DatabaseRole objects that represent all the database roles defined on the parent database.
Classe publique DatabaseSecurityAdapter Includes properties and methods that are used to expose the Database Security facet.
Classe publique DatabaseSnapshotExtender Adds methods and properties to the DatabaseSnapshot object.
Classe publique DataFile The DataFile object represents a SQL Server data file.
Classe publique DataFileCollection The DataFileCollection class represents a collection of DataFile objects that represent all the data files defined on the parent object.
Classe publique DataTransferBase Represents the data transfer base.
Classe publique DataType The DataType object represents a SQL Server data type.
Classe publique DdlTriggerBase The DdlTriggerBase is a base class that is inherited by the DatabaseDdlTrigger object. This represents a SQL Server database data definition language (DDL) trigger.
Classe publique Default The Default object represents a SQL Server default.
Classe publique DefaultCollection The DefaultCollection class represents a collection of Default objects.
Classe publique DefaultConstraint The DefaultConstraint object represents a SQL Server default constraint.
Classe publique DefaultLanguage Represents the list of all the default languages supported by Microsoft Search service.
Classe publique DefaultRuleBase The DefaultRuleBase class is a base class that is inherited by the Rule class and the Default class.
Classe publique DependencyCollection The DependencyCollection class represents a collection of Dependency objects that are used to derive the node classes in SMO scripting operations.
Classe publique DependencyCollectionNode The DependencyCollectionNode class represents a node in the dependency collection that is derived during scripting operations.
Classe publique DependencyNode The DependencyNode class represents a node that is defined by a URN address.
Classe publique DependencyTree The DependencyTree object represents a tree structure that contains SQL Server objects and their hierarchical relationships to each other.
Classe publique DependencyTreeNode The DependencyTreeNode class represents the child and sibling SQL Server objects within a DependencyTree object hierarchy.
Classe publique DependencyWalker The DependencyWalker object is a tool to perform scripting operations that involve dependencies such as identifying dependent relationships. The tool and converts this output to a list.
Classe publique Endpoint The Endpoint class represents an endpoint service that can listen natively for requests.
Classe publique EndpointCollection The EndpointCollection class represents a collection of Endpoint objects that represent all the HTTP endpoints.
Classe publique EndpointPayload The EndpointPayload object represents an endpoint payload.
Classe publique EndpointProtocol The EndpointProtocol object represents an HTTP endpoint protocol.
Classe publique EventProperty The EventProperty class represents a property of an event.
Classe publique EventPropertyCollection The EventPropertyCollection object represents the properties of event objects.
Classe publique EventSetBase The EventSetBase class is a base class that is used to derive the event set objects.
Classe publique ExtendedProperty The ExtendedProperty object represents the extended properties that are defined for any object that has an ExtendedProperties collection property.
Classe publique ExtendedPropertyCollection The ExtendedPropertyCollection class represents a collection of ExtendedPropertyCollectionobjects that represent all the extended properties.
Classe publique ExtendedStoredProcedure The ExtendedStoredProcedure object represents an extended stored procedure on the instance of Microsoft SQL Server.
Classe publique ExtendedStoredProcedureCollection The ExtendedStoredProcedureCollection class represents a collection of ExtendedStoredProcedure objects that represent all the extended stored procedures defined on the parent database.
Classe publique FailedOperationException The FailedOperationException class represents the exception raised when an operation fails. Failed database operations include CREATE, DROP, ALTER, SCRIPT, REFRESH, RENAME. This exception can also be raised when some of the public methods in SMO fail.
Classe publique Federation Represents a federation object on the SQL Azure database.
Classe publique FederationCollection Represents a collection of federation objects.
Classe publique FileGroup The FileGroup object represents a SQL Server file group. For more information about file groups, see Utilisation de fichiers ou de groupes de fichiers pour stocker des données.
Classe publique FileGroupCollection The FileGroupCollection class represents a collection of FileGroup objects that represent all the filegroups defined on the parent database.
Classe publique ForeignKey The ForeignKey object represents a SQL Server foreign key.
Classe publique ForeignKeyCollection The ForeignKeyCollection class represents a collection of ForeignKey objects that represent all the foreign keys defined on the parent object.
Classe publique ForeignKeyColumn The ForeignKeyColumn object represents a SQL Server foreign key column.
Classe publique ForeignKeyColumnCollection The ForeignKeyColumnCollection class represents a collection of ForeignKeyColumn objects that represent all the foreign key columns defined on the parent object.
Classe publique FrequencyPair The FrequencyPair object is a utility that measures frequency by storing count and duration information.
Classe publique FullTextCatalog The FullTextCatalog object represents a Microsoft Search full-text catalog.
Classe publique FullTextCatalogCollection The FullTextCatalogCollection class represents a collection of FullTextCatalog objects that represent all the full-text catalogs defined on the parent object.
Classe publique FullTextIndex The FullTextIndex object represents a Microsoft Search full-text index.
Classe publique FullTextIndexColumn The FullTextIndexColumn object represents a Microsoft Search full-text index column. 
Classe publique FullTextIndexColumnCollection The FullTextIndexColumnCollection class represents a collection of FullTextIndexColumn objects that represent all the full-text index columns defined on the parent object.
Classe publique FullTextService The FullTextService object allows programmatic access to the Microsoft Search full-text settings.
Classe publique FullTextStopList The FullTextStopList object represents a full-text stop list.
Classe publique FullTextStopListCollection The FullTextStopListCollection class represents a collection of FullTextStopList objects that represent all the full-text stop lists that are defined on the parent database.
Classe publique HttpProtocol The HttpProtocol object represents an HTTP protocol on an instance of Microsoft SQL Server.
Classe publique Index The Index object represents a SQL Server index.
Classe publique IndexCollection The IndexCollection class represents a collection of Index objects that represent all the indexes defined on the instance of SQL Server.
Classe publique IndexedColumn The IndexedColumn object represents a SQL Server column that is participating in an index. 
Classe publique IndexedColumnCollection The IndexedColumnCollection class represents a collection of IndexedColumn objects that represent all the indexed columns defined on the instance of SQL Server.
Classe publique IndexedXmlPath Represents an indexed XML path.
Classe publique IndexedXmlPathCollection Represents the collection of indexed XML paths.
Classe publique IndexedXmlPathNamespace Represents the indexed Xml path namespace.
Classe publique IndexedXmlPathNamespaceCollection Represents a collection of indexed XML path namespace.
Classe publique IndexEvents The IndexEvents object represents the settings that are required for SQL Server index event notification.
Classe publique Information The Information class contains nonconfigurable information about the instance of SQL Server. These include system information and options that are set during Setup, such as the collation.
Classe publique InternalSmoErrorException The InternalSmoErrorException class represents the exception raised when an error occurs during the internal phase of a SMO operation.
Classe publique InvalidRestorePlanException Exception thrown on trying to execute or verify an invalid Restore plan.
Classe publique InvalidScriptingOptionException The InvalidScriptingOptionException represents an exception due to an invalid scripting option.
Classe publique InvalidSmoOperationException The InvalidSmoOperationException class represents the exception raised when an SMO operation is not valid.
Classe publique InvalidVersionSmoOperationException The InvalidVersionSmoOperationException class represents the exception raised when the version is not valid on an SMO operation.
Classe publique JobScheduleCollectionBase The JobScheduleCollectionBase class represents a base class that is used in the construction of the JobScheduleCollection class.
Classe publique Language A Language object represents a language supported by SQL Server. The SQL Server language determines the date and time formats and the language in which the system messages are displayed.
Classe publique LanguageCollection The LanguageCollection class represents a collection of Language objects that represent all the languages which are defined on the instance of SQL Server.
Classe publique LinkedServer A LinkedServer object represents a database system other than SQL Server and is linked to the current instance of SQL Server by using an OLE DB driver.
Classe publique LinkedServerCollection The LinkedServerCollection class represents a collection of LinkedServer objects that represent all the linked servers registered on the instance of SQL Server.
Classe publique LinkedServerLogin The LinkedServerLogin object represents a SQL Server logon account that has permission to connect to the linked server.
Classe publique LinkedServerLoginCollection The LinkedServerLoginCollection class represents a collection of LinkedServerLogin objects that represent all the linked server logins defined on the linked server.
Classe publique LogFile The LogFile object represents a SQL Server log file.
Classe publique LogFileCollection The LogFileCollection class represents a collection of LogFile objects that represent all the log files defined on the instance of Microsoft SQL Server.
Classe publique Login The Login object represents a SQL Server login account that has been granted access to the instance of SQL Server through Windows Authentication or SQL Server Authentication.
Classe publique LoginCollection The LoginCollection class represents a collection of Login objects that represent all the login accounts defined on the instance of SQL Server.
Classe publique LoginEvents The LoginEvents object represents the settings required for SQL Server login event notification.
Classe publique MasterKey The MasterKey object represents a SQL Server database master key.
Classe publique MessageCollectionBase The MessageCollectionBase class is a base class that is used in the construction of message collection classes.
Classe publique MessageObjectBase The MessageObjectBase class is a base class that is inherited by message classes.
Classe publique MissingObjectException The MissingObjectException class represents the exception raised when an object is missing.
Classe publique NamedSmoObject Represents the NamedSmoObject object represents a named SMO object.
Classe publique NextRestoreEventArgs Represents the next restore event arguments.
Classe publique NumaNode The NumaNode object represents the settings for a NUMA node on an instance of SQL Server.
Classe publique NumaNodeCollection The NumaNodeCollection object contains information about one NUMA node on an instance of SQL Server.
Classe publique NumberedObjectCollectionBase The NumberedObjectCollectionBase class is a base class that represents common functionality for collections of numbered objects, such as the NumberedStoredProcedure object.
Classe publique NumberedStoredProcedure The NumberedStoredProcedure class represents a Microsoft SQL Server numbered stored procedure.
Classe publique NumberedStoredProcedureCollection The NumberedStoredProcedureCollection class represents a collection of NumberedStoredProcedure objects that represent all the numbered stored procedures defined on a table.
Classe publique NumberedStoredProcedureParameter The NumberedStoredProcedureParameter object represents a SQL Server numbered stored procedure parameter.
Classe publique NumberedStoredProcedureParameterCollection The NumberedStoredProcedureParameterCollection class represents a collection of NumberedStoredProcedure objects that represent all the numbered stored procedures defined on the parent object.
Classe publique ObjectAlteredEventArgs The ObjectAlteredEventArgs object represents the arguments that are passed by the event that is raised when an object is altered.
Classe publique ObjectCreatedEventArgs The ObjectCreatedEventArgs object represents the arguments that are passed by the event that is raised when an object is created.
Classe publique ObjectDroppedEventArgs The ObjectDroppedEventArgs object represents the arguments that are passed by the event that is raised when an object is dropped.
Classe publique ObjectEvent The ObjectEvent object represents the of SQL Server object events that can be included in an object event set.
Classe publique ObjectEventSet The ObjectEventSet object represents a SQL Server set of object events.
Classe publique ObjectPermission The ObjectPermission object represents a SQL Server object permission.
Classe publique ObjectPermissionInfo The ObjectPermissionInfo object represents information about a SQL Server object permission.
Classe publique ObjectPermissionSet The ObjectPermissionSet object represents a set of object permissions in Microsoft SQL Server.
Classe publique ObjectRenamedEventArgs The ObjectRenamedEventArgs object represents the arguments passed by the event raised when an object is renamed.
Classe publique OleDbProviderSettings Represents the settings for an SQL Server OLE DB provider.
Classe publique OleDbProviderSettingsCollection The OleDbProviderSettingsCollection class represents a collection of OleDbProviderSettings objects that represent all the OLE DB provider settings defined on the linked server.
Classe publique OrderColumn OrderColumn points to a column with an order that is specified within a table-valued function that was created by using CREATE FUNCTION and the ORDER BY clause.
Classe publique OrderColumnCollection Represents a collection of OrderColumn.
Classe publique PageRestorePlanner Represents the page restore planner.
Classe publique Parameter The Parameter class represents a parameter. It is a base class that is inherited by the StoredProcedureParameter class and the UserDefinedFunctionParameter class and contains common features of both classes.
Classe publique ParameterBase The ParameterBase class is a base class that is inherited by the Parameter class and the UserDefinedAggregate class. It contains common features of both classes.
Classe publique ParameterCollectionBase The ParameterCollectionBase class is a base class that is used in the construction of parameter collection classes.
Classe publique PartitionFunction The PartitionFunction object provides programmatic access to partition functions.
Classe publique PartitionFunctionCollection The PartitionFunctionCollection class represents a collection of PartitionFunction objects that represent all the partition functions defined on the instance of SQL Server.
Classe publique PartitionFunctionEvents The PartitionFunctionEvents object represents the settings required for SQL Server partition function event notification.
Classe publique PartitionFunctionParameter The PartitionFunctionParameter object provides programmatic access to partition function parameters.
Classe publique PartitionFunctionParameterCollection The PartitionFunctionParameterCollection class represents a collection of PartitionFunctionParameter objects that represent all the partition function parameters defined on the partition function.
Classe publique PartitionNumberedObjectCollectionBase The PartitionNumberedObjectCollectionBase is a base class that is inherited by the PhysicalPartitionCollection class.
Classe publique PartitionScheme The PartitionScheme object provides programmatic access to partition schemes.
Classe publique PartitionSchemeCollection The PartitionSchemeCollection class represents a collection of PartitionScheme objects that represent all the partition schemes defined on the instance of SQL Server.
Classe publique PartitionSchemeEvents The PartitionSchemeEvents object represents the settings required for Microsoft SQL Server partition scheme event notification.
Classe publique PartitionSchemeParameter The PartitionSchemeParameter object provides programmatic access to partition scheme parameters.
Classe publique PartitionSchemeParameterCollection The PartitionSchemeParameterCollection class represents a collection of PartitionSchemeParameter objects that represent all the partition scheme parameters defined on the partition scheme.
Classe publique Payload The Payload object represents a SQL Server HTTP endpoint payload.
Classe publique PercentCompleteEventArgs Represents the arguments passed by the event raised when a process reaches a percent complete marker.
Classe publique PerformanceCounters A PerformanceCounters object represents a performance counter that is used to trace the performance of the instance of SQL Server.
Classe publique PermissionInfo The PermissionInfo class represents information regarding granted or denied privileges.
Classe publique PermissionSetBase The PermissionSetBase class is a base class that is inherited by permission set classes.
Classe publique PhysicalPartition The PhysicalPartition object represents the physical partition where the data and meta data is stored for a SQL Server object.
Classe publique PhysicalPartitionCollection The PhysicalPartitionCollection class represents a collection of PhysicalPartition objects that represent all the physical partitions that are defined on an object.
Classe publique PlanGuide Creates a plan guide object: PlanGuide
Classe publique PlanGuideCollection Collection of plan guide objects.
Classe publique PlanGuideExtender Extends the Property set for a Plan Guide
Classe publique ProgressReportEventArgs The ProgressReportEventArgs object provides programmatic access to the arguments used to report the progress of an operation that works through an object hierarchy, such as discovering dependencies in scripting operations.
Classe publique Property The Property object provides programmatic access to the properties of all the SMO objects.
Classe publique PropertyCannotBeRetrievedException The PropertyCannotBeRetrievedException class represents the exception raised when a property cannot be retrieved.
Classe publique PropertyCollection The PropertyCollection class represents a collection of Property objects that represent all the properties defined on the parent object.
Classe publique PropertyNotSetException The PropertyNotSetException class represents the exception that is raised when a property value has not been set.
Classe publique PropertyReadOnlyException The PropertyReadOnlyException class represents the exception that is raised when an attempt is made to set a read-only property.
Classe publique PropertyTypeMismatchException The PropertyTypeMismatchException class represents the exception raised when an attempt is made to set the property with a value that has the incorrect data type.
Classe publique PropertyWriteException The PropertyWriteException class represents the exception that is raised when an error occurs when setting the value of a property.
Classe publique Protocol The Protocol object provides programmatic access to the protocols supported by SQL Server.
Classe publique RelocateFile The RelocateFile object is a programmatic tool that lets a file be relocated.
Classe publique ResourceGovernor Represents ResourceGovernor class.
Classe publique ResourcePool No content here will be updated; please do not add material here.
Classe publique ResourcePoolAffinityInfo Represents information about the resource pool affinity.
Classe publique ResourcePoolCollection Represents a collection of Resource Pools.
Classe publique Restore The Restore object provides programmatic access to restore operations.
Classe publique RestoreOptions Represents the restore options.
Classe publique RestorePlan Represents a sequence of Database Restore operations which will recover a database to a particular state in a point in time.
Classe publique Rule The Rule object provides programmatic access to a SQL Server rule.
Classe publique RuleCollection The RuleCollection class represents a collection of Rule objects that represent all the rules defined on the instance of SQL Server.
Classe publique Scheduler Represents the scheduler associated with the Server Management Object.
Classe publique SchedulerCollection Represents a collection of scheduler.
Classe publique Schema The Schema object represents an ownership context for a SQL Server database object.
Classe publique SchemaCollection The SchemaCollection class represents a collection of Schema objects that represent all the schemas on the referenced database.
Classe publique SchemaCollectionBase The SchemaCollectionBase class is a base class that is inherited by the SchemaCollection class.
Classe publique SchemaCustomResolver Represents a diagram of a COM-based resolver.
Classe publique SchemaEvents The SchemaEvents object represents the settings required for SQL Server schema event notification.
Classe publique Scripter The Scripter object is the overall, top-level object for managing scripting operations.
Classe publique ScriptingErrorEventArgs The ScriptingErrorEventArgs object provides programmatic access to the arguments used to report the errors that occur during scripting operations.
Classe publique ScriptingOptions The ScriptingOptions object provides programmatic options to the options that can be set for scripting operations.
Classe publique ScriptNameObjectBase The ScriptNameObjectBase is a base class inherited by classes that can use an alternative name used in scripting operations.
Classe publique ScriptOption The ScriptOption object represents the SQL Server script options that can be included in scripting options that are set by using the ScriptingOptions object.
Classe publique ScriptSchemaObjectBase The ScriptSchemaObjectBase is a base class that is inherited by classes that can use an alternative name used in scripting operations.
Classe publique ScriptWriterException Represents an exception which occurred when trying to write a script.
Classe publique SearchProperty The SearchProperty object represents a search property on a SQL Server database object.
Classe publique SearchPropertyCollection The SearchPropertyCollection class represents a collection of search properties on a SQL Server database object.
Classe publique SearchPropertyList The SearchPropertyList represents a SearchPropertyCollection on a DataBase.
Classe publique SearchPropertyListCollection The SearchPropertyListCollection class represents a collection of type SearchPropertyList associated with a database.
Classe publique Sequence This class represents the SQL Server Sequence. A sequence is a user-defined schema bound object that generates a sequence of numeric values according to the specification with which the sequence was created. The sequence of numeric values is generated in an ascending or descending order at a defined interval and can be configured to restart (cycle) when exhausted. Sequences, unlike identity columns, are not associated with specific tables. Applications refer to a sequence object to retrieve its next value. The relationship between sequences and tables is controlled by the application. User applications can reference a sequence object and coordinate the values across multiple rows and tables.
Classe publique SequenceCollection The SequenceCollection class represents a collection of Sequence objects that represent all the Sequences on the referenced database.
Classe publique SequenceEvents The SequenceEvents object represents the settings required for Microsoft SQL Server Sequence event notification.
Classe publique Server The Server object represents an instance of SQL Server.
Classe publique ServerActiveDirectory Obsolète. The ServerActiveDirectory object provides programmatic access to the Active Directory functionality.
Classe publique ServerAdapter This class aggregates otherwise hidden server properties.
Classe publique ServerAdapterBase A ServerAdapterBase object is a base class that is used in the construction of the ServerAdapter class.
Classe publique ServerAuditSpecification The ServerAuditSpecification object represents an auditable event on the instance of SQL Server.
Classe publique ServerAuditSpecificationCollection The ServerAuditSpecificationCollection class represents a collection of ServerAuditSpecification objects that represent all the audit specifications defined on the server.
Classe publique ServerAuditSpecificationExtender Adds methods and properties to the ServerAuditSpecification object.
Classe publique ServerConfigurationAdapter Exposes methods to refresh and alter server configuration properties.
Classe publique ServerDdlTrigger The ServerDdlTrigger object represents a SQL Server data definition language (DDL) trigger.
Classe publique ServerDdlTriggerCollection The ServerDdlTriggerCollection class represents a collection of ServerDdlTrigger objects that represent all the server data definition language (DDL) triggers defined on a table.
Classe publique ServerDdlTriggerEvent The ServerDdlTriggerEvent object represents the Microsoft SQL Server data definition language (DDL) trigger events that can be included in a server DDL trigger event set.
Classe publique ServerDdlTriggerEventSet The ServerDdlTriggerEventSet object represents a set of SQL Server server data definition language (DDL) trigger events.
Classe publique ServerEvent The ServerEvent object represents the SQL Server server events that can be included in a server event set.
Classe publique ServerEventArgs The ServerEventArgs object provides programmatic access to the arguments that are used to report all types of events that occur on an instance of SQL Server.
Classe publique ServerEvents The ServerEvents object represents the settings required for SQL Server server-level event notification.
Classe publique ServerEventSet The ServerEventSet object represents a set of server events on an instance of SQL Server.
Classe publique ServerPermission The ServerPermission object represents a SQL Server server-level permission.
Classe publique ServerPermissionInfo The ServerPermissionInfo object represents information about a SQL Server server-level permission.
Classe publique ServerPermissionSet The ServerPermissionSet object represents a set of server permissions.
Classe publique ServerProxyAccount The ServerProxyAccount class represents the implementation of a proxy account on an instance of SQL Server. The ProxyAccount object allows for impersonation of job step execution. Created by the system administrator, it can be further be assigned to a login or a server role or a database role and one of the subsystems, except for Transact-SQL.
Classe publique ServerRole The ServerRole object represents a Microsoft SQL Server security role.
Classe publique ServerRoleCollection The ServerRoleCollection class represents a collection of ServerRole objects that represent all the server roles that are defined on a table.
Classe publique ServerRoleEvents The ServerRoleEvents object represents the settings required for Microsoft SQL Server ServerRole event notification.
Classe publique ServerSecurityAdapter A security facet that extends ServerAdapterBase.
Classe publique ServerSelectionAdapter Provides selection options for an instance of SQL Server.
Classe publique ServerSetupAdapter A ServerSetupAdapter object represents a server setup adapter.
Classe publique ServerSurfaceAreaAdapter A ServerSurfaceAreaAdapter object represents a server surface area adapter.
Classe publique ServerTraceEvent The ServerTraceEvent object represents the SQL Server server trace events that can be included in a server trace event set.
Classe publique ServerTraceEventSet The ServerTraceEventSet object represents a set server trace events.
Classe publique ServiceBrokerPayload The ServiceBrokerPayload object represents a SQL Server Service Broker payload.
Classe publique ServiceMasterKey The ServiceMasterKey object represents a Microsoft SQL Server service master key.
Classe publique ServiceQueueEvent The ServiceQueueEvent object represents the Service Broker service queue events that can be included in a service queue event set.
Classe publique ServiceQueueEventSet The ServiceQueueEventSet object represents a set of SQL Server service queue events.
Classe publique ServiceRequestException The ServiceRequestException class represents the exception that is raised when an error occurs during a service request.
Classe publique Settings The Settings object represents a group of configurable settings on the instance of SQL Server.
Classe publique SfcDependencyException The SfcDependencyException class represents an exception thrown by an SFC dependency operation fails.
Classe publique SimpleObjectCollectionBase The SimpleObjectCollectionBase class is a base class that is used in the construction of collection objects.
Classe publique SmoApplication The SmoApplication class represents an SMO application with respect to event management.
Classe publique SmoCollectionBase The SmoCollectionBase class is a base class that is used in the construction of SMO collection classes and contains members that are common to them.
Classe publique SmoDmfAdapter Implements Evaluate(IBaseManagementFacet)
Classe publique SmoEventArgs The SmoEventArgs object provides programmatic access to the arguments used to report the events that occur in SMO applications.
Classe publique SmoException The SmoException class represents the exception that is raised when an error occurs during an SMO operation.
Classe publique SmoObjectBase The SmoObjectBase is a base class that is inherited by the SqlSmoObject class.
Classe publique SmoObjectExtender<T> The SmoObjectExtender<T> class adds methods and properties to an SqlSmoObject class instance.
Classe publique SoapMethodCollectionBase The SoapMethodCollectionBase class is a base class that is inherited by SOAP method collection objects and provides programmatic access to the collection of SOAP methods that exist in the SOAP configuration.
Classe publique SoapMethodObject The SoapMethodObject class provides programmatic access to the referenced SOAP method.
Classe publique SoapPayload The SoapPayload object represents a SQL Server SOAP payload.
Classe publique SoapPayloadMethod The SoapPayloadMethod class represents a SOAP payload method for the referenced HTTP endpoint.
Classe publique SoapPayloadMethodCollection The SoapPayloadMethodCollection class represents a collection of SoapPayloadMethod objects that represent all the SOAP payload methods defined on a table.
Classe publique SortedListCollectionBase The SortedListCollectionBase class is a base class that is used in the construction of sorted list collection classes.
Classe publique SqlAssembly The SqlAssembly class represents an assembly in the Microsoft .NET environment.
Classe publique SqlAssemblyCollection The SqlAssemblyCollection class represents a collection of SqlAssembly objects that represent all the assemblies defined on a table.
Classe publique SqlAssemblyEvent The SqlAssemblyEvent object represents the SQL Server assembly events that can be included in an assembly event set.
Classe publique SqlAssemblyEvents The SqlAssemblyEvents object represents the settings that are required for SQL Server assembly event notification.
Classe publique SqlAssemblyEventSet The SqlAssemblyEventSet object represents a set of assembly events.
Classe publique SqlAssemblyFile The SqlAssemblyFile object represents an assembly file that stores an assembly.
Classe publique SqlAssemblyFileCollection The SqlAssemblyFileCollection class represents a collection of SqlAssemblyFile objects that represent all the assembly files that are defined on a table.
Classe publique SqlPropertyCollection The SqlPropertyCollection class is an abstract class that is used in the management of object properties.
Classe publique SqlPropertyInfo The SqlPropertyInfo class is an abstract class used to store information about properties.
Classe publique SqlServerRegistrations Obsolète. Represents registered instances of SQL Server.
Classe publique SqlSmoObject The SqlSmoObject object represents all SQL Server objects.
Classe publique Statistic The Statistic class represents a SQL Server statistic counter.
Classe publique StatisticCollection The StatisticCollection class represents a collection of Statistic objects that represent all the statistic counters defined on the table or view.
Classe publique StatisticColumn The StatisticColumn object represents a column defined in a SQL Server statistics counter.
Classe publique StatisticColumnCollection The StatisticColumnCollection class represents a collection of StatisticColumn objects that represent all the statistic columns defined on a table.
Classe publique StatisticEvents The StatisticEvents object represents the settings required for SQL Server statistic counter event notification.
Classe publique StoredProcedure The StoredProcedure object represents a SQL Server stored procedure.
Classe publique StoredProcedureCollection The StoredProcedureCollection class represents a collection of StoredProcedure objects that represent all the stored procedures that are defined on a table.
Classe publique StoredProcedureEvent The StoredProcedureEvent object represents the SQL Server stored procedure events that can be included in an stored procedure event set.
Classe publique StoredProcedureEvents The StoredProcedureEvents object represents the settings that are required for SQL Server stored procedure event notification.
Classe publique StoredProcedureEventSet The StoredProcedureEventSet object represents a set of stored procedure events.
Classe publique StoredProcedureParameter The StoredProcedureParameter object represents a SQL Server stored procedure parameter.
Classe publique StoredProcedureParameterCollection The StoredProcedureParameterCollection class represents a collection of StoredProcedureParameter objects that represent all the stored procedure parameters defined on a table.
Classe publique SuspectPage Represents the database page used for Page Restore.
Classe publique SymmetricKey The SymmetricKey object represents a SQL Server symmetric key.
Classe publique SymmetricKeyCollection The SymmetricKeyCollection class represents a collection of SymmetricKey objects that represent all the symmetric keys on the referenced database.
Classe publique SymmetricKeyEncryption The SymmetricKeyEncryption class represents the encryption type used when encrypting symmetric keys.
Classe publique Synonym The Synonym object represents a SQL Server synonym.
Classe publique SynonymCollection The SynonymCollection class represents a collection of Synonym objects that represent all the synonyms on the referenced database.
Classe publique SynonymEvents The SynonymEvents object represents the settings that are required for SQL Server synonym event notification.
Classe publique SystemDataType The SystemDataType object represents a supported system data type. The SystemDataTypeCollection represents all the supported system data types.
Classe publique SystemDataTypeCollection The SystemDataTypeCollection class represents a collection of SystemDataType objects that represent all the system data types on the referenced database.
Classe publique SystemMessage The SystemMessage object represents messages defined by the system.
Classe publique SystemMessageCollection The SystemMessageCollection class represents a collection of SystemMessage objects that represent all the system messages on the instance of SQL Server.
Classe publique Table The Table object represents a SQL Server table.
Classe publique TableCollection The TableCollection class represents a collection of Table objects that represent all the tables on the referenced database.
Classe publique TableEvent The TableEvent object represents the SQL Server table events that can be included in a table event set.
Classe publique TableEvents The TableEvents object represents the settings required for SQL Server table event notification.
Classe publique TableEventSet The TableEventSet object represents a set of table events.
Classe publique TableViewBase The TableViewBase class is a base class that is used in the construction of the Table class and View class. It contains functionality that is common to both classes.
Classe publique TableViewTableTypeBase Base class for table view types.
Classe publique TcpProtocol The TcpProtocol object provides programmatic access to the protocols supported by Microsoft SQL Server.
Classe publique Transfer The Transfer object is a tool object that provides programmatic control over copying of schemas and data to other instances of SQL Server.
Classe publique TransferBase Represents the base class for transfer.
Classe publique Trigger The Trigger object represents a SQL Server trigger.
Classe publique TriggerCollection The TriggerCollection class represents a collection of Trigger objects that represent all the triggers defined on a table.
Classe publique TriggerEvents The TriggerEvents object represents the settings that are required for SQL Server trigger event notification.
Classe publique UnknownPropertyException The UnknownPropertyException class represents the exception that is raised when an SMO operation encounters an unknown property.
Classe publique UnsupportedEngineTypeException The UnsupportedEngineTypeException class represents the exception raised when an SMO operation is attempted on a Database Engine type that does not support that operation. A Database Engine type is either an instance of the Moteur de base de données SQL Server, or SQL Azure.
Classe publique UnsupportedFeatureException The UnsupportedFeatureException class represents the exception raised when an SMO operation encounters a request for an unsupported feature.
Classe publique UnsupportedObjectNameException The UnsupportedObjectNameException class represents the exception that is raised when an SMO operation encounters an unsupported object name.
Classe publique UnsupportedVersionException The UnsupportedVersionException class represents the exception raised when an SMO operation encounters an unsupported version of SQL Server.
Classe publique UrnCollection The UrnCollection class represents a collection of Urn objects that represent Uniform Resource Name (URN) addresses.
Classe publique User The User object represents a SQL Server user.
Classe publique UserCollection The UserCollection class represents a collection of User objects that represent all the database users defined on a database.
Classe publique UserDefinedAggregate The UserDefinedAggregate object represents a SQL Server user-defined aggregate.
Classe publique UserDefinedAggregateCollection The UserDefinedAggregateCollection class represents a collection of UserDefinedAggregate objects that represent all the database user-defined aggregates that are defined on a database.
Classe publique UserDefinedAggregateParameter The UserDefinedAggregateParameter object represents the parameters that are used with a user-defined aggregate.
Classe publique UserDefinedAggregateParameterCollection The UserDefinedAggregateParameterCollection class represents a collection of UserDefinedAggregateParameter objects that represent all the user-defined aggregate parameters that are defined on a table.
Classe publique UserDefinedDataType The UserDefinedDataType object represents a SQL Server user-defined data type.
Classe publique UserDefinedDataTypeCollection The UserDefinedDataTypeCollection class represents a collection of UserDefinedDataType objects that represent all the user-defined data types defined on a table.
Classe publique UserDefinedDataTypeResolver Resolves objects of user-defined types.
Classe publique UserDefinedFunction The UserDefinedFunction object represents a SQL Server user-defined function.
Classe publique UserDefinedFunctionCollection The UserDefinedFunctionCollection class represents a collection of UserDefinedFunction objects that represent all the user-defined functions that are defined on a table.
Classe publique UserDefinedFunctionEvent The UserDefinedFunctionEvent object represents the SQL Server user-defined function events that can be included in a user-defined function event set.
Classe publique UserDefinedFunctionEvents The UserDefinedFunctionEvents object represents the settings that are required for SQL Server user-defined function event notification.
Classe publique UserDefinedFunctionEventSet The UserDefinedFunctionEventSet object represents a SQL Server set of user-defined function events.
Classe publique UserDefinedFunctionParameter The UserDefinedFunctionParameter object represents a SQL Server user-defined function parameter.
Classe publique UserDefinedFunctionParameterCollection The UserDefinedFunctionParameterCollection class represents a collection of UserDefinedFunctionParameter objects that represent all the user-defined function parameters that are defined on a table.
Classe publique UserDefinedMessage The UserDefinedMessage object represents a user-defined message.
Classe publique UserDefinedMessageCollection The UserDefinedMessageCollection class represents a collection of UserDefinedMessage objects that represent all the user-defined messages defined on a table.
Classe publique UserDefinedTableType The UserDefinedTableType object represents a SQL Server user-defined table type data type.
Classe publique UserDefinedTableTypeCollection The UserDefinedTableTypeCollection class represents a collection of UserDefinedTableType objects that represent all the user-defined table types that are defined on a database.
Classe publique UserDefinedTableTypeResolver Resolves the type of a user defined table to an Object.
Classe publique UserDefinedType The UserDefinedType represents an alias data type that is based on .NET data types.
Classe publique UserDefinedTypeCollection The UserDefinedTypeCollection class represents a collection of UserDefinedType objects that represent all the alias data types that are defined on a table.
Classe publique UserDefinedTypeEvents The UserDefinedTypeEvents object represents the settings required for SQL Server user-defined type event notification.
Classe publique UserDefinedTypeResolver Resolves user-defined data types.
Classe publique UserEvents The UserEvents object represents the settings that are required for SQL Server database user event notification.
Classe publique UserOptions The UserOptions object represents a set configurable server options that relate specifically to users.
Classe publique VerifyCompleteEventArgs The VerifyCompleteEventArgs object provides programmatic access to the arguments used to report the details of the event that occurs when a backup verification operation completes.
Classe publique VersionSerializationAdapter Adapts the serialization mode to the version of SQL Server in use.
Classe publique View The View object represents a SQL Server view. 
Classe publique ViewCollection The ViewCollection class represents a collection of View objects that represent all the views defined on a table.
Classe publique ViewEvent The ViewEvent object represents the SQL Server view events that can be included in a view event set.
Classe publique ViewEvents The ViewEvents object represents the settings that are required for SQL Server view event notification.
Classe publique ViewEventSet The ViewEventSet object represents a set of view events.
Classe publique WorkloadGroup The WorkloadGroup class is represents a SQL Server workgroup, which contains a group of session requests. Workload groups allow aggregate monitoring of resource consumption and application of uniform policies to all requests in the group.
Classe publique WorkloadGroupCollection Initializes a workload group.
Classe publique WrongPropertyValueException The WrongPropertyValueException class represents the exception that is raised when a property is assigned the wrong value.
Classe publique XmlSchemaCollection The XmlSchemaCollection object represents a collection of XML namespaces. The collection of XML namespaces behave a composite object though the namespaces can be enumerated within the collection.
Classe publique XmlSchemaCollectionCollection The XmlSchemaCollectionCollection class represents a collection of XmlSchemaCollection objects that represent all the XML schema collections defined on a table. The XmlSchemaCollection object represents a collection of XML namespaces.

Structures

  Structure Description
Structure publique AuditSpecificationDetail The AuditSpecificationDetail object represents a SQL Server audit specification detail required when creating an audit.
Structure publique DdlTextParserHeaderInfo This class supports the SMO infrastructure and is not intended to be used directly from your code.

Interfaces

  Interface Description
Interface publique IAvailabilityGroupState Represents the adapter class that implements the IAvailabilityGroupState logical facet for an Availability Group.
Interface publique IColumnPermission The IColumnPermission class represents the interface that manages permissions for a specified column.
Interface publique IDatabaseMaintenanceFacet Interface that defined methods and properties for the database maintenance facet.
Interface publique IDatabaseOptions Interface with properties that expose database options.
Interface publique IDatabasePerformanceFacet Defines methods and properties that can be used to measure and influence database performance.
Interface publique IDatabaseSecurityFacet Security facet interface.
Interface publique IExtendedProperties The IExtendedProperties class is an interface that represents the collection of extended properties associated with an object.
Interface publique ILoginOptions The ILoginOptions class is an interface that represents a collection of options associated with a login.
Interface publique IMultipartNameFacet Interface to deal with object names containing both the object and the schema.
Interface publique INameFacet Represents the name facet interface.
Interface publique IObjectPermission The IObjectPermission class represents the interface used to set object permissions.
Interface publique IScriptable The IScriptable class represents the interface used to create Transact-SQL scripts of SMO objects.
Interface publique IServerAuditFacet Interface that identifies audit facet members.
Interface publique IServerConfigurationFacet Contains configuration information for interfaces based on the Configuration object.
Interface publique IServerInformation An interface based on the Information type properties.
Interface publique IServerPerformanceFacet An interface for the performance facet.
Interface publique IServerSecurityFacet An interface that defines members for the SeverSecurityFacet.
Interface publique IServerSelectionFacet The IServerSelectionFacet class contains members that represent the SQL Server policy-based management server selection facet objects.
Interface publique IServerSettings An interface for SQL Server 2012 Policy-Based Management that is based on Settings.
Interface publique IServerSetupFacet Represents the Policy-Based Management facet interface for setting up an instance of SQL Server.
Interface publique ISurfaceAreaFacet An interface that defines surface area facet members.
Interface publique ITableOptions The ITableOptions class is an interface that represents a collection of options that is associated with a table.
Interface publique ITextObject The ITextObject class represents the interface that is used to implement text on objects.
Interface publique IUserOptions The IUserOptions class is an interface that represents a collection of options that is associated with a user.
Interface publique IViewOptions The IViewOptions class is an interface that represents a collection of options that is associated with a view.

Délégués

  Délégué Description
Délégué public NextRestoreEventHandler Handles the NextRestoreEvent class.
Délégué public PercentCompleteEventHandler The PercentCompleteEventHandler class represents the event handler that is used to handle percent complete events.
Délégué public ProgressReportEventHandler The ProgressReportEventHandler class represents the event handler that is used to handle progress report events.
Délégué public ScriptingErrorEventHandler The ScriptingErrorEventHandler class represents the event handler that is used to handle scripting errors.
Délégué public ScriptingFilter Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Supplies filtering for scripts.
Délégué public ServerEventHandler The ServerEventHandler class represents the event handler that is used to handle server errors.
Délégué public SmoApplication.AnyObjectEventHandler The SmoApplication.AnyObjectEventHandler class represents the event handler that is used to handle events from any object.
Délégué public SmoApplication.DatabaseEventHandler The SmoApplication.DatabaseEventHandler class represents the event handler that handles database events.
Délégué public SmoApplication.ObjectAlteredEventHandler The SmoApplication.ObjectAlteredEventHandler class represents the event handler that is used to handle events that occur when an object is altered.
Délégué public SmoApplication.ObjectCreatedEventHandler The SmoApplication.ObjectCreatedEventHandler class represents the event handler that is used to handle events when an object is created.
Délégué public SmoApplication.ObjectDroppedEventHandler The SmoApplication.ObjectDroppedEventHandler class represents the event handler that is used to handle events when an object is dropped.
Délégué public SmoApplication.ObjectRenamedEventHandler The SmoApplication.ObjectRenamedEventHandler class represents the event handler that handles events that occur when an object is renamed.
Délégué public VerifyCompleteEventHandler The VerifyCompleteEventHandler class represents the event handler that handles completion events.

Énumérations

  Énumération Description
Énumération publique ActivationExecutionContext The ActivationExecutionContext enumeration contains values that specify the security context used by a procedure. These procedures are activated by a service queue.
Énumération publique AffinityType The AffinityType enumeration represents the possible affinity settings for an instance of SQL Server.
Énumération publique AssemblyAlterOptions The AssemblyAlterOptions enumeration contains values that are used to specify the addition options when modifying an assembly. The values are bit flag values, and they can be combined by adding the values.
Énumération publique AssemblySecurityLevel The AssemblySecurityLevel enumeration contains values that are used to specify the access rights for an assembly.
Énumération publique AsymmetricKeyEncryptionAlgorithm The AsymmetricKeyEncryptionAlgorithm enumeration contains values that are used to specify an encryption algorithm used on an asymmetric key.
Énumération publique AsymmetricKeySourceType The AsymmetricKeySourceType enumeration contains values that are used to specify the source type used to load an asymmetric key.
Énumération publique AttachOptions The AttachOptions enumeration contains values that are used to specify attach options.
Énumération publique AuditActionType Specifies the type of action for SQL Server audit events.
Énumération publique AuditDestinationType The AuditDestination enumeration contains values that are used to specify the destination, to which the results of a SQL Server Audit are sent.
Énumération publique AuditFileSizeUnit The AuditFileSizeUnit enumeration contains values that are used to specify the unit that specifies the size of the audit file.
Énumération publique AuditLevel The AuditLevel enumeration contains values that are used to specify the SQL Server audit level setting.
Énumération publique AuditStatusType The AuditStatusType enumeration contains values that are used to specify the status of the audit.
Énumération publique AuthenticationType Specifies the Sql server authentication type.
Énumération publique AvailabilityDatabaseSynchronizationState Represents the current state of the availability database synchronization.
Énumération publique AvailabilityGroupAutomatedBackupPreference Specifies how replicas in the primary role are treated in the evaluation to pick the desired replica to perform a backup.
Énumération publique AvailabilityGroupFailureConditionLevel Specifies the different conditions that can trigger an automatic failover in Availability Group.
Énumération publique AvailabilityGroupListenerIPState Specifies the state of the Availability Group Listener IP Address.
Énumération publique AvailabilityGroupRollupSynchronizationState Specifies a rollup of the synchronization states of the availability replicas in the availability group.
Énumération publique AvailabilityReplicaAvailabilityMode Specifies the availability modes of Availability Replica.
Énumération publique AvailabilityReplicaConnectionModeInPrimaryRole Specifies the connection intent modes of an Availability Replica in primary role.
Énumération publique AvailabilityReplicaConnectionModeInSecondaryRole Specifies the connection modes of an Availability Replica in secondary role.
Énumération publique AvailabilityReplicaConnectionState Represents the current availability replica connection state.
Énumération publique AvailabilityReplicaFailoverMode Specifies the failover modes of Availability Replica.
Énumération publique AvailabilityReplicaJoinState Specifies the availability replica join state.
Énumération publique AvailabilityReplicaOperationalState Specifies the state of the replica's readiness to process client requests for all databases replicas in the availability group residing on it.
Énumération publique AvailabilityReplicaRole Represents the availability replica role.
Énumération publique AvailabilityReplicaRollupRecoveryState Specifies a rollup of the recovery state of all database replicas in the availability group that reside on this availability replica.
Énumération publique AvailabilityReplicaRollupSynchronizationState Specifies the current synchronization state of the availability replica.
Énumération publique BackupActionType The BackupActionType enumeration contains values that are used to specify the type of backup.
Énumération publique BackupCompressionOptions The BackupCompressionOptions enumeration contains values that are used to specify the backup compression option.
Énumération publique BackupDeviceType The BackupDeviceType enumeration contains values that are used to specify the backup device type.
Énumération protégée BackupRestoreBase.AsyncOperation The BackupRestoreBase.AsyncOperation enumeration contains values that are used to specify which backup components are running asynchronously.
Énumération publique BackupSetFlag The BackupSetFlag enumeration contains values that are used to specify the purpose of the backup.
Énumération publique BackupSetType The BackupSetType enumeration contains values that are used to specify the backup type.
Énumération publique BackupTruncateLogType The BackupTruncateLogType enumeration contains values that are used to specify the truncate action taken on the log.
Énumération publique CatalogPopulationAction The CatalogPopulationAction enumeration contains values that are used to specify the method used to populate a full-text catalog.
Énumération publique CatalogPopulationStatus The CatalogPopulationStatus enumeration contains values that are used to specify the status of the full-text catalog.
Énumération publique CertificateSourceType The CertificateSourceType enumeration contains values that are used to specify the source of the certificate.
Énumération publique ChangeTracking The ChangeTracking enumeration contains values that are used to specify change tracking in a full-text index.
Énumération publique ClusterMemberState Specifies the state of a member in a Windows Cluster.
Énumération publique ClusterMemberType Specifies the type of node in the windows cluster.
Énumération publique ClusterQuorumState Specifies the current stat of the cluster quorum.
Énumération publique ClusterQuorumType Specifies the different types of ways a cluster can decide on a quorum.
Énumération publique CollationVersion The CollationVersion enumeration contains values that specify the collation versions.
Énumération publique CompatibilityLevel The CompatibilityLevel enumeration is a list of constant values that specify the behavior that corresponds to a version of SQL Server.
Énumération publique ContainmentType Specifies the containment types of a database.
Énumération publique CreateDispositionType The CreateDispositionType enumeration contains values that are used to specify the source of the symmetric key.
Énumération publique DatabaseDdlTriggerExecutionContext The DatabaseDdlTriggerExecutionContext enumeration contains values that are used to specify the execution context under which the database DDL trigger runs.
Énumération publique DatabaseEncryptionAlgorithm Specifies the algorithm used to encrypt the database encryption key
Énumération publique DatabaseEncryptionState Enumerates the possible encryption states of a database.
Énumération publique DatabaseEncryptionType The DatabaseEncryptionType enumeration contains values that are used to specify the encryption types.
Énumération publique DatabaseEventType The DatabaseEventType enumeration is a list of constant values that specify the database event type.
Énumération publique DatabaseObjectTypes The DatabaseObjectTypes enumeration is a list of constant values that specifies the types of database object.
Énumération publique DatabasePermissionSetValue The DatabasePermissionSetValue enumeration is a list of constant values that specify all the database permissions.
Énumération publique DatabaseRecoveryState Specifies the state of the database restore operation.
Énumération publique DatabaseReplicaSuspendReason Specifies the different reasons for a database replica to be in suspended state.
Énumération publique DatabaseStatus The DatabaseStatus enumeration is a list of constant values that specify the status of a database, whether it be loading, recovering, or normal, for example. This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
Énumération publique DatabaseUserAccess The DatabaseUserAccess enumeration is a list of constant values that specify how user access can be restricted.
Énumération publique DataCompressionType The DataCompressionType enumeration contains values that are used to specify the type of data compression used to store data on the physical partition.
Énumération publique DependencyType The DependencyType enumeration is a list of constant values that specifies the direction of the dependency discovery operation.
Énumération publique DeviceType The DeviceType enumeration is a list of constant values that specify the various different types of devices supported by SQL Server.
Énumération publique DistributionType Specifies how the scale out system distributes a federated (Federation) table.
Énumération publique Edition The Edition enumeration is a list of constant values that specify the various different types of devices that are supported by SQL Server.
Énumération publique EndpointAuthenticationOrder The EndpointAuthenticationOrder enumeration contains values that are used to specify the authentication methods and order of preference for the endpoint connection.
Énumération publique EndpointEncryption The EndpointEncryption enumeration contains values that are used to specify the state of encryption on the endpoint.
Énumération publique EndpointEncryptionAlgorithm The EndpointEncryptionAlgorithm enumeration contains values that are used to specify an encryption algorithm used on an endpoint.
Énumération publique EndpointState The EndpointState enumeration is a list of constant values that specifies the state of the HTTP endpoint.
Énumération publique EndpointType The EndpointType enumeration is a list of constant values that specifies the type of HTTP endpoint.
Énumération publique EventType The EventType enumeration is a list of constant values that specify the various different types of events that are supported by SQL Server.
Énumération publique ExecutionContext The ExecutionContext enumeration is a list of constant values that specify the different types of context (or which role is assumed) when executing a process represented by an object.
Énumération publique ExecutionStatus The ExecutionStatus enumeration is a list of constant values that specify the status of an executing process.
Énumération publique FileGrowthType The FileGrowthType enumeration is a list of constant values that specify whether file growth is determined by percentage amount or by KB.
Énumération publique FilestreamAccessLevelType The FilestreamAccessLevelType enumeration contains values that are used to specify the type of access permitted on file stream operations.
Énumération publique FileStreamEffectiveLevel The FileStreamEffectiveLevel enumeration contains values that are used to specify the file stream level.
Énumération publique FileStreamLevel The FileStreamLevel enumeration contains values that are used to specify the file stream level.
Énumération publique FilestreamNonTransactedAccessType Enumerates the file stream non-transacted access types.
Énumération publique ForeignKeyAction The ForeignKeyAction enumeration is a list of constant values that specify the action that is taken when the primary key reference by a foreign key is updated.
Énumération publique FragmentationOption The FragmentationOption enumeration is a list of constant values that specify the levels of detail of collected fragmentation information.
Énumération publique FullTextCatalogUpgradeOption The FullTextCatalogUpgradeOption enumeration contains values that are used to specify the action taken when the full-text catalog is upgraded.
Énumération publique HadrManagerStatus Enumeration to represent the status of the Hadr manager.
Énumération publique HttpAuthenticationModes The HttpAuthenticationModes enumeration contains values that specify the HTTP port for HTTP endpoints.
Énumération publique HttpPortTypes The HttpPortTypes enumeration contains values that are used to specify the type HTTP port.
Énumération publique ImplementationType The ImplementationType enumeration contains values that are used to specify the type of implementation for a stored procedure, a user-defined function, and other objects.
Énumération publique IndexedXmlPathType Specifies an enumeration of type of indexed XML path.
Énumération publique IndexEnableAction The IndexEnableAction enumeration contains values that are used to specify the action that is taken on an index when it is enabled after having been disabled.
Énumération publique IndexKeyType The IndexKeyType enumeration contains values that are used to specify the type of key on which the index is created.
Énumération publique IndexOperation The IndexOperation enumeration contains values that are used to specify index operations.
Énumération publique IndexPopulationAction The IndexPopulationAction enumeration contains values that are used to specify the type of Microsoft Search full-text index population.
Énumération publique IndexPopulationStatus The IndexPopulationStatus enumeration contains values that are used to specify the type of population in progress.
Énumération publique IndexType Specifies the type of an index.
Énumération publique InDoubtTransactionResolutionType Enumerates possible responses to in-doubt transactions.
Énumération publique InstanceState The InstanceState enumeration contains values that are used to specify the possible states of an instance of SQL Server.
Énumération publique KeyEncryptionType The KeyEncryptionType enumeration is a list of constant values that specify the key encryption type.
Énumération publique LinkedTableType The LinkedTableType enumeration contains values that specify the type of table accessed on a linked server.
Énumération publique LinkFieldType The LinkFieldType enumeration contains values that specify the type of link field.
Énumération publique LockEscalationType An enumeration that lists lock escalation types.
Énumération publique LockRequestStatus The LockRequestStatus enumeration contains constant values that specify the lock request status.
Énumération publique LoginCreateOptions The LoginCreateOptions enumeration contains values that are used to specify the password options when you create a logon.
Énumération publique LoginType The LoginType enumeration contains values that are used to specify the authentication type and the Windows account type.
Énumération publique LogReuseWaitStatus The LogReuseWaitStatus enumeration contains values that specify the current operation on which the reuse of transaction log space is waiting.
Énumération publique MappedClassType Enumerates credential mapping options.
Énumération publique MediaTypes The MediaTypes enumeration contains values that are used to specify the type of media used to store data. This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
Énumération publique MethodLoginType The MethodLoginType enumeration contains values that are used to specify the method used for logging on to the instance of SQL Server.
Énumération publique MethodXsdSchemaOption The MethodXsdSchemaOption enumeration contains values that specify the XSD schema returned for a SOAP method.
Énumération publique MirroringOption The MirroringOption enumeration contains values that specify the mirroring options for a database.
Énumération publique MirroringRole The MirroringRole enumeration contains values that specify the role the database plays in mirroring.
Énumération publique MirroringSafetyLevel The MirroringSafetyLevel enumeration contains values that specify the safety guarantee on updates to the mirrored database.
Énumération publique MirroringStatus The MirroringStatus enumeration contains values that specify the state of a database regarding mirroring.
Énumération publique MirroringWitnessStatus The MirroringWitnessStatus enumeration contains values that specify the state of the mirroring witness.
Énumération publique Month The Month enumeration contains constant values that specify the twelve calendar months.
Énumération publique NSActivationState The NSActivationState enumeration contains constant values that specify the activation state of Notification Services.
Énumération publique NumaNodeAffinity The NumaNodeAffinity enumeration defines the affinity states for a Cpu object.
Énumération publique ObjectClass The ObjectClass enumeration contains values that specify the SMO class type.
Énumération publique ObjectPermissionSetValue The ObjectPermissionSetValue enumeration is a list of constant values that specify all the object permissions.
Énumération publique OnFailureAction Specifies the action that needs to be taken when the audit sink cannot perform the write.
Énumération publique PageVerify The PageVerify enumeration contains constant values that specify the automatic page verification options for a database.
Énumération publique PasswordHashAlgorithm Displays the password hash algorithm in the Server Management Objects.
Énumération publique PerfMonMode The PerfMonMode enumeration contains values that are used to specify the polling behavior in Performance Monitor.
Énumération publique PermissionState The PermissionState enumeration contains values that specify the state of a permission.
Énumération publique PlanGuideType Enumerates the possible Plan Guide types.
Énumération publique PrincipalType The PrincipalType enumeration contains values that specify the type of user, role, or login.
Énumération publique PrivateKeyEncryptionType The PrivateKeyEncryptionType enumeration contains values that are used to specify the encryption types for a private key associated with a certificate or an asymmetric key.
Énumération publique PrivilegeTypes The PrivilegeTypes enumeration contains values that are used to specify the operations that the grantee can perform on the specified object when permission is granted.
Énumération publique ProtocolType The ProtocolType enumeration contains values that are used to specify the type of protocol.
Énumération publique ProviderAuthenticationType Specifies the type of authentication supported by Cryptographic Provider.
Énumération publique RangeType The RangeType enumeration contains values that are used to specify the type range.
Énumération publique RecoveryModel The RecoveryModel enumeration contains values that are used to specify the type of recovery model.
Énumération publique RepairOptions The RepairOptions enumeration contains values that are used to specify the repair options that are used when checking data in a table.
Énumération publique RepairStructure The RepairRepairStructure enumeration contains values that are used to specify the type of repair options used when checking data in a table.
Énumération publique RepairType The RepairType enumeration contains values that are used to specify the type of repair mode used by the database consistency check (DBCC) functions.
Énumération publique ReplicationOptions The ReplicationOptions enumeration contains values that are used to specify the replication settings for the referenced database.
Énumération publique ResourceUsage The ResourceUsage enumeration contains values that specify the relative operating system execution priority setting for the Microsoft Search service.
Énumération publique RestoreActionType The RestoreActionType enumeration contains values that are used to specify the type of action that is required during a data restore operation.
Énumération publique RestoreType The RestoreType enumeration contains values that specify the type of restore operation to perform.
Énumération publique ResultFormat The ResultFormat enumeration contains values that specify the format in which to return results for an HTTP endpoint.
Énumération publique RetentionPeriodUnits Enumerates values that specify the units for the retention period.
Énumération publique RoleTypes The RoleTypes enumeration contains values that are used to specify the type of role.
Énumération publique SecondaryXmlIndexType The SecondaryXmlIndexType enumeration contains values that are used to specify the secondary XML index type.
Énumération publique SequenceCacheType The SequenceCacheType enumeration contains constant values that specify the type of caching used by a Sequence.
Énumération publique ServerDdlTriggerExecutionContext The ServerDdlTriggerExecutionContext enumeration contains values that are used to specify the execution context under which the server DDL trigger runs.
Énumération publique ServerLoginMode The ServerLoginMode enumeration contains values that are used to specify the method used to connect to the instance of SQL Server.
Énumération publique ServerMirroringRole The ServerMirroringRole enumeration contains values that are used to specify the role of the instance of SQL Server when participating in mirroring.
Énumération publique ServerPermissionSetValue The ServerPermissionSetValue enumeration is a list of constant values that specify all the database permissions.
Énumération publique ServerStatus The ServerStatus enumeration contains values that are used to specify the status of the instance of SQL Server. 
Énumération publique ServiceStartMode The ServiceStartMode enumeration contains values that are used to specify the method that is used to start a service.
Énumération publique ShrinkMethod The ShrinkMethod enumeration contains values that are used to specify the method that is used shrink a database file.
Énumération publique SmoExceptionType The SmoExceptionType enumeration contains values that are used to specify the type of SMO exception.
Énumération publique SnapshotIsolationState The SnapshotIsolationState enumeration contains values that are used to specify the current state of snapshot isolation.
Énumération publique SortOrder The SortOrder enumeration contains values that specify how objects are sorted in an enumerated list.
Énumération publique SpatialGeoLevelSize Enumerates grid density levels for spatial indexes.
Énumération publique SpatialIndexType Enumerates possible spatial index types.
Énumération publique SqlDataType The SqlDataType enumeration contains values that are used to specify a SQL Server data type.
Énumération publique SqlServerVersion The SqlServerVersion enumeration contains values that are used to specify the version of the referenced instance of SQL Server.
Énumération publique SqlServerVersions The SqlServerVersions enumeration contains values that are used to specify the version of the referenced instance of SQL Server.
Énumération publique SqlSmoState The SqlSmoState enumeration contains values that are used to specify the state of an SMO object.
Énumération publique SqlVerifyAction The SqlVerifyAction enumeration contains values that are used to specify the type of backup verification.
Énumération publique StatisticsScanType The StatisticsScanType enumeration contains values that specify the ways in which statistical information is collected from tables or views during the creation or update of a statistic counter.
Énumération publique StatisticsTarget The StatisticsTarget enumeration contains values that specify the type of statistic that is targeted for the update operation.
Énumération publique StopListOption The StopListOption enumeration contains values that are used to specify the way in which a new stop list is created.
Énumération publique SymmetricKeyEncryptionAlgorithm The SymmetricKeyEncryptionAlgorithm enumeration contains values that specify the algorithm that is used to encrypt the symmetric key.
Énumération publique SymmetricKeyEncryptionType The SymmetricKeyEncryptionType enumeration contains constant values that specify the type of symmetric key encryption.
Énumération publique SynonymBaseType The SynonymBaseType enumeration contains constant values that specify the type of synonym.
Énumération publique TerminationClause The TerminationClause enumeration contains constant values that specify the action taken when transactions are terminated.
Énumération publique TransactionTypes The TransactionTypes enumeration contains constant values that specify the method of recording transactions.
Énumération publique UrnIdOption Enumerates URN identification options.
Énumération publique UserDefinedFunctionType The UserDefinedFunctionType enumeration is a list of constant values that specify the types of user-defined functions that are supported by SQL Server.
Énumération publique UserDefinedTypeFormat The UserDefinedTypeFormat enumeration is a list of constant values that specify the formats used by user-defined types.
Énumération publique UserType The UserType enumeration contains constant values that specify the security type for the user.
Énumération publique WindowsLoginAccessType The WindowsLoginAccessType enumeration contains constant values that specify the type of access a Windows login has to the instance of SQL Server.
Énumération publique WorkloadGroupImportance The WorkloadGroupImportance enumeration contains values that specify the importance of workload groups.
Énumération publique WsdlGeneratorOption The WsdlGeneratorOption enumeration contains constant values that specify the Web Services Description Language (WSDL) generator options.
Énumération publique XmlDocumentConstraint The XmlDocumentConstraint enumeration contains constant values that specify the constraints imposed on an XML document.
Énumération publique XmlFormatOption The WsdlGeneratorOption enumeration contains constant values that specify the Web Services Description Language (WSDL) generator options.
Énumération publique XmlTypeDerivation The XmlTypeDerivation enumeration contains constant values that specify the XML type derivation.
Énumération publique XmlTypeKind The XmlTypeKind enumeration contains constant values that specify the kind of XML component.
Énumération publique XsdSchemaOption The XsdSchemaOption enumeration contains constant values that specify whether an inline schema for the method result is returned in the SOAP response.