ResourceType 枚举


指定已定义的本机对象类型。Specifies the defined native object types.

public enum class ResourceType
public enum ResourceType
type ResourceType = 
Public Enum ResourceType


DSObject 8

目录服务 (DS) 对象或者目录服务对象的属性集或属性。A directory service (DS) object or a property set or property of a directory service object.

DSObjectAll 9

目录服务对象及其所有属性集和属性。A directory service object and all of its property sets and properties.

FileObject 1

文件或目录。A file or directory.

KernelObject 6

本地内核对象。A local kernel object.

LMShare 5

网络共享。A network share.

Printer 3

打印机。A printer.

ProviderDefined 10

提供程序定义的对象。An object defined by a provider.

RegistryKey 4

注册表项。A registry key.

RegistryWow6432Key 12

WOW64 下的注册表项的对象。An object for a registry entry under WOW64.

Service 2

Windows 服务。A Windows service.

Unknown 0

未知的对象类型。An unknown object type.

WindowObject 7

本地计算机上的窗口站或桌面对象。A window station or desktop object on the local computer.

WmiGuidObject 11

Windows Management Instrumentation (WMI) 对象。A Windows Management Instrumentation (WMI) object.