Proprietà PackageCollection.Item (Guid)
Gets the package in the collection with the specified GUID.
Spazio dei nomi Microsoft.SqlServer.Management.XEvent
Assembly: Microsoft.SqlServer.Management.XEvent (in Microsoft.SqlServer.Management.XEvent.dll)
Sintassi
'Dichiarazione
Public ReadOnly Default Property Item ( _
packageID As Guid _
) As Package
Get
'Utilizzo
Dim instance As PackageCollection
Dim packageID As Guid
Dim value As Package
value = instance(packageID)
public Package this[
Guid packageID
] { get; }
public:
property Package^ default[Guid packageID] {
Package^ get (Guid packageID);
}
member Item : Package
JScript supporta l'utilizzo di proprietà indicizzate, ma non la dichiarazione di nuove proprietà.
Parametri
- packageID
Tipo: System.Guid
The GUID of the package.
Valore proprietà
Tipo: Microsoft.SqlServer.Management.XEvent.Package
The package with the specified GUID.