共用方式為


SetLevelCondition 方法

Sets the condition for the specified target set level.

命名空間:  Microsoft.SqlServer.Management.Dmf
組件:  Microsoft.SqlServer.Dmf (在 Microsoft.SqlServer.Dmf.dll 中)

語法

'宣告
Public Function SetLevelCondition ( _
    level As TargetSetLevel, _
    condition As String _
) As TargetSetLevel
'用途
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

參數

傳回值

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

備註

只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。