TSqlTriggerEventTypeHelper.TryParseOption 方法

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

命名空间:  Microsoft.SqlServer.TransactSql.ScriptDom
程序集:  Microsoft.SqlServer.TransactSql.ScriptDom(在 Microsoft.SqlServer.TransactSql.ScriptDom.dll 中)

语法

声明
Public Shared Function TryParseOption ( _
    input As String, _
    version As SqlVersion, _
    <OutAttribute> ByRef returnValue As EventNotificationEventType _
) As Boolean
用法
Dim input As String 
Dim version As SqlVersion 
Dim returnValue As EventNotificationEventType 
Dim returnValue As Boolean 

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

参数

返回值

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

请参阅

参考

TSqlTriggerEventTypeHelper 类

Microsoft.SqlServer.TransactSql.ScriptDom 命名空间