Condition.Validate 方法

Validates the condition using the given mode.

命名空间:  Microsoft.SqlServer.Management.Dmf
程序集:  Microsoft.SqlServer.Dmf(在 Microsoft.SqlServer.Dmf.dll 中)

语法

声明
Public Sub Validate ( _
    mode As String _
)
用法
Dim instance As Condition 
Dim mode As String

instance.Validate(mode)
public void Validate(
    string mode
)
public:
void Validate(
    String^ mode
)
member Validate : 
        mode:string -> unit
public function Validate(
    mode : String
)

参数

  • mode
    类型:System.String
    A String value that specifies the mode used to validate the condition.

注释

This method validates the expression and checks whether it applies to the specified facet.

示例

C#

c.Validate(mode);

VB

c.Validate(mode)

请参阅

参考

Condition 类

Microsoft.SqlServer.Management.Dmf 命名空间