Creates a network abstraction layer (NAL) path. Namespace: Microsoft.ConfigurationManagement.AdminConsole
Assembly: Microsoft.ConfigurationManagement.ManagementProvider (in microsoft.configurationmanagement.managementprovider.dll)

Usage

Visual Basic
Dim connectionManager As ConnectionManagerBase
Dim displayText As String
Dim directoryPath As String
Dim siteCode As String
Dim returnValue As String

returnValue = ResultObjectHelpers.CreateNalPath(connectionManager, displayText, directoryPath, siteCode)

Syntax

Visual Basic
Public Shared Function CreateNalPath ( _
		connectionManager As ConnectionManagerBase, _
		displayText As String, _
		directoryPath As String, _
		siteCode As String _
) As String
C#
public static string CreateNalPath (
		ConnectionManagerBase connectionManager,
		string displayText,
		string directoryPath,
		string siteCode
)
C++
public:
static String^ CreateNalPath (
		ConnectionManagerBase^ connectionManager, 
		String^ displayText, 
		String^ directoryPath, 
		String^ siteCode
)
J#
public static String CreateNalPath (
		ConnectionManagerBase connectionManager, 
		String displayText, 
		String directoryPath, 
		String siteCode
)
JScript
public static function CreateNalPath (
		connectionManager : ConnectionManagerBase, 
		displayText : String, 
		directoryPath : String, 
		siteCode : String
) : String

Parameters

connectionManager

[in] ConnectionManagerBase object.

displayText

[in] Display text that is used by the Configuration Manager console.

directoryPath

[in] Directory path for the network operating system.

siteCode

[in] Site code for the site.

Return Value

NAL path string.

Remarks

Exception type

Condition

ArgumentNullException

The connectionManager parameter cannot be null.

ArgumentException

The siteCode parameter cannot be null or an empty string.


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