PackageCollection.Item Propiedad (Guid, String)
Gets the package in the collection by module ID and name.
Espacio de nombres: Microsoft.SqlServer.Management.XEvent
Ensamblado: Microsoft.SqlServer.Management.XEvent (en Microsoft.SqlServer.Management.XEvent.dll)
Sintaxis
'Declaración
Public ReadOnly Default Property Item ( _
moduleID As Guid, _
name As String _
) As Package
Get
'Uso
Dim instance As PackageCollection
Dim moduleID As Guid
Dim name As String
Dim value As Package
value = instance(moduleID, name)
public Package this[
Guid moduleID,
string name
] { get; }
public:
property Package^ default[Guid moduleID, String^ name] {
Package^ get (Guid moduleID, String^ name);
}
member Item : Package
JScript admite el uso de propiedades indizadas, pero no la declaración de otras nuevas.
Parámetros
- moduleID
Tipo: System.Guid
The module ID of the package.
- name
Tipo: System.String
The name of the package.
Valor de la propiedad
Tipo: Microsoft.SqlServer.Management.XEvent.Package
The package with the specified module ID and name.