XEStore.CreateSession 메서드
Represents a wrapper for Session constructor that is used to avoid accidentally passing the wrong parent.
네임스페이스: Microsoft.SqlServer.Management.XEvent
어셈블리: Microsoft.SqlServer.Management.XEvent(Microsoft.SqlServer.Management.XEvent.dll)
구문
‘선언
Public Function CreateSession ( _
sessionName As String _
) As Session
‘사용 방법
Dim instance As XEStore
Dim sessionName As String
Dim returnValue As Session
returnValue = instance.CreateSession(sessionName)
public Session CreateSession(
string sessionName
)
public:
Session^ CreateSession(
String^ sessionName
)
member CreateSession :
sessionName:string -> Session
public function CreateSession(
sessionName : String
) : Session
매개 변수
- sessionName
유형: System.String
A string value that specifies the name of the Session object.
반환 값
유형: Microsoft.SqlServer.Management.XEvent.Session
A Session object.