共用方式為


Validate 方法 (String)

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
)

參數

備註

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

範例

C#

c.Validate(mode);

VB

c.Validate(mode)