PackageCollection.Item[] Property

Definition

Overloads

Item[Guid]

Gets the Package with the specified package GUID.

Item[String]

Gets the Package by name.

Item[Guid, String]

Gets the Package by module id and name.

Item[Guid]

Gets the Package with the specified package GUID.

public Microsoft.SqlServer.Management.XEvent.Package this[Guid packageID] { get; }
member this.Item(Guid) : Microsoft.SqlServer.Management.XEvent.Package
Default Public ReadOnly Property Item(packageID As Guid) As Package

Parameters

packageID
Guid

GUID of the package

Property Value

package with the specified GUID

Applies to

Item[String]

Gets the Package by name.

public Microsoft.SqlServer.Management.XEvent.Package this[string name] { get; }
member this.Item(string) : Microsoft.SqlServer.Management.XEvent.Package
Default Public ReadOnly Property Item(name As String) As Package

Parameters

name
String

just the package name, without the module id

Property Value

Package with the specified name, if the name is unique

Exceptions

if the package name is not unique

Applies to

Item[Guid, String]

Gets the Package by module id and name.

public Microsoft.SqlServer.Management.XEvent.Package this[Guid moduleID, string name] { get; }
member this.Item(Guid * string) : Microsoft.SqlServer.Management.XEvent.Package
Default Public ReadOnly Property Item(moduleID As Guid, name As String) As Package

Parameters

moduleID
Guid

module id of the package

name
String

name of the package

Property Value

package with the specified module id and name

Applies to