مشاركة عبر


PackageCollection.Item Property (Guid)

Gets the package in the collection with the specified GUID.

Namespace:  Microsoft.SqlServer.Management.XEvent
Assembly:  Microsoft.SqlServer.Management.XEvent (in Microsoft.SqlServer.Management.XEvent.dll)

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    packageID As Guid _
) As Package 
    Get
'Usage
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 supports the use of indexed properties, but not the declaration of new ones.

Parameters

Property Value

Type: Microsoft.SqlServer.Management.XEvent.Package
The package with the specified GUID.

See Also

Reference

PackageCollection Class

Item Overload

Microsoft.SqlServer.Management.XEvent Namespace