次の方法で共有


ActivateOnline method of the Win32_WindowsProductActivation class

The ActivateOnline WMI class method exchanges license-related data with the Microsoft Clearinghouse license server. If the exchange succeeds, this method completes system activation. This method requires that the target computer communicate through the Internet using the HTTPS protocol.

This topic uses Managed Object Format (MOF) syntax. For more information about using this method, see Calling a Method.

Syntax

uint32 ActivateOnline();

Parameters

This method has no parameters.

Remarks

You can call the SetProxySetting method before calling ActivateOnline to connect to the Internet through a firewall.

Note

Windows Product Activation is not available on the Itanium-based versions of the Windows operating system.

Requirements

Minimum supported client
Windows XP
Minimum supported server
Windows Server 2003
End of client support
Windows XP
End of server support
Windows Server 2003 R2
Namespace
Root\CIMV2
MOF
Licwmi.mof
DLL
Licwmi.dll

See also

Win32_WindowsProductActivation

Windows Product Activation Provider