Compartir a través de


TSqlTriggerEventGroupHelper.TryParseOption Método

Indicates whether the sql version tries to parse the input string into the trigger event group.

Espacio de nombres:  Microsoft.SqlServer.TransactSql.ScriptDom
Ensamblado:  Microsoft.SqlServer.TransactSql.ScriptDom (en Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Sintaxis

'Declaración
Public Shared Function TryParseOption ( _
    input As String, _
    version As SqlVersion, _
    <OutAttribute> ByRef returnValue As EventNotificationEventGroup _
) As Boolean
'Uso
Dim input As String 
Dim version As SqlVersion 
Dim returnValue As EventNotificationEventGroup 
Dim returnValue As Boolean 

returnValue = TSqlTriggerEventGroupHelper.TryParseOption(input, _
    version, returnValue)
public static bool TryParseOption(
    string input,
    SqlVersion version,
    out EventNotificationEventGroup returnValue
)
public:
static bool TryParseOption(
    String^ input, 
    SqlVersion version, 
    [OutAttribute] EventNotificationEventGroup% returnValue
)
static member TryParseOption : 
        input:string * 
        version:SqlVersion * 
        returnValue:EventNotificationEventGroup byref -> bool
public static function TryParseOption(
    input : String, 
    version : SqlVersion, 
    returnValue : EventNotificationEventGroup
) : boolean

Parámetros

Valor devuelto

Tipo: System.Boolean
True if the input string represents a valid audit event group on the specified sql version; otherwise, false.

Vea también

Referencia

TSqlTriggerEventGroupHelper Clase

Espacio de nombres Microsoft.SqlServer.TransactSql.ScriptDom