Método IMetadataGeneration.GetPackage
Retrieves a package by module identifier and name.
Namespace: Microsoft.SqlServer.XEvent
Assembly: Microsoft.SqlServer.XEvent.Linq (em Microsoft.SqlServer.XEvent.Linq.dll)
Sintaxe
'Declaração
Function GetPackage ( _
moduleId As Guid, _
name As String _
) As IPackage
'Uso
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
Parâmetros
- moduleId
Tipo: System.Guid
The module identifier.
- name
Tipo: System.String
The specified name.
Valor de retorno
Tipo: Microsoft.SqlServer.XEvent.IPackage
An IPackage with the name specified, or nulluma referência nula (Nothing no Visual Basic) if the package cannot be found.