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
参数
- level
类型:Microsoft.SqlServer.Management.Dmf. . :: . .TargetSetLevel
A TargetSetLevel object that specifies the target set level.
- condition
类型:System. . :: . .String
A String object that specifies the condition.
返回值
类型:Microsoft.SqlServer.Management.Dmf. . :: . .TargetSetLevel
A TargetSetLevel object that specifies the target set level with the associated condition.
注释
仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。