Share via


ResourcePool 類別

Resource Pool Class

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<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
'用途
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

執行緒安全性

這個類型的任何公用static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員都可以是安全執行緒。