Compartir a través de


IMetadataGeneration.GetPackage Método

Retrieves a package by module identifier and name.

Espacio de nombres:  Microsoft.SqlServer.XEvent
Ensamblado:  Microsoft.SqlServer.XEvent.Linq (en Microsoft.SqlServer.XEvent.Linq.dll)

Sintaxis

'Declaración
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

Valor devuelto

Tipo: Microsoft.SqlServer.XEvent.IPackage
An IPackage with the name specified, or nulles una referencia NULL (Nothing en Visual Basic). if the package cannot be found.

Vea también

Referencia

IMetadataGeneration Interfaz

Espacio de nombres Microsoft.SqlServer.XEvent