共用方式為


ResourcePoolAffinitySpecification.AffinityType 屬性

Gets or sets the affinity settings of the resource pool.

命名空間:  Microsoft.SqlServer.TransactSql.ScriptDom
組件:  Microsoft.SqlServer.TransactSql.ScriptDom (在 Microsoft.SqlServer.TransactSql.ScriptDom.dll 中)

語法

'宣告
Public Property AffinityType As ResourcePoolAffinityType 
    Get 
    Set
'用途
Dim instance As ResourcePoolAffinitySpecification 
Dim value As ResourcePoolAffinityType 

value = instance.AffinityType

instance.AffinityType = value
public ResourcePoolAffinityType AffinityType { get; set; }
public:
property ResourcePoolAffinityType AffinityType {
    ResourcePoolAffinityType get ();
    void set (ResourcePoolAffinityType value);
}
member AffinityType : ResourcePoolAffinityType with get, set
function get AffinityType () : ResourcePoolAffinityType 
function set AffinityType (value : ResourcePoolAffinityType)

屬性值

型別:Microsoft.SqlServer.TransactSql.ScriptDom.ResourcePoolAffinityType
The affinity settings of the resource pool.

請參閱

參考

ResourcePoolAffinitySpecification 類別

Microsoft.SqlServer.TransactSql.ScriptDom 命名空間