WMI--Windows API--Describing a WMI Namespace Object Path

来源:互联网 发布:linux的svn上传文件 编辑:程序博客网 时间:2024/06/06 08:47

原文来自MSDN Library for Visual Studio 2008 SP1,翻译部分仅为个人观点,想要看更多信息请看MSDN,如有版权问题请联系QQ 643166601,邮件643166601@qq.com

 

Describing a WMI Namespace Object Path
A namespace object path describes the location of a particular namespace on a server.
一个命名空间对象路径描述一个在服务器上的特定的命名空间的位置。
A namespace object path contains server and namespace elements, and is formatted using either forward or backward slashes.
一个命名空间对象路径包含服务器和命名空间元素并且是使用向前或向后斜杠格式化的。

The server element specifies the network name of the computer that is hosting the namespace, as shown in the following example.
这个服务器元素指定计算机的网络名称和主机命名空间,在以下的例子中展示。

\\Server\Namespace


- or -


//Server/Namespace


If the server is the local computer, use a single dot instead of the server name, as shown in the following example.
如果这个服务器是本地计算机,使用一个单一的点代替服务器名称,在以下的例子中展示。

\\.\Namespace

The namespace element specifies any valid namespace.
这个命名空间元素指定任何有效的命名空间。
A namespace is represented with a hierarchical string containing elements delimited by single backslashes, such as root\cimv2.
一个命名空间代表一个 按等级划分的字符串包含由单反斜杠分隔的元素,像root\cimv2。
You cannot use forward slashes within namespace names.
你不能在名称中使用向后斜杠。


Send comments about this topic to Microsoft

Build date: 8/15/2007

0 0
原创粉丝点击