Compartir a través de


Clase Configuration

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

Jerarquía de herencia

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

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
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

El tipo Configuration expone los siguientes miembros.

Propiedades

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

Arriba

Métodos

  Nombre Descripción
Método público Alter() Updates the Configuration object property changes on the instance of SQL Server.  (Se hereda de ConfigurationBase.)
Método público Alter(Boolean) Updates the Configuration object property changes on the instance of SQL Server.  (Se hereda de ConfigurationBase.)
Método público Equals (Se hereda de Object.)
Método protegido Finalize (Se hereda de Object.)
Método público GetHashCode (Se hereda de Object.)
Método público GetType (Se hereda de Object.)
Método protegido MemberwiseClone (Se hereda de Object.)
Método público Refresh Refreshes the Configuration object properties. (Se hereda de ConfigurationBase.)
Método público ToString (Se hereda de Object.)

Arriba

Comentarios

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

Todos los miembros estáticos (compartidos en Microsoft Visual Basic) públicos de este tipo son seguros para operaciones multiproceso. No se garantiza que los miembros de instancia sean seguros para subprocesos.

Ejemplos

Configurar SQL Server en SMO

Seguridad para subprocesos

Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.

Vea también

Referencia

Espacio de nombres Microsoft.SqlServer.Management.Smo

Otros recursos

Configurar SQL Server en SMO

sp_configure (Transact-SQL)