Partager via


AffinityMask propriété

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 (dans 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 la 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.