TargetSet.Levels 属性

Represents a collection of TargetSetLevel objects. Each TargetSetLevel object represents a policy-based Management target set level.

命名空间:  Microsoft.SqlServer.Management.Dmf
程序集:  Microsoft.SqlServer.Dmf(在 Microsoft.SqlServer.Dmf.dll 中)

语法

声明
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(TargetSetLevel))> _
Public ReadOnly Property Levels As TargetSetLevelCollection 
    Get
用法
Dim instance As TargetSet 
Dim value As TargetSetLevelCollection 

value = instance.Levels
[SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(TargetSetLevel))]
public TargetSetLevelCollection Levels { get; }
[SfcObjectAttribute(SfcContainerRelationship::ChildContainer, SfcContainerCardinality::ZeroToAny, 
    typeof(TargetSetLevel))]
public:
property TargetSetLevelCollection^ Levels {
    TargetSetLevelCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(TargetSetLevel))>]
member Levels : TargetSetLevelCollection
function get Levels () : TargetSetLevelCollection

属性值

类型:Microsoft.SqlServer.Management.Dmf.TargetSetLevelCollection
A TargetSetLevelCollection object that represents all the levels that are defined on the target set.

注释

仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。

请参阅

参考

TargetSet 类

Microsoft.SqlServer.Management.Dmf 命名空间