Freigeben über


Configuration.AffinityMask-Eigenschaft

Gets the ConfigProperty object that is used to set the affinity mask configuration option.

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

Syntax

'Declaration
Public ReadOnly Property AffinityMask As ConfigProperty 
    Get
'Usage
Dim instance As Configuration 
Dim value As ConfigProperty 

value = instance.AffinityMask
public ConfigProperty AffinityMask { get; }
public:
property ConfigProperty^ AffinityMask {
    ConfigProperty^ get ();
}
member AffinityMask : ConfigProperty
function get AffinityMask () : ConfigProperty

Eigenschaftswert

Typ: Microsoft.SqlServer.Management.Smo.ConfigProperty
A ConfigProperty object that specifies the settings for the affinity mask configuration option.

Hinweise

The AffinityMask property sets the affinity mask configuration option. This property is used to increase performance on symmetric multiprocessor systems that are operating under heavy load. A specific thread can be associated with a specific processor. SQL Server can be allocated specific processors and precluded from specific processors.

Beispiele

Konfigurieren von SQL Server in SMO

Siehe auch

Verweis

Configuration Klasse

Microsoft.SqlServer.Management.Smo-Namespace

Andere Ressourcen

Serverkonfigurationsoptionen

sp_configure (Transact-SQL)