Microsoft.SqlServer.Management.Smo 命名空間

The Microsoft.SqlServer.Management.Smo namespace contains classes that represent the core SQL Server Database Engine objects. These include instances, databases, tables, stored procedures, and views.

The Microsoft.SqlServer.Management.Smo namespace contains the instance object classes that represent SQL Server Database Engine objects and some utility classes that represent specific tasks, such as scripting. When a connection to the instance of the SQL Server Database Engine 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 SQL Server Database Engine. 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 SQL Server Database Engine.

  • View and modify instance settings and configuration options.

  • View and modify database objects.

  • Perform DDL (data definition language) tasks on an instance of the SQL Server Database Engine.

  • Script databases dependencies.

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

  • Transfer database schemas and data.

類別

  類別 說明
公用類別 AbstractCollectionBase The AbstractCollectionBase object is a base class object that is used in the construction of collection objects.
公用類別 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.
公用類別 ApplicationRole The ApplicationRole object represents a security role that is used to set access privileges from an application regardless of the user's permissions.
公用類別 ApplicationRoleCollection The ApplicationRoleCollectionclass represents a collection of ApplicationRole objects that represent all the application roles on the referenced database.
公用類別 ApplicationRoleEvents The ApplicationRoleEvents object represents the settings required for Microsoft SQL Server application role event notification.
公用類別 ArrayListCollectionBase The ArrayListCollectionBase object represents a base class that is used in the construction of collections that are based on array lists.
公用類別 AsymmetricKey The AsymmetricKey object represents a SQL Server asymmetric key.
公用類別 AsymmetricKeyCollection The AsymmetricKeyCollection class represents a collection of AsymmetricKey objects that represent all the asymmetric keys on the referenced database.
公用類別 AsyncStatus The AsyncStatus object represents the status of an asynchronous process.
公用類別 Audit The Audit object represents a SQL Server audit log.
公用類別 AuditCollection The AuditCollection class represents a collection of Audit objects that represent all the audits on the instance of SQL Server.
公用類別 AuditExtender Adds methods and properties to the Audit object.
公用類別 AuditSpecification The AuditSpecification class defines the audit groups and specifies the server audit that they belong to.
公用類別 Backup The Backup object provides programmatic access to Microsoft SQL Server backup operations.
公用類別 BackupDevice The BackupDevice object provides programmatic access to SQL Server backup devices.
公用類別 BackupDeviceCollection The BackupDeviceCollection class represents a collection of BackupDevice objects that represent all the backup devices on an instance of SQL Server.
公用類別 BackupDeviceItem The BackupDeviceItem object provides programmatic access to named SQL Server backup devices.
公用類別 BackupDeviceList The BackupDeviceList object provides programmatic access to a list backup devices.
公用類別 BackupRestoreBase The BackupRestoreBase class is a base class that represents functionality that is common to both backup and restore operations.
公用類別 Certificate The Certificate object represents a SQL Server certificate.
公用類別 CertificateCollection The CertificateCollection class represents a collection of Certificate objects that represent all the certificates on an instance of SQL Server.
公用類別 CertificateEvents The CertificateEvents object represents the settings that are required for SQL Server Certificate event notification.
公用類別 Check The Check object represents a SQL Server check constraint. 
公用類別 CheckCollection The CheckCollection class represents a collection of Check objects that represent all the check constraints defined on the parent object.
公用類別 CollectionNotAvailableException The CollectionNotAvailableException class is an exception that is raised when an attempt is made to retrieve a collection that is not available.
公用類別 Column Column 物件代表 SQL Server 資料行。
公用類別 ColumnCollection The ColumnCollection class represents a collection of Column objects that represent all the columns defined on a table.
公用類別 ConfigProperty The ConfigProperty object contains information pertaining to a Microsoft SQL Server configuration option, such as maximum, minimum, current, and new values.
公用類別 ConfigPropertyCollection The ConfigPropertyCollection class represents a collection of ConfigProperty objects that represent all the configuration properties defined on the instance of SQL Server.
公用類別 Configuration Configuration 類別包含 SQL Server 執行個體的組態資訊。
公用類別 ConfigurationBase The ConfigurationBase class is a base class that represents configuration information for the instance of SQL Server.
公用類別 Cpu The Cpu class contains information about one CPU on an instance of SQL Server.
公用類別 CpuCollection The CpuCollection class represents a collection of Cpu objects that represent all the CPUs that are defined on an instance of SQL Server.
公用類別 Credential The Credential object represents a Microsoft SQL Server credential.
公用類別 CredentialCollection The CredentialCollection class represents a collection of Credential objects that represent all the credentials defined on the instance of Microsoft SQL Server.
公用類別 CryptographicProvider The CryptographicProvider object represents a SQL Server cryptographic provider.
公用類別 CryptographicProviderCollection A collection of type CryptographicProviderCollection that represents a collection of CryptographicProviderr objects.
公用類別 Database Database 物件代表 SQL Server 資料庫。
公用類別 DatabaseActiveDirectory The DatabaseActiveDirectory object provides programmatic access to the Active Directory settings for a database.
公用類別 DatabaseAdapter Database Adapter type to be used as a management facet.
公用類別 DatabaseAdapterBase Database adapter base.
公用類別 DatabaseAuditSpecification The DatabaseAuditSpecification object represents an auditable event on the database.
公用類別 DatabaseAuditSpecificationCollection The DatabaseAuditSpecificationCollection class represents a collection of DatabaseAuditSpecification objects that represent all the audit specifications defined on the database.
公用類別 DatabaseAuditSpecificationExtender Adds methods and properties to the DatabaseAuditSpecification object.
公用類別 DatabaseCollection The DatabaseCollection class represents a collection of Database objects that represent all the databases defined on the instance of SQL Server.
公用類別 DatabaseDdlTrigger The DatabaseDdlTrigger object represents a SQL Server database data definition language (DDL) trigger.
公用類別 DatabaseDdlTriggerCollection The DatabaseDdlTriggerCollection class represents a collection of DatabaseDdlTrigger objects that represent all the database data definition language (DDL) triggers defined on a table.
公用類別 DatabaseDdlTriggerEvent The DatabaseDdlTriggerEvent object represents the SQL Server database DDL trigger events that can be included in a database DDL trigger event set.
公用類別 DatabaseDdlTriggerEventSet The DatabaseDdlTriggerEventSet object represents a set of SQL Server database data definition language (DDL) trigger events.
公用類別 DatabaseEncryptionKey Creates a database encryption key.
公用類別 DatabaseEncryptionKeyExtender Extends the database encryption key class.
公用類別 DatabaseEvent The DatabaseEvent object represents the SQL Server database events that can be included in a database event set.
公用類別 DatabaseEventArgs The DatabaseEventArgs object represents the arguments passed by the event raised by the database.
公用類別 DatabaseEvents The DatabaseEvents object represents the settings required for Microsoft SQL Server database event notification.
公用類別 DatabaseEventSet The DatabaseEventSet object represents a SQL Server set of database events.
公用類別 DatabaseFile The DatabaseFile object is a base class used in the construction of DataFile objects and LogFile objects.
公用類別 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.
公用類別 DatabaseMaintenanceAdapter The Database Maintenance facet has logical properties. It inherits from the DatabaseAdapter class.
公用類別 DatabaseMapping The DatabaseMapping object represents a SQL Server database mapping.
公用類別 DatabaseMirroringPayload The DatabaseMirroringPayload object represents database mirroring payload settings.
公用類別 DatabaseOptions The DatabaseOptions object represents SQL Server database options.
公用類別 DatabasePerformanceAdapter The Database Performance facet implements logical properties relevant to database performance management.
公用類別 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.
公用類別 DatabasePermissionInfo The DatabasePermissionInfo object represents information about a SQL Server database permission.
公用類別 DatabasePermissionSet DatabasePermissionSet 物件代表 SQL Server 資料庫權限集。
公用類別 DatabaseRole The DatabaseRole object represents a SQL Server database security role.
公用類別 DatabaseRoleCollection The DatabaseRoleCollection class represents a collection of DatabaseRole objects that represent all the database roles defined on the parent database.
公用類別 DatabaseSecurityAdapter Includes properties and methods that are used to expose the Database Security facet.
公用類別 DatabaseSnapshotExtender Adds methods and properties to the DatabaseSnapshot object.
公用類別 DataFile The DataFile object represents a SQL Server data file.
公用類別 DataFileCollection The DataFileCollection class represents a collection of DataFile objects that represent all the data files defined on the parent object.
公用類別 DataType The DataType object represents a SQL Server data type.
公用類別 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.
公用類別 Default The Default object represents a SQL Server default.
公用類別 DefaultCollection The DefaultCollection class represents a collection of Default objects.
公用類別 DefaultConstraint The DefaultConstraint object represents a SQL Server default constraint.
公用類別 DefaultRuleBase The DefaultRuleBase class is a base class that is inherited by the Rule class and the Default class.
公用類別 DependencyCollection The DependencyCollection class represents a collection of Dependency objects that are used to derive the node classes in SMO scripting operations.
公用類別 DependencyCollectionNode The DependencyCollectionNode class represents a node in the dependency collection that is derived during scripting operations.
公用類別 DependencyNode The DependencyNode class represents a node that is defined by a URN address.
公用類別 DependencyTree The DependencyTree object represents a tree structure that contains SQL Server objects and their hierarchical relationships to each other.
公用類別 DependencyTreeNode The DependencyTreeNode class represents the child and sibling SQL Server objects within a DependencyTree object hierarchy.
公用類別 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.
公用類別 Endpoint The Endpoint class represents an endpoint service that can listen natively for requests.
公用類別 EndpointCollection The EndpointCollection class represents a collection of Endpoint objects that represent all the HTTP endpoints.
公用類別 EndpointPayload The EndpointPayload object represents an endpoint payload.
公用類別 EndpointProtocol The EndpointProtocol object represents an HTTP endpoint protocol.
公用類別 EventProperty The EventProperty class represents a property of an event.
公用類別 EventPropertyCollection The EventPropertyCollection object represents the properties of event objects.
公用類別 EventSetBase The EventSetBase class is a base class that is used to derive the event set objects.
公用類別 ExtendedProperty The ExtendedProperty object represents the extended properties that are defined for any object that has an ExtendedProperties collection property.
公用類別 ExtendedPropertyCollection The ExtendedPropertyCollection class represents a collection of ExtendedPropertyCollectionobjects that represent all the extended properties.
公用類別 ExtendedStoredProcedure The ExtendedStoredProcedure object represents an extended stored procedure on the instance of Microsoft SQL Server.
公用類別 ExtendedStoredProcedureCollection The ExtendedStoredProcedureCollection class represents a collection of ExtendedStoredProcedure objects that represent all the extended stored procedures defined on the parent database.
公用類別 FailedOperationException FailedOperationException 類別表示作業失敗時引發的例外狀況。.失敗的資料庫作業包括 CREATE、DROP、ALTER、SCRIPT、REFRESH 和 RENAME。當 SMO 中的某些公用方法失敗時,可能也會引發這個例外狀況。
公用類別 FileGroup FileGroup 物件表示 SQL Server 檔案群組。如需有關檔案群組的詳細資訊,請參閱<使用檔案群組和檔案來儲存資料>。
公用類別 FileGroupCollection The FileGroupCollection class represents a collection of FileGroup objects that represent all the filegroups defined on the parent database.
公用類別 ForeignKey The ForeignKey object represents a SQL Server foreign key.
公用類別 ForeignKeyCollection The ForeignKeyCollection class represents a collection of ForeignKey objects that represent all the foreign keys defined on the parent object.
公用類別 ForeignKeyColumn The ForeignKeyColumn object represents a SQL Server foreign key column.
公用類別 ForeignKeyColumnCollection The ForeignKeyColumnCollection class represents a collection of ForeignKeyColumn objects that represent all the foreign key columns defined on the parent object.
公用類別 FrequencyPair The FrequencyPair object is a utility that measures frequency by storing count and duration information.
公用類別 FullTextCatalog The FullTextCatalog object represents a Microsoft Search full-text catalog.
公用類別 FullTextCatalogCollection The FullTextCatalogCollection class represents a collection of FullTextCatalog objects that represent all the full-text catalogs defined on the parent object.
公用類別 FullTextIndex The FullTextIndex object represents a Microsoft Search full-text index.
公用類別 FullTextIndexColumn The FullTextIndexColumn object represents a Microsoft Search full-text index column.
公用類別 FullTextIndexColumnCollection The FullTextIndexColumnCollection class represents a collection of FullTextIndexColumn objects that represent all the full-text index columns defined on the parent object.
公用類別 FullTextService The FullTextService object allows programmatic access to the Microsoft Search full-text settings.
公用類別 FullTextStopList The FullTextStopList object represents a full-text stop list.
公用類別 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.
公用類別 HttpProtocol The HttpProtocol object represents an HTTP protocol on an instance of Microsoft SQL Server.
公用類別 Index The Index object represents a SQL Server index.
公用類別 IndexCollection The IndexCollection class represents a collection of Index objects that represent all the indexes defined on the instance of SQL Server.
公用類別 IndexedColumn The IndexedColumn object represents a SQL Server column that is participating in an index. 
公用類別 IndexedColumnCollection The IndexedColumnCollection class represents a collection of IndexedColumn objects that represent all the indexed columns defined on the instance of SQL Server.
公用類別 IndexEvents The IndexEvents object represents the settings that are required for SQL Server index event notification.
公用類別 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.
公用類別 InternalSmoErrorException The InternalSmoErrorException class represents the exception raised when an error occurs during the internal phase of a SMO operation.
公用類別 InvalidSmoOperationException The InvalidSmoOperationException class represents the exception raised when an SMO operation is not valid.
公用類別 InvalidVersionSmoOperationException The InvalidVersionSmoOperationException class represents the exception raised when the version is not valid on an SMO operation.
公用類別 JobScheduleCollectionBase The JobScheduleCollectionBase class represents a base class that is used in the construction of the JobScheduleCollection class.
公用類別 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.
公用類別 LanguageCollection The LanguageCollection class represents a collection of Language objects that represent all the languages which are defined on the instance of SQL Server.
公用類別 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.
公用類別 LinkedServerCollection The LinkedServerCollection class represents a collection of LinkedServer objects that represent all the linked servers registered on the instance of SQL Server.
公用類別 LinkedServerLogin The LinkedServerLogin object represents a SQL Server logon account that has permission to connect to the linked server.
公用類別 LinkedServerLoginCollection The LinkedServerLoginCollection class represents a collection of LinkedServerLogin objects that represent all the linked server logins defined on the linked server.
公用類別 LogFile The LogFile object represents a SQL Server log file.
公用類別 LogFileCollection The LogFileCollection class represents a collection of LogFile objects that represent all the log files defined on the instance of Microsoft SQL Server.
公用類別 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.
公用類別 LoginCollection The LoginCollection class represents a collection of Login objects that represent all the login accounts defined on the instance of SQL Server.
公用類別 LoginEvents The LoginEvents object represents the settings required for SQL Server login event notification.
公用類別 MasterKey The MasterKey object represents a SQL Server database master key.
公用類別 MessageCollectionBase MessageCollectionBase 類別是基底類別,用於建構訊息集合類別。
公用類別 MessageObjectBase The MessageObjectBase class is a base class that is inherited by message classes.
公用類別 MissingObjectException The MissingObjectException class represents the exception raised when an object is missing.
公用類別 NamedSmoObject The NamedSmoObject object represents a named SMO object.
公用類別 NumaNode The NumaNode object represents the settings for a NUMA node on an instance of SQL Server.
公用類別 NumaNodeCollection The NumaNodeCollection object contains information about one NUMA node on an instance of SQL Server.
公用類別 NumberedObjectCollectionBase The NumberedObjectCollectionBase class is a base class that represents common functionality for collections of numbered objects, such as the NumberedStoredProcedure object.
公用類別 NumberedStoredProcedure The NumberedStoredProcedure class represents a Microsoft SQL Server numbered stored procedure.
公用類別 NumberedStoredProcedureCollection The NumberedStoredProcedureCollection class represents a collection of NumberedStoredProcedure objects that represent all the numbered stored procedures defined on a table.
公用類別 NumberedStoredProcedureParameter The NumberedStoredProcedureParameter object represents a SQL Server numbered stored procedure parameter.
公用類別 NumberedStoredProcedureParameterCollection NumberedStoredProcedureParameterCollection 類別表示 NumberedStoredProcedure 物件集合,這些物件表示父物件上定義的所有編號的預存程序。
公用類別 ObjectAlteredEventArgs The ObjectAlteredEventArgs object represents the arguments that are passed by the event that is raised when an object is altered.
公用類別 ObjectCreatedEventArgs The ObjectCreatedEventArgs object represents the arguments that are passed by the event that is raised when an object is created.
公用類別 ObjectDroppedEventArgs The ObjectDroppedEventArgs object represents the arguments that are passed by the event that is raised when an object is dropped.
公用類別 ObjectEvent The ObjectEvent object represents the of SQL Server object events that can be included in an object event set.
公用類別 ObjectEventSet The ObjectEventSet object represents a SQL Server set of object events.
公用類別 ObjectPermission The ObjectPermission object represents a SQL Server object permission.
公用類別 ObjectPermissionInfo The ObjectPermissionInfo object represents information about a SQL Server object permission.
公用類別 ObjectPermissionSet The ObjectPermissionSet object represents a set of object permissions in Microsoft SQL Server.
公用類別 ObjectRenamedEventArgs The ObjectRenamedEventArgs object represents the arguments passed by the event raised when an object is renamed.
公用類別 OleDbProviderSettings The OleDbProviderSettings object represents the setting for a SQL Server OLE DB provider.
公用類別 OleDbProviderSettingsCollection The OleDbProviderSettingsCollection class represents a collection of OleDbProviderSettings objects that represent all the OLE DB provider settings defined on the linked server.
公用類別 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.
公用類別 OrderColumnCollection Represents a collection of OrderColumn.
公用類別 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.
公用類別 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.
公用類別 ParameterCollectionBase The ParameterCollectionBase class is a base class that is used in the construction of parameter collection classes.
公用類別 PartitionFunction The PartitionFunction object provides programmatic access to partition functions.
公用類別 PartitionFunctionCollection The PartitionFunctionCollection class represents a collection of PartitionFunction objects that represent all the partition functions defined on the instance of SQL Server.
公用類別 PartitionFunctionEvents The PartitionFunctionEvents object represents the settings required for SQL Server partition function event notification.
公用類別 PartitionFunctionParameter The PartitionFunctionParameter object provides programmatic access to partition function parameters.
公用類別 PartitionFunctionParameterCollection The PartitionFunctionParameterCollection class represents a collection of PartitionFunctionParameter objects that represent all the partition function parameters defined on the partition function.
公用類別 PartitionNumberedObjectCollectionBase PartitionNumberedObjectCollectionBasePhysicalPartitionCollection 類別繼承的基底類別。
公用類別 PartitionScheme The PartitionScheme object provides programmatic access to partition schemes.
公用類別 PartitionSchemeCollection The PartitionSchemeCollection class represents a collection of PartitionScheme objects that represent all the partition schemes defined on the instance of SQL Server.
公用類別 PartitionSchemeEvents The PartitionSchemeEvents object represents the settings required for Microsoft SQL Server partition scheme event notification.
公用類別 PartitionSchemeParameter The PartitionSchemeParameter object provides programmatic access to partition scheme parameters.
公用類別 PartitionSchemeParameterCollection The PartitionSchemeParameterCollection class represents a collection of PartitionSchemeParameter objects that represent all the partition scheme parameters defined on the partition scheme.
公用類別 Payload The Payload object represents a SQL Server HTTP endpoint payload.
公用類別 PercentCompleteEventArgs The PercentCompleteEventArgs object represents the arguments passed by the event raised when a process reaches a percent complete marker.
公用類別 PerformanceCounters A PerformanceCounters object represents a performance counter that is used to trace the performance of the instance of SQL Server.
公用類別 PermissionInfo PermissionInfo 類別表示所授與或所拒絕權限的相關資訊。
公用類別 PermissionSetBase PermissionSetBase 類別是基底類別,會由權限集類別繼承。
公用類別 PhysicalPartition The PhysicalPartition object represents the physical partition where the data and meta data is stored for a SQL Server object.
公用類別 PhysicalPartitionCollection The PhysicalPartitionCollection class represents a collection of PhysicalPartition objects that represent all the physical partitions that are defined on an object.
公用類別 PlanGuide Creates a plan guide object: PlanGuide
公用類別 PlanGuideCollection Collection of plan guide objects.
公用類別 PlanGuideExtender Extends the Property set for a Plan Guide
公用類別 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.
公用類別 Property Property 物件會提供所有 SMO 物件之屬性的程式設計方式存取。
公用類別 PropertyCannotBeRetrievedException The PropertyCannotBeRetrievedException class represents the exception raised when a property cannot be retrieved.
公用類別 PropertyCollection The PropertyCollection class represents a collection of Property objects that represent all the properties defined on the parent object.
公用類別 PropertyNotSetException The PropertyNotSetException class represents the exception that is raised when a property value has not been set.
公用類別 PropertyReadOnlyException The PropertyReadOnlyException class represents the exception that is raised when an attempt is made to set a read-only property.
公用類別 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.
公用類別 PropertyWriteException The PropertyWriteException class represents the exception that is raised when an error occurs when setting the value of a property.
公用類別 Protocol The Protocol object provides programmatic access to the protocols supported by SQL Server.
公用類別 RelocateFile The RelocateFile object is a programmatic tool that lets a file be relocated.
公用類別 ResourceGovernor ResourceGovernor class.
公用類別 ResourcePool Resource Pool Class
公用類別 ResourcePoolCollection Represents a collection of Resource Pools.
公用類別 Restore The Restore object provides programmatic access to restore operations.
公用類別 Rule The Rule object provides programmatic access to a SQL Server rule.
公用類別 RuleCollection The RuleCollection class represents a collection of Rule objects that represent all the rules defined on the instance of SQL Server.
公用類別 Schema The Schema object represents an ownership context for a SQL Server database object.
公用類別 SchemaCollection The SchemaCollection class represents a collection of Schema objects that represent all the schemas on the referenced database.
公用類別 SchemaCollectionBase The SchemaCollectionBase class is a base class that is inherited by the SchemaCollection class.
公用類別 SchemaCustomResolver Represents a diagram of a COM-based resolver.
公用類別 SchemaEvents The SchemaEvents object represents the settings required for SQL Server schema event notification.
公用類別 Scripter The Scripter object is the overall, top-level object for managing scripting operations.
公用類別 ScriptingErrorEventArgs The ScriptingErrorEventArgs object provides programmatic access to the arguments used to report the errors that occur during scripting operations.
公用類別 ScriptingOptions The ScriptingOptions object provides programmatic options to the options that can be set for scripting operations.
公用類別 ScriptNameObjectBase The ScriptNameObjectBase is a base class inherited by classes that can use an alternative name used in scripting operations.
公用類別 ScriptOption ScriptOption 物件表示 SQL Server 指令碼選項,可包含在使用 ScriptingOptions 物件設定的指令碼選項中。
公用類別 ScriptSchemaObjectBase ScriptSchemaObjectBase 是基底類別,這個類別會由可使用指令碼作業中所使用替代名稱的類別繼承。
公用類別 Server Server 物件代表 SQL Server 的執行個體。
公用類別 ServerActiveDirectory The ServerActiveDirectory object provides programmatic access to the Active Directory functionality.
公用類別 ServerAdapter This class aggregates otherwise hidden server properties.
公用類別 ServerAdapterBase A ServerAdapterBase object is a base class that is used in the construction of the ServerAdapter class.
公用類別 ServerAuditSpecification The ServerAuditSpecification object represents an auditable event on the instance of SQL Server.
公用類別 ServerAuditSpecificationCollection The ServerAuditSpecificationCollection class represents a collection of ServerAuditSpecification objects that represent all the audit specifications defined on the server.
公用類別 ServerAuditSpecificationExtender Adds methods and properties to the ServerAuditSpecification object.
公用類別 ServerConfigurationAdapter Exposes methods to refresh and alter server configuration properties.
公用類別 ServerDdlTrigger The ServerDdlTrigger object represents a SQL Server data definition language (DDL) trigger.
公用類別 ServerDdlTriggerCollection The ServerDdlTriggerCollection class represents a collection of ServerDdlTrigger objects that represent all the server data definition language (DDL) triggers defined on a table.
公用類別 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.
公用類別 ServerDdlTriggerEventSet The ServerDdlTriggerEventSet object represents a set of SQL Server server data definition language (DDL) trigger events.
公用類別 ServerEvent The ServerEvent object represents the SQL Server server events that can be included in a server event set.
公用類別 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.
公用類別 ServerEvents The ServerEvents object represents the settings required for SQL Server server-level event notification.
公用類別 ServerEventSet The ServerEventSet object represents a set of server events on an instance of SQL Server.
公用類別 ServerPermission The ServerPermission object represents a SQL Server server-level permission.
公用類別 ServerPermissionInfo The ServerPermissionInfo object represents information about a SQL Server server-level permission.
公用類別 ServerPermissionSet The ServerPermissionSet object represents a set of server permissions.
公用類別 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.
公用類別 ServerRole The ServerRole object represents a Microsoft SQL Server security role.
公用類別 ServerRoleCollection The ServerRoleCollection class represents a collection of ServerRole objects that represent all the server roles that are defined on a table.
公用類別 ServerSecurityAdapter A security facet that extends ServerAdapterBase.
公用類別 ServerSelectionAdapter Provides selection options for an instance of SQL Server.
公用類別 ServerSetupAdapter A ServerSetupAdapter object represents a server setup adapter.
公用類別 ServerSurfaceAreaAdapter A ServerSurfaceAreaAdapter object represents a server surface area adapter.
公用類別 ServerTraceEvent The ServerTraceEvent object represents the SQL Server server trace events that can be included in a server trace event set.
公用類別 ServerTraceEventSet The ServerTraceEventSet object represents a set server trace events.
公用類別 ServiceBrokerPayload The ServiceBrokerPayload object represents a SQL Server Service Broker payload.
公用類別 ServiceMasterKey The ServiceMasterKey object represents a Microsoft SQL Server service master key.
公用類別 ServiceQueueEvent The ServiceQueueEvent object represents the Service Broker service queue events that can be included in a service queue event set.
公用類別 ServiceQueueEventSet The ServiceQueueEventSet object represents a set of SQL Server service queue events.
公用類別 ServiceRequestException The ServiceRequestException class represents the exception that is raised when an error occurs during a service request.
公用類別 Settings Settings 物件表示 SQL Server 執行個體上可設定的設定值群組。
公用類別 SfcDependencyException The SfcDependencyException class represents an exception thrown by an SFC dependency operation fails.
公用類別 SimpleObjectCollectionBase The SimpleObjectCollectionBase class is a base class that is used in the construction of collection objects.
公用類別 SmoApplication The SmoApplication class represents an SMO application with respect to event management.
公用類別 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.
公用類別 SmoDmfAdapter Implements Evaluate(IBaseManagementFacet)
公用類別 SmoEventArgs The SmoEventArgs object provides programmatic access to the arguments used to report the events that occur in SMO applications.
公用類別 SmoException The SmoException class represents the exception that is raised when an error occurs during an SMO operation.
公用類別 SmoObjectBase The SmoObjectBase is a base class that is inherited by the SqlSmoObject class.
公用類別 SmoObjectExtender< (Of < ( <'T> ) > ) > The SmoObjectExtender<(Of <(<'T>)>)> class adds methods and properties to an SqlSmoObject class instance.
公用類別 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.
公用類別 SoapMethodObject The SoapMethodObject class provides programmatic access to the referenced SOAP method.
公用類別 SoapPayload The SoapPayload object represents a SQL Server SOAP payload.
公用類別 SoapPayloadMethod The SoapPayloadMethod class represents a SOAP payload method for the referenced HTTP endpoint.
公用類別 SoapPayloadMethodCollection The SoapPayloadMethodCollection class represents a collection of SoapPayloadMethod objects that represent all the SOAP payload methods defined on a table.
公用類別 SortedListCollectionBase The SortedListCollectionBase class is a base class that is used in the construction of sorted list collection classes.
公用類別 SqlAssembly The SqlAssembly class represents an assembly in the Microsoft .NET environment.
公用類別 SqlAssemblyCollection The SqlAssemblyCollection class represents a collection of SqlAssembly objects that represent all the assemblies defined on a table.
公用類別 SqlAssemblyEvent SqlAssemblyEvent 物件表示可以包含在組件事件集內的 SQL Server 組件。
公用類別 SqlAssemblyEvents The SqlAssemblyEvents object represents the settings that are required for SQL Server assembly event notification.
公用類別 SqlAssemblyEventSet The SqlAssemblyEventSet object represents a set of assembly events.
公用類別 SqlAssemblyFile The SqlAssemblyFile object represents an assembly file that stores an assembly.
公用類別 SqlAssemblyFileCollection The SqlAssemblyFileCollection class represents a collection of SqlAssemblyFile objects that represent all the assembly files that are defined on a table.
公用類別 SqlPropertyCollection The SqlPropertyCollection class is an abstract class that is used in the management of object properties.
公用類別 SqlPropertyInfo The SqlPropertyInfo class is an abstract class used to store information about properties.
公用類別 SqlServerRegistrations 已經過時。Represents registered instances of SQL Server.
公用類別 SqlSmoObject SqlSmoObject 物件代表所有 SQL Server 物件。
公用類別 Statistic The Statistic class represents a SQL Server statistic counter.
公用類別 StatisticCollection The StatisticCollection class represents a collection of Statistic objects that represent all the statistic counters defined on the table or view.
公用類別 StatisticColumn The StatisticColumn object represents a column defined in a SQL Server statistics counter.
公用類別 StatisticColumnCollection The StatisticColumnCollection class represents a collection of StatisticColumn objects that represent all the statistic columns defined on a table.
公用類別 StatisticEvents The StatisticEvents object represents the settings required for SQL Server statistic counter event notification.
公用類別 StoredProcedure StoredProcedure 物件表示 SQL Server 預存程序。
公用類別 StoredProcedureCollection The StoredProcedureCollection class represents a collection of StoredProcedure objects that represent all the stored procedures that are defined on a table.
公用類別 StoredProcedureEvent The StoredProcedureEvent object represents the SQL Server stored procedure events that can be included in an stored procedure event set.
公用類別 StoredProcedureEvents The StoredProcedureEvents object represents the settings that are required for SQL Server stored procedure event notification.
公用類別 StoredProcedureEventSet The StoredProcedureEventSet object represents a set of stored procedure events.
公用類別 StoredProcedureParameter The StoredProcedureParameter object represents a SQL Server stored procedure parameter.
公用類別 StoredProcedureParameterCollection The StoredProcedureParameterCollection class represents a collection of StoredProcedureParameter objects that represent all the stored procedure parameters defined on a table.
公用類別 SymmetricKey The SymmetricKey object represents a SQL Server symmetric key.
公用類別 SymmetricKeyCollection The SymmetricKeyCollection class represents a collection of SymmetricKey objects that represent all the symmetric keys on the referenced database.
公用類別 SymmetricKeyEncryption The SymmetricKeyEncryption class represents the encryption type used when encrypting symmetric keys.
公用類別 Synonym The Synonym object represents a SQL Server synonym.
公用類別 SynonymCollection The SynonymCollection class represents a collection of Synonym objects that represent all the synonyms on the referenced database.
公用類別 SynonymEvents The SynonymEvents object represents the settings that are required for SQL Server synonym event notification.
公用類別 SystemDataType The SystemDataType object represents a supported system data type. The SystemDataTypeCollection represents all the supported system data types.
公用類別 SystemDataTypeCollection The SystemDataTypeCollection class represents a collection of SystemDataType objects that represent all the system data types on the referenced database.
公用類別 SystemMessage The SystemMessage object represents messages defined by the system.
公用類別 SystemMessageCollection The SystemMessageCollection class represents a collection of SystemMessage objects that represent all the system messages on the instance of SQL Server.
公用類別 Table Table 物件代表 SQL Server 資料表。
公用類別 TableCollection The TableCollection class represents a collection of Table objects that represent all the tables on the referenced database.
公用類別 TableEvent The TableEvent object represents the SQL Server table events that can be included in a table event set.
公用類別 TableEvents The TableEvents object represents the settings required for SQL Server table event notification.
公用類別 TableEventSet The TableEventSet object represents a set of table events.
公用類別 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.
公用類別 TableViewTableTypeBase 資料表檢視類型的基底類別。
公用類別 TcpProtocol The TcpProtocol object provides programmatic access to the protocols supported by Microsoft SQL Server.
公用類別 Transfer The Transfer object is a tool object that provides programmatic control over copying of schemas and data to other instances of SQL Server.
公用類別 Trigger Trigger 物件表示 SQL Server 觸發程序。
公用類別 TriggerCollection The TriggerCollection class represents a collection of Trigger objects that represent all the triggers defined on a table.
公用類別 TriggerEvents The TriggerEvents object represents the settings that are required for SQL Server trigger event notification.
公用類別 UnknownPropertyException The UnknownPropertyException class represents the exception that is raised when an SMO operation encounters an unknown property.
公用類別 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 SQL Server Database Engine, or SQL Azure.
公用類別 UnsupportedFeatureException The UnsupportedFeatureException class represents the exception raised when an SMO operation encounters a request for an unsupported feature.
公用類別 UnsupportedObjectNameException The UnsupportedObjectNameException class represents the exception that is raised when an SMO operation encounters an unsupported object name.
公用類別 UnsupportedVersionException The UnsupportedVersionException class represents the exception raised when an SMO operation encounters an unsupported version of SQL Server.
公用類別 UrnCollection The UrnCollection class represents a collection of Urn objects that represent Uniform Resource Name (URN) addresses.
公用類別 User The User object represents a SQL Server user.
公用類別 UserCollection The UserCollection class represents a collection of User objects that represent all the database users defined on a database.
公用類別 UserDefinedAggregate The UserDefinedAggregate object represents a SQL Server user-defined aggregate.
公用類別 UserDefinedAggregateCollection The UserDefinedAggregateCollection class represents a collection of UserDefinedAggregate objects that represent all the database user-defined aggregates that are defined on a database.
公用類別 UserDefinedAggregateParameter The UserDefinedAggregateParameter object represents the parameters that are used with a user-defined aggregate.
公用類別 UserDefinedAggregateParameterCollection The UserDefinedAggregateParameterCollection class represents a collection of UserDefinedAggregateParameter objects that represent all the user-defined aggregate parameters that are defined on a table.
公用類別 UserDefinedDataType The UserDefinedDataType object represents a SQL Server user-defined data type.
公用類別 UserDefinedDataTypeCollection The UserDefinedDataTypeCollection class represents a collection of UserDefinedDataType objects that represent all the user-defined data types defined on a table.
公用類別 UserDefinedDataTypeResolver Resolves objects of user-defined types.
公用類別 UserDefinedFunction UserDefinedFunction 物件表示 SQL Server 使用者定義的函數。
公用類別 UserDefinedFunctionCollection The UserDefinedFunctionCollection class represents a collection of UserDefinedFunction objects that represent all the user-defined functions that are defined on a table.
公用類別 UserDefinedFunctionEvent UserDefinedFunctionEvent 物件代表可以包含在使用者定義函數事件集內的 SQL Server 使用者定義函數事件。
公用類別 UserDefinedFunctionEvents The UserDefinedFunctionEvents object represents the settings that are required for SQL Server user-defined function event notification.
公用類別 UserDefinedFunctionEventSet The UserDefinedFunctionEventSet object represents a SQL Server set of user-defined function events.
公用類別 UserDefinedFunctionParameter The UserDefinedFunctionParameter object represents a SQL Server user-defined function parameter.
公用類別 UserDefinedFunctionParameterCollection The UserDefinedFunctionParameterCollection class represents a collection of UserDefinedFunctionParameter objects that represent all the user-defined function parameters that are defined on a table.
公用類別 UserDefinedMessage The UserDefinedMessage object represents a user-defined message.
公用類別 UserDefinedMessageCollection The UserDefinedMessageCollection class represents a collection of UserDefinedMessage objects that represent all the user-defined messages defined on a table.
公用類別 UserDefinedTableType The UserDefinedTableType object represents a SQL Server user-defined table type data type.
公用類別 UserDefinedTableTypeCollection The UserDefinedTableTypeCollection class represents a collection of UserDefinedTableType objects that represent all the user-defined table types that are defined on a database.
公用類別 UserDefinedTableTypeResolver Resolves the type of a user defined table to an Object.
公用類別 UserDefinedType The UserDefinedType represents an alias data type that is based on .NET data types.
公用類別 UserDefinedTypeCollection The UserDefinedTypeCollection class represents a collection of UserDefinedType objects that represent all the alias data types that are defined on a table.
公用類別 UserDefinedTypeEvents The UserDefinedTypeEvents object represents the settings required for SQL Server user-defined type event notification.
公用類別 UserDefinedTypeResolver Resolves user-defined data types.
公用類別 UserEvents The UserEvents object represents the settings that are required for SQL Server database user event notification.
公用類別 UserOptions The UserOptions object represents a set configurable server options that relate specifically to users.
公用類別 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.
公用類別 VersionSerializationAdapter Adapts the serialization mode to the version of SQL Server in use.
公用類別 View The View object represents a SQL Server view. 
公用類別 ViewCollection The ViewCollection class represents a collection of View objects that represent all the views defined on a table.
公用類別 ViewEvent The ViewEvent object represents the SQL Server view events that can be included in a view event set.
公用類別 ViewEvents The ViewEvents object represents the settings that are required for SQL Server view event notification.
公用類別 ViewEventSet The ViewEventSet object represents a set of view events.
公用類別 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.
公用類別 WorkloadGroupCollection Initializes a workload group.
公用類別 WrongPropertyValueException The WrongPropertyValueException class represents the exception that is raised when a property is assigned the wrong value.
公用類別 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.
公用類別 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.

結構

  結構 說明
公用結構 AuditSpecificationDetail The AuditSpecificationDetail object represents a SQL Server audit specification detail required when creating an audit.
公用結構 DdlTextParserHeaderInfo This class supports the SMO infrastructure and is not intended to be used directly from your code.

介面

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

委派

  委派 說明
公用委派 PercentCompleteEventHandler The PercentCompleteEventHandler class represents the event handler that is used to handle percent complete events.
公用委派 ProgressReportEventHandler The ProgressReportEventHandler class represents the event handler that is used to handle progress report events.
公用委派 ScriptingErrorEventHandler The ScriptingErrorEventHandler class represents the event handler that is used to handle scripting errors.
公用委派 ScriptingFilter 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 Supplies filtering for scripts.
公用委派 ServerEventHandler The ServerEventHandler class represents the event handler that is used to handle server errors.
公用委派 SmoApplication. . :: . .AnyObjectEventHandler The SmoApplication..::..AnyObjectEventHandler class represents the event handler that is used to handle events from any object.
公用委派 SmoApplication. . :: . .DatabaseEventHandler The SmoApplication..::..DatabaseEventHandler class represents the event handler that handles database events.
公用委派 SmoApplication. . :: . .ObjectAlteredEventHandler The SmoApplication..::..ObjectAlteredEventHandler class represents the event handler that is used to handle events that occur when an object is altered.
公用委派 SmoApplication. . :: . .ObjectCreatedEventHandler The SmoApplication..::..ObjectCreatedEventHandler class represents the event handler that is used to handle events when an object is created.
公用委派 SmoApplication. . :: . .ObjectDroppedEventHandler The SmoApplication..::..ObjectDroppedEventHandler class represents the event handler that is used to handle events when an object is dropped.
公用委派 SmoApplication. . :: . .ObjectRenamedEventHandler The SmoApplication..::..ObjectRenamedEventHandler class represents the event handler that handles events that occur when an object is renamed.
公用委派 VerifyCompleteEventHandler The VerifyCompleteEventHandler class represents the event handler that handles completion events.

列舉

  列舉 說明
公用列舉 ActivationExecutionContext The ActivationExecutionContext enumeration contains values that specify the security context used by a procedure. These procedures are activated by a service queue.
公用列舉 AffinityType The AffinityType enumeration represents the possible affinity settings for an instance of SQL Server.
公用列舉 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.
公用列舉 AssemblySecurityLevel The AssemblySecurityLevel enumeration contains values that are used to specify the access rights for an assembly.
公用列舉 AsymmetricKeyEncryptionAlgorithm The AsymmetricKeyEncryptionAlgorithm enumeration contains values that are used to specify an encryption algorithm used on an asymmetric key.
公用列舉 AsymmetricKeySourceType The AsymmetricKeySourceType enumeration contains values that are used to specify the source type used to load an asymmetric key.
公用列舉 AttachOptions The AttachOptions enumeration contains values that are used to specify attach options.
公用列舉 AuditActionType The AuditActionType enumeration contains values that are used to specify the audit action types.
公用列舉 AuditDestinationType The AuditDestination enumeration contains values that are used to specify the destination, to which the results of a SQL Server Audit are sent.
公用列舉 AuditFileSizeUnit The AuditFileSizeUnit enumeration contains values that are used to specify the unit that specifies the size of the audit file.
公用列舉 AuditLevel The AuditLevel enumeration contains values that are used to specify the SQL Server audit level setting.
公用列舉 AuditStatusType The AuditStatusType enumeration contains values that are used to specify the status of the audit.
公用列舉 BackupActionType The BackupActionType enumeration contains values that are used to specify the type of backup.
公用列舉 BackupCompressionOptions The BackupCompressionOptions enumeration contains values that are used to specify the backup compression option.
公用列舉 BackupDeviceType The BackupDeviceType enumeration contains values that are used to specify the backup device type.
受保護的列舉型別 BackupRestoreBase. . :: . .AsyncOperation The BackupRestoreBase..::..AsyncOperation enumeration contains values that are used to specify which backup components are running asynchronously.
公用列舉 BackupSetFlag The BackupSetFlag enumeration contains values that are used to specify the purpose of the backup.
公用列舉 BackupSetType The BackupSetType enumeration contains values that are used to specify the backup type.
公用列舉 BackupTruncateLogType The BackupTruncateLogType enumeration contains values that are used to specify the truncate action taken on the log.
公用列舉 CatalogPopulationAction The CatalogPopulationAction enumeration contains values that are used to specify the method used to populate a full-text catalog.
公用列舉 CatalogPopulationStatus The CatalogPopulationStatus enumeration contains values that are used to specify the status of the full-text catalog.
公用列舉 CertificateSourceType The CertificateSourceType enumeration contains values that are used to specify the source of the certificate.
公用列舉 ChangeTracking The ChangeTracking enumeration contains values that are used to specify change tracking in a full-text index.
公用列舉 CollationVersion The CollationVersion enumeration contains values that specify the collation versions.
公用列舉 CompatibilityLevel The CompatibilityLevel enumeration is a list of constant values that specify the behavior that corresponds to a version of SQL Server.
公用列舉 CreateDispositionType The CreateDispositionType enumeration contains values that are used to specify the source of the symmetric key.
公用列舉 DatabaseDdlTriggerExecutionContext The DatabaseDdlTriggerExecutionContext enumeration contains values that are used to specify the execution context under which the database DDL trigger runs.
公用列舉 DatabaseEncryptionAlgorithm Specifies the algorithm used to encrypt the database encryption key
公用列舉 DatabaseEncryptionState Enumerates the possible encryption states of a database.
公用列舉 DatabaseEncryptionType The DatabaseEncryptionType enumeration contains values that are used to specify the encryption types.
公用列舉 DatabaseEventType The DatabaseEventType enumeration is a list of constant values that specify the database event type.
公用列舉 DatabaseObjectTypes The DatabaseObjectTypes enumeration is a list of constant values that specifies the types of database object.
公用列舉 DatabasePermissionSetValue The DatabasePermissionSetValue enumeration is a list of constant values that specify all the database permissions.
公用列舉 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.
公用列舉 DatabaseUserAccess The DatabaseUserAccess enumeration is a list of constant values that specify how user access can be restricted.
公用列舉 DataCompressionType The DataCompressionType enumeration contains values that are used to specify the type of data compression used to store data on the physical partition.
公用列舉 DependencyType The DependencyType 列舉是常數值的清單,可指定相依性探索作業的方向。
公用列舉 DeviceType The DeviceType enumeration is a list of constant values that specify the various different types of devices supported by SQL Server.
公用列舉 Edition The Edition enumeration is a list of constant values that specify the various different types of devices that are supported by SQL Server.
公用列舉 EndpointAuthenticationOrder The EndpointAuthenticationOrder enumeration contains values that are used to specify the authentication methods and order of preference for the endpoint connection.
公用列舉 EndpointEncryption The EndpointEncryption enumeration contains values that are used to specify the state of encryption on the endpoint.
公用列舉 EndpointEncryptionAlgorithm The EndpointEncryptionAlgorithm enumeration contains values that are used to specify an encryption algorithm used on an endpoint.
公用列舉 EndpointState The EndpointState enumeration is a list of constant values that specifies the state of the HTTP endpoint.
公用列舉 EndpointType The EndpointType enumeration is a list of constant values that specifies the type of HTTP endpoint.
公用列舉 EventType The EventType enumeration is a list of constant values that specify the various different types of events that are supported by SQL Server.
公用列舉 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.
公用列舉 ExecutionStatus The ExecutionStatus enumeration is a list of constant values that specify the status of an executing process.
公用列舉 FileGrowthType The FileGrowthType enumeration is a list of constant values that specify whether file growth is determined by percentage amount or by KB.
公用列舉 FilestreamAccessLevelType The FilestreamAccessLevelType enumeration contains values that are used to specify the type of access permitted on file stream operations.
公用列舉 FileStreamEffectiveLevel The FileStreamEffectiveLevel enumeration contains values that are used to specify the file stream level.
公用列舉 FileStreamLevel The FileStreamLevel enumeration contains values that are used to specify the file stream level.
公用列舉 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.
公用列舉 FragmentationOption The FragmentationOption enumeration is a list of constant values that specify the levels of detail of collected fragmentation information.
公用列舉 FullTextCatalogUpgradeOption The FullTextCatalogUpgradeOption enumeration contains values that are used to specify the action taken when the full-text catalog is upgraded.
公用列舉 HttpAuthenticationModes The HttpAuthenticationModes enumeration contains values that specify the HTTP port for HTTP endpoints.
公用列舉 HttpPortTypes The HttpPortTypes enumeration contains values that are used to specify the type HTTP port.
公用列舉 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.
公用列舉 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.
公用列舉 IndexKeyType The IndexKeyType enumeration contains values that are used to specify the type of key on which the index is created.
公用列舉 IndexOperation The IndexOperation enumeration contains values that are used to specify index operations.
公用列舉 IndexPopulationAction The IndexPopulationAction enumeration contains values that are used to specify the type of Microsoft Search full-text index population.
公用列舉 IndexPopulationStatus The IndexPopulationStatus enumeration contains values that are used to specify the type of population in progress.
公用列舉 InDoubtTransactionResolutionType Enumerates possible responses to in-doubt transactions.
公用列舉 KeyEncryptionType The KeyEncryptionType enumeration is a list of constant values that specify the key encryption type.
公用列舉 LinkedTableType The LinkedTableType enumeration contains values that specify the type of table accessed on a linked server.
公用列舉 LinkFieldType The LinkFieldType enumeration contains values that specify the type of link field.
公用列舉 LockEscalationType An enumeration that lists lock escalation types.
公用列舉 LockRequestStatus The LockRequestStatus enumeration contains constant values that specify the lock request status.
公用列舉 LoginCreateOptions The LoginCreateOptions enumeration contains values that are used to specify the password options when you create a logon.
公用列舉 LoginType The LoginType enumeration contains values that are used to specify the authentication type and the Windows account type.
公用列舉 LogReuseWaitStatus The LogReuseWaitStatus enumeration contains values that specify the current operation on which the reuse of transaction log space is waiting.
公用列舉 MappedClassType Enumerates credential mapping options.
公用列舉 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.
公用列舉 MethodLoginType The MethodLoginType enumeration contains values that are used to specify the method used for logging on to the instance of SQL Server.
公用列舉 MethodXsdSchemaOption The MethodXsdSchemaOption enumeration contains values that specify the XSD schema returned for a SOAP method.
公用列舉 MirroringOption The MirroringOption enumeration contains values that specify the mirroring options for a database.
公用列舉 MirroringRole The MirroringRole enumeration contains values that specify the role the database plays in mirroring.
公用列舉 MirroringSafetyLevel The MirroringSafetyLevel enumeration contains values that specify the safety guarantee on updates to the mirrored database.
公用列舉 MirroringStatus The MirroringStatus enumeration contains values that specify the state of a database regarding mirroring.
公用列舉 MirroringWitnessStatus The MirroringWitnessStatus enumeration contains values that specify the state of the mirroring witness.
公用列舉 Month The Month enumeration contains constant values that specify the twelve calendar months.
公用列舉 NSActivationState The NSActivationState enumeration contains constant values that specify the activation state of Notification Services.
公用列舉 NumaNodeAffinity The NumaNodeAffinity enumeration defines the affinity states for a Cpu object.
公用列舉 ObjectClass The ObjectClass enumeration contains values that specify the SMO class type.
公用列舉 ObjectPermissionSetValue The ObjectPermissionSetValue enumeration is a list of constant values that specify all the object permissions.
公用列舉 OnFailureAction The OnFailureAction enumeration contains values that specify the action to be taken when an audit fails.
公用列舉 PageVerify The PageVerify enumeration contains constant values that specify the automatic page verification options for a database.
公用列舉 PerfMonMode The PerfMonMode enumeration contains values that are used to specify the polling behavior in Performance Monitor.
公用列舉 PermissionState The PermissionState enumeration contains values that specify the state of a permission.
公用列舉 PlanGuideType Enumerates the possible Plan Guide types.
公用列舉 PrincipalType The PrincipalType enumeration contains values that specify the type of user, role, or login.
公用列舉 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.
公用列舉 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.
公用列舉 ProtocolType The ProtocolType enumeration contains values that are used to specify the type of protocol.
公用列舉 ProviderAuthenticationType Specifies the type of authentication supported by Cryptographic Provider.
公用列舉 RangeType The RangeType enumeration contains values that are used to specify the type range.
公用列舉 RecoveryModel The RecoveryModel enumeration contains values that are used to specify the type of recovery model.
公用列舉 RepairOptions The RepairOptions enumeration contains values that are used to specify the repair options that are used when checking data in a table.
公用列舉 RepairStructure The RepairRepairStructure enumeration contains values that are used to specify the type of repair options used when checking data in a table.
公用列舉 RepairType The RepairType enumeration contains values that are used to specify the type of repair mode used by the database consistency check (DBCC) functions.
公用列舉 ReplicationOptions The ReplicationOptions enumeration contains values that are used to specify the replication settings for the referenced database.
公用列舉 ResourceUsage The ResourceUsage enumeration contains values that specify the relative operating system execution priority setting for the Microsoft Search service.
公用列舉 RestoreActionType The RestoreActionType enumeration contains values that are used to specify the type of action that is required during a data restore operation.
公用列舉 RestoreType The RestoreType enumeration contains values that specify the type of restore operation to perform.
公用列舉 ResultFormat The ResultFormat enumeration contains values that specify the format in which to return results for an HTTP endpoint.
公用列舉 RetentionPeriodUnits Enumerates values that specify the units for the retention period.
公用列舉 RoleTypes The RoleTypes enumeration contains values that are used to specify the type of role.
公用列舉 SecondaryXmlIndexType The SecondaryXmlIndexType enumeration contains values that are used to specify the secondary XML index type.
公用列舉 ServerDdlTriggerExecutionContext The ServerDdlTriggerExecutionContext enumeration contains values that are used to specify the execution context under which the server DDL trigger runs.
公用列舉 ServerLoginMode The ServerLoginMode enumeration contains values that are used to specify the method used to connect to the instance of SQL Server.
公用列舉 ServerMirroringRole The ServerMirroringRole enumeration contains values that are used to specify the role of the instance of SQL Server when participating in mirroring.
公用列舉 ServerPermissionSetValue The ServerPermissionSetValue enumeration is a list of constant values that specify all the database permissions.
公用列舉 ServerStatus The ServerStatus enumeration contains values that are used to specify the status of the instance of SQL Server.
公用列舉 ServiceStartMode The ServiceStartMode enumeration contains values that are used to specify the method that is used to start a service.
公用列舉 ShrinkMethod The ShrinkMethod enumeration contains values that are used to specify the method that is used shrink a database file.
公用列舉 SmoExceptionType The SmoExceptionType enumeration contains values that are used to specify the type of SMO exception.
公用列舉 SnapshotIsolationState The SnapshotIsolationState enumeration contains values that are used to specify the current state of snapshot isolation.
公用列舉 SortOrder The SortOrder enumeration contains values that specify how objects are sorted in an enumerated list.
公用列舉 SpatialGeoLevelSize Enumerates grid density levels for spatial indexes.
公用列舉 SpatialIndexType Enumerates possible spatial index types.
公用列舉 SqlDataType The SqlDataType enumeration contains values that are used to specify a SQL Server data type.
公用列舉 SqlServerVersion The SqlServerVersion enumeration contains values that are used to specify the version of the referenced instance of SQL Server.
公用列舉 SqlServerVersions The SqlServerVersions enumeration contains values that are used to specify the version of the referenced instance of SQL Server.
公用列舉 SqlSmoState The SqlSmoState enumeration contains values that are used to specify the state of an SMO object.
公用列舉 SqlVerifyAction The SqlVerifyAction enumeration contains values that are used to specify the type of backup verification.
公用列舉 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.
公用列舉 StatisticsTarget The StatisticsTarget enumeration contains values that specify the type of statistic that is targeted for the update operation.
公用列舉 StopListOption The StopListOption enumeration contains values that are used to specify the way in which a new stop list is created.
公用列舉 SymmetricKeyEncryptionAlgorithm The SymmetricKeyEncryptionAlgorithm enumeration contains values that specify the algorithm that is used to encrypt the symmetric key.
公用列舉 SymmetricKeyEncryptionType The SymmetricKeyEncryptionType enumeration contains constant values that specify the type of symmetric key encryption.
公用列舉 SynonymBaseType The SynonymBaseType enumeration contains constant values that specify the type of synonym.
公用列舉 TerminationClause The TerminationClause enumeration contains constant values that specify the action taken when transactions are terminated.
公用列舉 TransactionTypes The TransactionTypes enumeration contains constant values that specify the method of recording transactions.
公用列舉 UrnIdOption Enumerates URN identification options.
公用列舉 UserDefinedFunctionType The UserDefinedFunctionType enumeration is a list of constant values that specify the types of user-defined functions that are supported by SQL Server.
公用列舉 UserDefinedTypeFormat The UserDefinedTypeFormat enumeration is a list of constant values that specify the formats used by user-defined types.
公用列舉 UserType The UserType enumeration contains constant values that specify the security type for the user.
公用列舉 WindowsLoginAccessType The WindowsLoginAccessType enumeration contains constant values that specify the type of access a Windows login has to the instance of SQL Server.
公用列舉 WorkloadGroupImportance The WorkloadGroupImportance enumeration contains values that specify the importance of workload groups.
公用列舉 WsdlGeneratorOption The WsdlGeneratorOption enumeration contains constant values that specify the Web Services Description Language (WSDL) generator options.
公用列舉 XmlDocumentConstraint The XmlDocumentConstraint enumeration contains constant values that specify the constraints imposed on an XML document.
公用列舉 XmlFormatOption The WsdlGeneratorOption enumeration contains constant values that specify the Web Services Description Language (WSDL) generator options.
公用列舉 XmlTypeDerivation The XmlTypeDerivation enumeration contains constant values that specify the XML type derivation.
公用列舉 XmlTypeKind The XmlTypeKind enumeration contains constant values that specify the kind of XML component.
公用列舉 XsdSchemaOption The XsdSchemaOption enumeration contains constant values that specify whether an inline schema for the method result is returned in the SOAP response.