Поделиться через


Класс Configuration

Represents the Configuration class that contains the configuration information for the instance of SQL Server.

Иерархия наследования

System.Object
  Microsoft.SqlServer.Management.Smo.ConfigurationBase
    Microsoft.SqlServer.Management.Smo.Configuration

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
Public Class Configuration _
    Inherits ConfigurationBase
'Применение
Dim instance As Configuration
public class Configuration : ConfigurationBase
public ref class Configuration : public ConfigurationBase
type Configuration =  
    class 
        inherit ConfigurationBase 
    end
public class Configuration extends ConfigurationBase

Тип Configuration обеспечивает доступ к следующим элементам.

Свойства

  Имя Описание
Открытое свойство AdHocDistributedQueriesEnabled Gets the ConfigProperty object that is used to set the ad hoc distributed queries configuration option.
Открытое свойство Affinity64IOMask Gets the ConfigProperty object that is used to set the affinity 64 IO mask configuration option.
Открытое свойство Affinity64Mask Gets the ConfigProperty object that is used to set the affinity 64 mask configuration option.
Открытое свойство AffinityIOMask Gets the ConfigProperty object that is used to set the affinity IO mask configuration option.
Открытое свойство AffinityMask Gets the ConfigProperty object that is used to set the affinity mask configuration option.
Открытое свойство AgentXPsEnabled Gets the ConfigProperty object that is used to set the agent XPs enabled configuration option.
Открытое свойство AllowUpdates Gets the ConfigProperty object that is used to set the allow updates configuration option.
Открытое свойство AweEnabled Устарело. Gets the ConfigProperty object that is used to set the AWE enabled configuration option.
Открытое свойство BlockedProcessThreshold Gets the ConfigProperty object that sets the blocked process threshold configuration option.
Открытое свойство C2AuditMode Gets the ConfigProperty object that is used to set the C2 audit mode configuration option.
Открытое свойство CommonCriteriaComplianceEnabled Gets the ConfigProperty object that is used to set the common criteria compliance enabled configuration option.
Открытое свойство ContainmentEnabled Gets the ConfigProperty object that is used to set the CONTAINMENT enabled configuration option.
Открытое свойство CostThresholdForParallelism Gets the ConfigProperty object that is used to set the cost threshold for parallelism configuration option.
Открытое свойство CrossDBOwnershipChaining Gets the ConfigProperty object that is used to set the cross DB ownership chaining configuration option.
Открытое свойство CursorThreshold Gets the ConfigProperty object that is used to set the cursor threshold configuration option.
Открытое свойство DatabaseMailEnabled Gets the ConfigProperty object that is used to set the database mail enabled configuration option.
Открытое свойство DefaultBackupCompression Gets the ConfigProperty object that is used to set the default backup compression configuration option.
Открытое свойство DefaultFullTextLanguage Gets the ConfigProperty object that is used to set default full text language configuration option.
Открытое свойство DefaultLanguage Gets the ConfigProperty object that is used to set the default language configuration option.
Открытое свойство DefaultTraceEnabled Gets the ConfigProperty object that is used to set the default trace enabled configuration option.
Открытое свойство DisallowResultsFromTriggers Gets the ConfigProperty object that is used to set the disallow results from triggers configuration option.
Открытое свойство ExtensibleKeyManagementEnabled Gets the ConfigProperty object that is used to set the extensible key management enabled configuration option.
Открытое свойство FilestreamAccessLevel Gets the ConfigProperty object that sets the FILESTREAM access level configuration option.
Открытое свойство FillFactor Gets the ConfigProperty object that is used to set the fill factor configuration option.
Открытое свойство FullTextCrawlBandwidthMax Gets the ConfigProperty object that is used to set the full text crawl bandwith max configuration option.
Открытое свойство FullTextCrawlBandwidthMin Gets the ConfigProperty object that is used to set the full text crawl bandwith min configuration option.
Открытое свойство FullTextCrawlRangeMax Gets the ConfigProperty object that is used to set the full text crawl range max configuration option.
Открытое свойство FullTextNotifyBandwidthMax Gets the ConfigProperty object that is used to set the full text notify bandwith max configuration option.
Открытое свойство FullTextNotifyBandwidthMin Gets the ConfigProperty object that is used to set the full text notify bandwith min configuration option.
Открытое свойство IndexCreateMemory Gets the ConfigProperty object that is used to set the index create memory configuration option.
Открытое свойство InDoubtTransactionResolution Gets the ConfigProperty object that is used to set the in doubt transaction resolution configuration option.
Открытое свойство IsSqlClrEnabled Gets the ConfigProperty object that is used to set the is SQL Server CLR enabled configuration option.
Открытое свойство LightweightPooling Gets the ConfigProperty object that is used to set the lightweight pooling configuration option.
Открытое свойство Locks Gets the ConfigProperty object that is used to set the locks configuration option.
Открытое свойство MaxDegreeOfParallelism Gets the ConfigProperty object that is used to set the max degree of parallelism configuration option.
Открытое свойство MaxServerMemory Gets the ConfigProperty object that is used to set the max server memory configuration option.
Открытое свойство MaxWorkerThreads Gets the ConfigProperty object that is used to set the max worker threads configuration option.
Открытое свойство MediaRetention Gets the ConfigProperty object that is used to set the media retention configuration option.
Открытое свойство MinMemoryPerQuery Gets the ConfigProperty object that is used to set the min memory per query configuration option.
Открытое свойство MinServerMemory Gets the ConfigProperty object that is used to set the min server memory configuration option.
Открытое свойство NestedTriggers Gets the ConfigProperty object that is used to set the nested triggers configuration option.
Открытое свойство NetworkPacketSize Gets the ConfigProperty object that is used to set the network packet size configuration option.
Открытое свойство OleAutomationProceduresEnabled Gets the ConfigProperty object that is used to set the OLE automation procedures enabled configuration option.
Открытое свойство OpenObjects Gets the ConfigProperty object that is used to set the open objects configuration option.
Открытое свойство OptimizeAdhocWorkloads Gets the ConfigProperty object that sets the optimize ad hoc workloads configuration option.
Открытое свойство Parent Gets the Server object that is the parent of the Configuration object. (Производный от ConfigurationBase.)
Открытое свойство PrecomputeRank Gets the ConfigProperty object that is used to set the precompute rank configuration option.
Открытое свойство PriorityBoost Gets the ConfigProperty object that is used to set the priority boost configuration option.
Открытое свойство Properties Returns a collection of Property objects. The PropertyCollection collection represents the properties of the Configuration object.
Открытое свойство ProtocolHandlerTimeout Gets the ConfigProperty object that is used to set the protocol handler timeoutconfiguration option.
Открытое свойство QueryGovernorCostLimit Gets the ConfigProperty object that is used to set the query governor cost limit option.
Открытое свойство QueryWait Gets the ConfigProperty object that is used to set the query wait configuration option.
Открытое свойство RecoveryInterval Gets the ConfigProperty object that is used to set the recovery interval configuration option.
Открытое свойство RemoteAccess Gets the ConfigProperty object that is used to set the remote access configuration option.
Открытое свойство RemoteDacConnectionsEnabled Gets the ConfigProperty object that is used to set the remote DAC connections enabled configuration option.
Открытое свойство RemoteLoginTimeout Gets the ConfigProperty object that is used to set the remote login timeout configuration option.
Открытое свойство RemoteProcTrans Gets the ConfigProperty object that is used to set the remote proc trans configuration option.
Открытое свойство RemoteQueryTimeout Gets the ConfigProperty object that is used to set the remote query timeout configuration option.
Открытое свойство ReplicationMaxTextSize Gets the ConfigProperty object that is used to set the replication max text size configuration option.
Открытое свойство ReplicationXPsEnabled Gets the ConfigProperty object that is used to set the replication XPs enabled configuration option.
Открытое свойство ScanForStartupProcedures Gets the ConfigProperty object that is used to set the scan for startup procedures configuration option.
Открытое свойство ServerTriggerRecursionEnabled Gets the ConfigProperty object that is used to set the server trigger recursion enabled configuration option.
Открытое свойство SetWorkingSetSize Gets the ConfigProperty object that is used to set the set working set size configuration option.
Открытое свойство ShowAdvancedOptions Gets the ConfigProperty object that is used to set the show advanced options configuration option.
Открытое свойство SmoAndDmoXPsEnabled Gets the ConfigProperty object that is used to set the SMO and DMO XPs enabled configuration option.
Открытое свойство SqlMailXPsEnabled Gets the ConfigProperty object that is used to set the SQL mail XPs enabled configuration option.
Открытое свойство TransformNoiseWords Gets the ConfigProperty object that is used to set the transform noise words configuration option.
Открытое свойство TwoDigitYearCutoff Gets the ConfigProperty object that is used to set the two digit year cutoff configuration option.
Открытое свойство UserConnections Gets the ConfigProperty object that is used to set the user connections configuration option.
Открытое свойство UserInstancesEnabled Gets the ConfigProperty object that is used to set the user instances enabled configuration option.
Открытое свойство UserInstanceTimeout Gets the ConfigProperty object that is used to set the user instance timeout configuration option.
Открытое свойство UserOptions Gets the ConfigProperty object that is used to set the user options configuration option.
Открытое свойство WebXPsEnabled Gets the ConfigProperty object that is used to set the web XPs enabled configuration option.
Открытое свойство XPCmdShellEnabled Gets the ConfigProperty object that is used to set the XP cmd shell enabled configuration option.

В начало

Методы

  Имя Описание
Открытый метод Alter() Updates the Configuration object property changes on the instance of SQL Server.  (Производный от ConfigurationBase.)
Открытый метод Alter(Boolean) Updates the Configuration object property changes on the instance of SQL Server.  (Производный от ConfigurationBase.)
Открытый метод Equals (Производный от Object.)
Защищенный метод Finalize (Производный от Object.)
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetType (Производный от Object.)
Защищенный метод MemberwiseClone (Производный от Object.)
Открытый метод Refresh Refreshes the Configuration object properties. (Производный от ConfigurationBase.)
Открытый метод ToString (Производный от Object.)

В начало

Замечания

Modifying the Configuration object is equivalent to using the Transact-SQL sp_configure statement.

To get Configuration object properties, users can be a member of the public fixed server role.

Thread Safety

Все общие статические члены этого типа (Shared в Microsoft Visual Basic) можно использовать в многопоточных операциях. Потокобезопасная работа с членами экземпляров типа не гарантируется.

Примеры

Настройка SQL Server в SMO

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.

См. также

Справочник

Пространство имен Microsoft.SqlServer.Management.Smo

Другие ресурсы

Настройка SQL Server в SMO

sp_configure (Transact-SQL)