다음을 통해 공유


SWbemObjectEx.SystemProperties_ 속성

SWbemObjectEx 개체의 SystemProperties_ 속성은 개체에 적용되는 WMI 시스템 속성의 컬렉션을 포함하는 SWbemPropertySet 개체를 반환합니다.

이 구문에 대한 설명은 스크립팅 API의 문서 규칙을 참조하세요.

이 속성은 읽기/쓰기가 가능합니다.

구문

SWbemObjectEx.SystemProperties_ As Object

속성 값

예제

다음 코드 샘플에서는 Win32_Process 클래스의 속성 값을 검색합니다.

Set objWmi = GetObject ("winmgmts:root\cimv2")
Set objClass = objWmi.Get("Win32_Process")

' SWbemObjectEx.SystemProperties_ returns 
' an SWbemPropertySet object that contains the collection
' of sytem properties for Win32_Process class

For Each objProperty In objClass.SystemProperties_

    WScript.Echo vbCrLf & objProperty.Name & ":"

    ' Have to take into account that
    ' __Derivation is an array

    If Not objProperty.IsArray Then
        WScript.Echo vbTab & objProperty.Value
    Else
        For Each strValue In objProperty.Value
            WScript.Echo vbTab & strValue
        Next
    End If

Next

요구 사항

요구 사항
지원되는 최소 클라이언트
Windows Vista
지원되는 최소 서버
Windows Server 2008
헤더
Wbemdisp.h
유형 라이브러리
Wbemdisp.tlb
DLL
Wbemdisp.dll
CLSID
CLSID_SWbemObjectEx
IID
IID_ISWbemObjectEx

추가 정보

SWbemObjectEx