Freigeben über


Configuration-Klasse

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

Vererbungshierarchie

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

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

Syntax

'Declaration
Public Class Configuration _
    Inherits ConfigurationBase
'Usage
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

Der Configuration-Typ macht folgende Elemente verfügbar.

Eigenschaften

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

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Alter() Updates the Configuration object property changes on the instance of SQL Server.  (Geerbt von ConfigurationBase.)
Öffentliche Methode Alter(Boolean) Updates the Configuration object property changes on the instance of SQL Server.  (Geerbt von ConfigurationBase.)
Öffentliche Methode Equals (Geerbt von Object.)
Geschützte Methode Finalize (Geerbt von Object.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetType (Geerbt von Object.)
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Öffentliche Methode Refresh Refreshes the Configuration object properties. (Geerbt von ConfigurationBase.)
Öffentliche Methode ToString (Geerbt von Object.)

Zum Anfang

Hinweise

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

Alle öffentlichen, statischen Elemente dieses Typs (Shared in Microsoft Visual Basic) sind für Vorgänge mit mehreren Threads sicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Beispiele

Konfigurieren von SQL Server in SMO

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.

Siehe auch

Verweis

Microsoft.SqlServer.Management.Smo-Namespace

Andere Ressourcen

Konfigurieren von SQL Server in SMO

sp_configure (Transact-SQL)