共用方式為


ResourcePoolParameter.AffinitySpecification 屬性

Gets or sets the affinity specification.

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

語法

'宣告
Public Property AffinitySpecification As ResourcePoolAffinitySpecification 
    Get 
    Set
'用途
Dim instance As ResourcePoolParameter 
Dim value As ResourcePoolAffinitySpecification 

value = instance.AffinitySpecification

instance.AffinitySpecification = value
public ResourcePoolAffinitySpecification AffinitySpecification { get; set; }
public:
property ResourcePoolAffinitySpecification^ AffinitySpecification {
    ResourcePoolAffinitySpecification^ get ();
    void set (ResourcePoolAffinitySpecification^ value);
}
member AffinitySpecification : ResourcePoolAffinitySpecification with get, set
function get AffinitySpecification () : ResourcePoolAffinitySpecification 
function set AffinitySpecification (value : ResourcePoolAffinitySpecification)

屬性值

型別:Microsoft.SqlServer.TransactSql.ScriptDom.ResourcePoolAffinitySpecification
An ResourcePoolAffinitySpecification object.

請參閱

參考

ResourcePoolParameter 類別

Microsoft.SqlServer.TransactSql.ScriptDom 命名空間