Metodo Session.Validate (String, array<Object )

Validates the method specified by the name parameter.

Spazio dei nomi  Microsoft.SqlServer.Management.XEvent
Assembly:  Microsoft.SqlServer.Management.XEvent (in Microsoft.SqlServer.Management.XEvent.dll)

Sintassi

'Dichiarazione
Public Function Validate ( _
    methodName As String, _
    ParamArray arguments As Object() _
) As ValidationState
'Utilizzo
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

Parametri

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

Valore restituito

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

Implementa

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

Osservazioni

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.

Vedere anche

Riferimento

Session Classe

Overload Validate

Spazio dei nomi Microsoft.SqlServer.Management.XEvent