The IsOwned method of the Win32_Tpm class indicates whether the device has an owner. This value is changed by the TakeOwnership method.
Syntax
uint32 IsOwned(
[out] boolean IsOwned
);
Parameters
- IsOwned [out]
-
If true, the device has an owner.
Return Value
All TPM errors as well as errors specific to TPM Base Services can be returned.
Common return codes are listed below.
| Return code/value | Description |
- S_OK
- 0 (0x0)
| The method was successful.
|
Remarks
Managed Object Format (MOF) files contain the definitions for Windows Management Instrumentation (WMI) classes. MOF files are not installed as part of the Windows 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 | Windows Vista |
| Minimum supported server | Windows Server 2008 |
| MOF | Win32_tpm.mof |
| DLL | Win32_tpm.dll |
| Namespace | \\.\root\CIMV2\Security\MicrosoftTpm |
See Also
- Win32_Tpm
Send comments about this topic to Microsoft
Build date: 11/16/2009