ResultObjectHelpers.CreateNalPath Method
Creates a network abstraction layer (NAL) path.
Namespace: Microsoft.ConfigurationManagement.AdminConsole
Assembly: Microsoft.ConfigurationManagement.ManagementProvider (in microsoft.configurationmanagement.managementprovider.dll)
Usage
'Usage
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
'Declaration
Public Shared Function CreateNalPath ( _
connectionManager As ConnectionManagerBase, _
displayText As String, _
directoryPath As String, _
siteCode As String _
) As String
public static string CreateNalPath (
ConnectionManagerBase connectionManager,
string displayText,
string directoryPath,
string siteCode
)
public:
static String^ CreateNalPath (
ConnectionManagerBase^ connectionManager,
String^ displayText,
String^ directoryPath,
String^ siteCode
)
public static String CreateNalPath (
ConnectionManagerBase connectionManager,
String displayText,
String directoryPath,
String siteCode
)
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 |
---|---|
The connectionManager parameter cannot be null. |
|
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
Reference
ResultObjectHelpers Class
ResultObjectHelpers Members
Microsoft.ConfigurationManagement.AdminConsole Namespace
ConnectionManagerBase