Partager via


Propriété Configuration.AffinityMask

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public ReadOnly Property AffinityMask As ConfigProperty 
    Get
'Utilisation
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

Valeur de propriété

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

Notes

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.

Exemples

Configuration de SQL Server dans SMO

Voir aussi

Référence

Configuration Classe

Espace de noms Microsoft.SqlServer.Management.Smo

Autres ressources

Options de configuration de serveur

sp_configure (Transact-SQL)