共用方式為


IServerPerformanceFacet.AffinityMask 屬性

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<DisplayNameKeyAttribute("AffinityMaskName")> _
<DisplayDescriptionKeyAttribute("AffinityMaskDesc")> _
ReadOnly Property AffinityMask As Integer 
    Get
'用途
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

屬性值

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

請參閱

參考

IServerPerformanceFacet 介面

Microsoft.SqlServer.Management.Smo 命名空間