Partilhar via


Classe Configuration

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

Hierarquia de herança

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
Public Class Configuration _
    Inherits ConfigurationBase
'Uso
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

O tipo Configuration expõe os membros a seguir.

Propriedades

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

Início

Métodos

  Nome Descrição
Método público Alter() Updates the Configuration object property changes on the instance of SQL Server.  (Herdado de ConfigurationBase.)
Método público Alter(Boolean) Updates the Configuration object property changes on the instance of SQL Server.  (Herdado de ConfigurationBase.)
Método público Equals (Herdado de Object.)
Método protegido Finalize (Herdado de Object.)
Método público GetHashCode (Herdado de Object.)
Método público GetType (Herdado de Object.)
Método protegido MemberwiseClone (Herdado de Object.)
Método público Refresh Refreshes the Configuration object properties. (Herdado de ConfigurationBase.)
Método público ToString (Herdado de Object.)

Início

Comentários

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

Qualquer membro público estático (Compartilhado no Microsoft Visual Basic) desse tipo é seguro para operações multi-threaded. Não há garantia de que qualquer membro de instância seja seguro para threads.

Exemplos

Configurando o SQL Server no SMO

Segurança de thread

Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.

Consulte também

Referência

Namespace Microsoft.SqlServer.Management.Smo

Outros recursos

Configurando o SQL Server no SMO

sp_configure (Transact-SQL)