Share via


TargetSet.SetLevelCondition Method

Sets the condition for the specified target set level.

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

Syntax

'Declaration
Public Function SetLevelCondition ( _
    level As TargetSetLevel, _
    condition As String _
) As TargetSetLevel
'Usage
Dim instance As TargetSet 
Dim level As TargetSetLevel 
Dim condition As String 
Dim returnValue As TargetSetLevel 

returnValue = instance.SetLevelCondition(level, _
    condition)
public TargetSetLevel SetLevelCondition(
    TargetSetLevel level,
    string condition
)
public:
TargetSetLevel^ SetLevelCondition(
    TargetSetLevel^ level, 
    String^ condition
)
member SetLevelCondition : 
        level:TargetSetLevel * 
        condition:string -> TargetSetLevel
public function SetLevelCondition(
    level : TargetSetLevel, 
    condition : String
) : TargetSetLevel

Parameters

Return Value

Type: Microsoft.SqlServer.Management.Dmf.TargetSetLevel
A TargetSetLevel object that specifies the target set level with the associated condition.

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