Gets the package in the collection with the specified GUID.
命名空间: Microsoft.SqlServer.Management.XEvent
程序集: Microsoft.SqlServer.Management.XEvent(在 Microsoft.SqlServer.Management.XEvent.dll 中)
语法
声明
Public ReadOnly Default Property Item ( _
packageID As Guid _
) As Package
Get
用法
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 支持使用索引属性,但不支持声明新索引属性。
参数
- packageID
类型:System.Guid
The GUID of the package.
属性值
类型:Microsoft.SqlServer.Management.XEvent.Package
The package with the specified GUID.