Partilhar via


ScopeNodeBase.PathFromScope Method

Calculates the path name for a new node that is derived from the scope node.

Namespace: Microsoft.ConfigurationManagement.AdminConsole
Assembly: Microsoft.ConfigurationManagement (in microsoft.configurationmanagement.dll)

Usage

'Usage
Dim instance As ScopeNodeBase
Dim rootName As String
Dim returnValue As String

returnValue = instance.PathFromScope(rootName)

Syntax

'Declaration
Public Function PathFromScope ( _
    rootName As String _
) As String
public string PathFromScope (
    string rootName
)
public:
String^ PathFromScope (
    String^ rootName
)
public String PathFromScope (
    String rootName
)
public function PathFromScope (
    rootName : String
) : String

Parameters

  • rootName
    [in] Name of the scope node.

Return Value

Path name string.

Remarks

Your application calls this method before the new node is added as a child.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2003,Windows Vista

See Also

Reference

ScopeNodeBase Class
ScopeNodeBase Members
Microsoft.ConfigurationManagement.AdminConsole Namespace