Méthode Validate
Validates the specified method with specified parameters for the server audit specification.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Function Validate ( _
methodName As String, _
ParamArray arguments As Object() _
) As ValidationState
'Utilisation
Dim instance As ServerAuditSpecificationExtender
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
Paramètres
- methodName
Type : System. . :: . .String
A String that specifies the name of the method.
- arguments
Type : array<System. . :: . .Object> [] () [] []
An [T.System.Object[]] array the contains the method parameters.
Valeur de retour
Type : Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .ValidationState
ValidationState
Implémente
ISfcValidate. . :: . .Validate(String, array<Object> [] () [] [])
Voir aussi