مشاركة عبر


TargetSet.Levels Property

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

Property Value

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

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

See Also

Reference

TargetSet Class

Microsoft.SqlServer.Management.Dmf Namespace