Condividi tramite


Classe ResourcePool

Resource Pool Class

Spazio dei nomi:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
<StateChangeEventAttribute("ALTER_RESOURCE_POOL", "RESOURCEPOOL", "RESOURCE POOL")> _
<StateChangeEventAttribute("CREATE_RESOURCE_POOL", "RESOURCEPOOL", "RESOURCE POOL")> _
<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.None Or AutomatedPolicyEvaluationMode.Enforce Or AutomatedPolicyEvaluationMode.CheckOnChanges Or AutomatedPolicyEvaluationMode.CheckOnSchedule)> _
<PhysicalFacetAttribute> _
Public NotInheritable Class ResourcePool _
    Inherits ScriptNameObjectBase _
    Implements ICreatable, IDroppable, IAlterable, IScriptable
'Utilizzo
Dim instance As ResourcePool
[StateChangeEventAttribute("ALTER_RESOURCE_POOL", "RESOURCEPOOL", "RESOURCE POOL")]
[StateChangeEventAttribute("CREATE_RESOURCE_POOL", "RESOURCEPOOL", "RESOURCE POOL")]
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode.None|AutomatedPolicyEvaluationMode.Enforce|AutomatedPolicyEvaluationMode.CheckOnChanges|AutomatedPolicyEvaluationMode.CheckOnSchedule)]
[PhysicalFacetAttribute]
public sealed class ResourcePool : ScriptNameObjectBase, 
    ICreatable, IDroppable, IAlterable, IScriptable
[StateChangeEventAttribute(L"ALTER_RESOURCE_POOL", L"RESOURCEPOOL", L"RESOURCE POOL")]
[StateChangeEventAttribute(L"CREATE_RESOURCE_POOL", L"RESOURCEPOOL", L"RESOURCE POOL")]
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode::None|AutomatedPolicyEvaluationMode::Enforce|AutomatedPolicyEvaluationMode::CheckOnChanges|AutomatedPolicyEvaluationMode::CheckOnSchedule)]
[PhysicalFacetAttribute]
public ref class ResourcePool sealed : public ScriptNameObjectBase, 
    ICreatable, IDroppable, IAlterable, IScriptable
[<SealedAttribute>]
[<StateChangeEventAttribute("ALTER_RESOURCE_POOL", "RESOURCEPOOL", "RESOURCE POOL")>]
[<StateChangeEventAttribute("CREATE_RESOURCE_POOL", "RESOURCEPOOL", "RESOURCE POOL")>]
[<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.None|AutomatedPolicyEvaluationMode.Enforce|AutomatedPolicyEvaluationMode.CheckOnChanges|AutomatedPolicyEvaluationMode.CheckOnSchedule)>]
[<PhysicalFacetAttribute>]
type ResourcePool =  
    class
        inherit ScriptNameObjectBase
        interface ICreatable
        interface IDroppable
        interface IAlterable
        interface IScriptable
    end
public final class ResourcePool extends ScriptNameObjectBase implements ICreatable, IDroppable, IAlterable, IScriptable

Thread Safety

Tutti i membri pubblici static (Shared in Visual Basic) di questo tipo sono thread safe. I membri di istanza non hanno garanzia di essere thread safe.