Partager via


Propriété ResourcePoolAffinitySpecification.AffinityType

Gets or sets the affinity settings of the resource pool.

Espace de noms :  Microsoft.SqlServer.TransactSql.ScriptDom
Assembly :  Microsoft.SqlServer.TransactSql.ScriptDom (en Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Syntaxe

'Déclaration
Public Property AffinityType As ResourcePoolAffinityType 
    Get 
    Set
'Utilisation
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)

Valeur de propriété

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

Voir aussi

Référence

ResourcePoolAffinitySpecification Classe

Espace de noms Microsoft.SqlServer.TransactSql.ScriptDom