Windows Dev Center

GetRedirectableAddresses method of the Win32_TSSessionDirectory class

Obtains the entire list of DNS eligible addresses.

Syntax


uint32 GetRedirectableAddresses(
  [in]  uint32 fTokenRedirection,
  [out] string IPAddresses[],
  [out] string AdapterNames[],
  [out] string NetConName[]
);

Parameters

fTokenRedirection [in]

Type: uint32

A flag that indicates whether token redirection should be used.

IPAddresses [out]

Type: string[]

The entire list of IP addresses that are available for redirection.

AdapterNames [out]

Type: string[]

The list of network adapter names that are associated with the addresses that are available for redirection.

NetConName [out]

Type: string[]

The list of network connection names that are associated with the addresses that are available for redirection.

Return value

Type: uint32

Returns 0 on success, otherwise returns a WMI error code. Refer to Remote Desktop Services WMI Provider Error Codes for a list of these values.

Remarks

Managed Object Format (MOF) files contain the definitions for Windows Management Instrumentation (WMI) classes. MOF files are not installed as part of the Microsoft Windows Software Development Kit (SDK). They are installed on the server when you add the associated role by using the Server Manager. For more information about MOF files, see Managed Object Format (MOF).

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008

Namespace

Root\CIMv2\TerminalServices

MOF

TsCfgWmi.mof

DLL

RDMS.dll

See also

Win32_TSSessionDirectory

 

 

Show:
© 2015 Microsoft