إشعار
يتطلب الوصول إلى هذه الصفحة تخويلاً. يمكنك محاولة تسجيل الدخول أو تغيير الدلائل.
يتطلب الوصول إلى هذه الصفحة تخويلاً. يمكنك محاولة تغيير الدلائل.
The SetAsClass method of the SWbemObjectPath object forces the path to address a WMI class.
This property is write-only.
Syntax
SWbemObjectPath.SetAsClass
Property value
Error codes
After you get or set the SetAsClass property, the Err object may contain the error code below.
-
wbemErrFailed - 2147749889 (0x80041001)
-
Unspecified error.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client |
Windows Vista |
| Minimum supported server |
Windows Server 2008 |
| Header |
|
| Type library |
|
| DLL |
|
| CLSID |
CLSID_SWbemObjectPath |
| IID |
IID_ISWbemObjectPath |