Share via


Condition.Validate Method

Validates the condition using the given mode.

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

Syntax

'Declaration
Public Sub Validate ( _
    mode As String _
)
'Usage
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
)

Parameters

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

Remarks

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

Examples

C#

c.Validate(mode);

VB

c.Validate(mode)

See Also

Reference

Condition Class

Microsoft.SqlServer.Management.Dmf Namespace