ResourcePoolAffinitySpecification.AffinityType Property

Gets or sets the affinity settings of the resource pool.

Namespace:  Microsoft.SqlServer.TransactSql.ScriptDom
Assembly:  Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Syntax

'Declaration
Public Property AffinityType As ResourcePoolAffinityType 
    Get 
    Set
'Usage
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)

Property Value

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

See Also

Reference

ResourcePoolAffinitySpecification Class

Microsoft.SqlServer.TransactSql.ScriptDom Namespace