共用方式為


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 版支援此命名空間、類別或成員。