Freigeben über


TargetSet.Levels-Eigenschaft

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

Namespace:  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Syntax

'Declaration
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(TargetSetLevel))> _
Public ReadOnly Property Levels As TargetSetLevelCollection 
    Get
'Usage
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

Eigenschaftswert

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

Hinweise

Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.

Siehe auch

Verweis

TargetSet Klasse

Microsoft.SqlServer.Management.Dmf-Namespace