Classe ResourcePool
Resource Pool Class
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
<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
'Uso
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
Hierarquia de herança
System. . :: . .Object
Microsoft.SqlServer.Management.Smo. . :: . .SmoObjectBase
Microsoft.SqlServer.Management.Smo. . :: . .SqlSmoObject
Microsoft.SqlServer.Management.Smo. . :: . .NamedSmoObject
Microsoft.SqlServer.Management.Smo. . :: . .ScriptNameObjectBase
Microsoft.SqlServer.Management.Smo..::..ResourcePool
Segurança de thread
Quaisquer membros static (Shared no Visual Basic) públicos deste tipo são thread-safe. Não há garantia de que qualquer membro de instância seja thread-safe.
Consulte também