Partilhar via


Método SetLevelCondition

Sets the condition for the specified target set level.

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

Sintaxe

'Declaração
Public Function SetLevelCondition ( _
    level As TargetSetLevel, _
    condition As String _
) As TargetSetLevel
'Uso
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

Parâmetros

Valor de retorno

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

Comentários

Só há suporte para esse namespace, classe ou membro na versão 2.0 do Microsoft .NET Framework.