IServerPerformanceFacet.AffinityMask Property

Gets the affinity mask property for an instance of SQL Server.

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

Syntax

'Declaration
<DisplayNameKeyAttribute("AffinityMaskName")> _
<DisplayDescriptionKeyAttribute("AffinityMaskDesc")> _
ReadOnly Property AffinityMask As Integer 
    Get
'Usage
Dim instance As IServerPerformanceFacet 
Dim value As Integer 

value = instance.AffinityMask
[DisplayNameKeyAttribute("AffinityMaskName")]
[DisplayDescriptionKeyAttribute("AffinityMaskDesc")]
int AffinityMask { get; }
[DisplayNameKeyAttribute(L"AffinityMaskName")]
[DisplayDescriptionKeyAttribute(L"AffinityMaskDesc")]
property int AffinityMask {
    int get ();
}
[<DisplayNameKeyAttribute("AffinityMaskName")>]
[<DisplayDescriptionKeyAttribute("AffinityMaskDesc")>]
abstract AffinityMask : int
function get AffinityMask () : int

Property Value

Type: System.Int32
The affinity mask property for an instance of SQL Server.

See Also

Reference

IServerPerformanceFacet Interface

Microsoft.SqlServer.Management.Smo Namespace