다음을 통해 공유


Session.Validate 메서드 (String)

Validates the specified method name.

네임스페이스:  Microsoft.SqlServer.Management.XEvent
어셈블리:  Microsoft.SqlServer.Management.XEvent(Microsoft.SqlServer.Management.XEvent.dll)

구문

‘선언
Public Sub Validate ( _
    methodName As String _
)
‘사용 방법
Dim instance As Session 
Dim methodName As String

instance.Validate(methodName)
public void Validate(
    string methodName
)
public:
void Validate(
    String^ methodName
)
member Validate : 
        methodName:string -> unit
public function Validate(
    methodName : String
)

매개 변수

  • methodName
    유형: System.String
    A string value that contains the name of the method: ValidationMethod.Create or ValidationMethod.Alter.

예외

예외 조건
XEventException

Validation failed.

참고 항목

참조

Session 클래스

Validate 오버로드

Microsoft.SqlServer.Management.XEvent 네임스페이스