Share via


Session.Validate Method (String, array<Object )

Validates the method specified by the name parameter.

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

Syntax

'Declaration
Public Function Validate ( _
    methodName As String, _
    ParamArray arguments As Object() _
) As ValidationState
'Usage
Dim instance As Session 
Dim methodName As String 
Dim arguments As Object()
Dim returnValue As ValidationState 

returnValue = instance.Validate(methodName, _
    arguments)
public ValidationState Validate(
    string methodName,
    params Object[] arguments
)
public:
virtual ValidationState^ Validate(
    String^ methodName, 
    ... array<Object^>^ arguments
) sealed
abstract Validate : 
        methodName:string * 
        arguments:Object[] -> ValidationState  
override Validate : 
        methodName:string * 
        arguments:Object[] -> ValidationState
public final function Validate(
    methodName : String, 
    ... arguments : Object[]
) : ValidationState

Parameters

  • methodName
    Type: System.String
    String value that specifies the name of the method.
  • arguments
    Type: array<System.Object[]
    The arguments as an array of strings.

Return Value

Type: Microsoft.SqlServer.Management.Sdk.Sfc.ValidationState
A private ValidationState.

Implements

ISfcValidate.Validate(String, array<Object[])

Remarks

The Microsoft.SqlServer.Management.Sdk.Sfc.dll contains the assemblies for SQL Foundation Classes. The library is found in the directory: %ProgramFiles%\Microsoft SQL Server\100\SDK\Assemblies.

See Also

Reference

Session Class

Validate Overload

Microsoft.SqlServer.Management.XEvent Namespace