次の方法で共有


ResourcePool クラス

リソース プール クラス

名前空間:  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

スレッド セーフ

この型の public static (Visual Basic では Shared) のメンバーはすべて、スレッド セーフです。インスタンス メンバーの場合は、スレッド セーフであるとは限りません。