TSqlAuditEventGroupHelper.TryParseOption 메서드

Indicates whether the sql version tries to parse the input string into the audit 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 EventNotificationEventGroup _
) As Boolean
‘사용 방법
Dim input As String 
Dim version As SqlVersion 
Dim returnValue As EventNotificationEventGroup 
Dim returnValue As Boolean 

returnValue = TSqlAuditEventGroupHelper.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

매개 변수

반환 값

유형: System.Boolean
True if the input string represents a valid Audit Event Group on the specified sql version; otherwise, false.

참고 항목

참조

TSqlAuditEventGroupHelper 클래스

Microsoft.SqlServer.TransactSql.ScriptDom 네임스페이스