Propriété PackageCollection.Item (Guid)
Gets the package in the collection with the specified GUID.
Espace de noms : Microsoft.SqlServer.Management.XEvent
Assembly : Microsoft.SqlServer.Management.XEvent (en Microsoft.SqlServer.Management.XEvent.dll)
Syntaxe
'Déclaration
Public ReadOnly Default Property Item ( _
packageID As Guid _
) As Package
Get
'Utilisation
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 prend en charge l'utilisation de propriétés indexées, mais pas la déclaration de nouvelles propriétés.
Paramètres
- packageID
Type : System.Guid
The GUID of the package.
Valeur de propriété
Type : Microsoft.SqlServer.Management.XEvent.Package
The package with the specified GUID.