PackageCollection.Item Property (String)
Gets the Package object identified by the name parameter.
Namespace: Microsoft.SqlServer.Management.XEvent
Assembly: Microsoft.SqlServer.Management.XEvent (in Microsoft.SqlServer.Management.XEvent.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
name As String _
) As Package
Get
'Usage
Dim instance As PackageCollection
Dim name As String
Dim value As Package
value = instance(name)
public Package this[
string name
] { get; }
public:
property Package^ default[String^ name] {
Package^ get (String^ name);
}
member Item : Package
JScript supports the use of indexed properties, but not the declaration of new ones.
Parameters
- name
Type: System.String
The name of Package object.
Property Value
Type: Microsoft.SqlServer.Management.XEvent.Package
The Package object with the specified name.