Partager via


Classe ResourcePoolAffinitySpecification

Represents the specification of the resource pool affinity.

Hiérarchie d'héritage

System.Object
  Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
    Microsoft.SqlServer.TransactSql.ScriptDom.ResourcePoolAffinitySpecification

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

Syntaxe

'Déclaration
<SerializableAttribute> _
Public Class ResourcePoolAffinitySpecification _
    Inherits TSqlFragment
'Utilisation
Dim instance As ResourcePoolAffinitySpecification
[SerializableAttribute]
public class ResourcePoolAffinitySpecification : TSqlFragment
[SerializableAttribute]
public ref class ResourcePoolAffinitySpecification : public TSqlFragment
[<SerializableAttribute>]
type ResourcePoolAffinitySpecification =  
    class 
        inherit TSqlFragment 
    end
public class ResourcePoolAffinitySpecification extends TSqlFragment

Le type ResourcePoolAffinitySpecification expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique ResourcePoolAffinitySpecification Initializes a new instance of the ResourcePoolAffinitySpecification class.

Haut de la page

Propriétés

  Nom Description
Propriété publique AffinityType Gets or sets the affinity settings of the resource pool.
Propriété publique FirstTokenIndex Gets or sets the first token index. (hérité de TSqlFragment.)
Propriété publique FragmentLength Gets the fragment length. (hérité de TSqlFragment.)
Propriété publique IsAuto Gets or sets whether the affinity of the resource pool is automatically specified.
Propriété publique LastTokenIndex Gets or sets the last token index. (hérité de TSqlFragment.)
Propriété publique ParameterValue Gets or sets the literal value of the parameter associated with the resource pool.
Propriété publique PoolAffinityRanges Gets the range of the resource pool affinity.
Propriété publique ScriptTokenStream Gets or sets a list of token streams. (hérité de TSqlFragment.)
Propriété publique StartColumn Gets the starting column. (hérité de TSqlFragment.)
Propriété publique StartLine Gets the starting line. (hérité de TSqlFragment.)
Propriété publique StartOffset Gets the fragment start offset value. (hérité de TSqlFragment.)

Haut de la page

Méthodes

  Nom Description
Méthode publique Accept Entry point for a given visitor. (remplace TSqlFragment.Accept(TSqlFragmentVisitor).)
Méthode publique AcceptChildren Calls Accept on the children with the given visitor. (remplace TSqlFragment.AcceptChildren(TSqlFragmentVisitor).)
Méthode publique Equals (hérité de Object.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetType (hérité de Object.)
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique ToString (hérité de Object.)

Haut de la page

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.

Voir aussi

Référence

Espace de noms Microsoft.SqlServer.TransactSql.ScriptDom