Target 생성자 (Session, String)

Initializes a new instance of the Target class with the given parent and name.

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

구문

‘선언
Public Sub New ( _
    parent As Session, _
    name As String _
)
‘사용 방법
Dim parent As Session 
Dim name As String 

Dim instance As New Target(parent, _
    name)
public Target(
    Session parent,
    string name
)
public:
Target(
    Session^ parent, 
    String^ name
)
new : 
        parent:Session * 
        name:string -> Target
public function Target(
    parent : Session, 
    name : String
)

매개 변수

  • name
    유형: System.String
    A string value that contains the fully qualified name of the Target object.

예외

예외 조건
ArgumentNullException

Parameter name is null.

XEventException

The target name is malformed or wrong.

NullReferenceException

The parent of the session is not set yet.

참고 항목

참조

Target 클래스

Target 오버로드

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