InstrSessionMgr.GetNames

Syntax

InstrSessionMgr.GetNames( category, flags, filter)

Return Value

String Array

Returns the array of session names.

Purpose

Returns an array of the names for which you can obtain sessions.

Parameters

category As String

[In] Pass a category name to restrict the list so it contains only names in a specific category. Pass an empty string or "?" to retrieve names from all categories.

flags As GetNamesOptions

[In] Pass any combination of GetNamesOptions bit flags. Typically, applications pass ReturnLogicalNames .

filter As String

[In] Pass a filter string to exclude names from the list. Use the filter string to return only names of sessions that connect to drivers that use the prefix you specify. The filter string uses the following syntax: "SpecificPrefix=driver prefix, SpecificPrefix=driver prefix 2, ..." . Pass an empty string to return all sessions, regardless of the specific driver.

See Also

GetNamesOptions

Instrument Session Categories