Windows Dev Center

DeleteDirectConnectLicenseServer method of the Win32_TerminalServiceSetting class

[DeleteDirectConnectLicenseServer is no longer available for use as of Windows Server 2008 R2.]

Windows Server 2008 and Windows Server 2003:  Removes a license server from the registry.

Syntax


uint32 DeleteDirectConnectLicenseServer(
  [in] string LicenseServerName
);

Parameters

LicenseServerName [in]

Name of the license server to remove.

Return value

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 2003

End of client support

None supported

End of server support

Windows Server 2008

Namespace

Root\CIMv2\TerminalServices on Windows Server 2008, Root\CIMv2 on Windows Server 2003

MOF

TsCfgWmi.mof

DLL

TsCfgWmi.dll

See also

Win32_TerminalServiceSetting

 

 

Show:
© 2015 Microsoft