IMetadataGeneration.GetPackage 메서드
Retrieves a package by module identifier and name.
네임스페이스: Microsoft.SqlServer.XEvent
어셈블리: Microsoft.SqlServer.XEvent.Linq(Microsoft.SqlServer.XEvent.Linq.dll)
구문
‘선언
Function GetPackage ( _
moduleId As Guid, _
name As String _
) As IPackage
‘사용 방법
Dim instance As IMetadataGeneration
Dim moduleId As Guid
Dim name As String
Dim returnValue As IPackage
returnValue = instance.GetPackage(moduleId, _
name)
IPackage GetPackage(
Guid moduleId,
string name
)
IPackage^ GetPackage(
Guid moduleId,
String^ name
)
abstract GetPackage :
moduleId:Guid *
name:string -> IPackage
function GetPackage(
moduleId : Guid,
name : String
) : IPackage
매개 변수
- moduleId
유형: System.Guid
The module identifier.
- name
유형: System.String
The specified name.
반환 값
유형: Microsoft.SqlServer.XEvent.IPackage
An IPackage with the name specified, or nullnull 참조(Visual Basic에서는 Nothing) if the package cannot be found.