共用方式為


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 命名空間