Compartir a través de


ResultObjectHelpers.EncodeNalValue Method

Encodes a network abstraction layer (NAL) value. This method is similar to PackNALPath Method in Class SMS_NAL_Methods.

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

Usage

'Usage
Dim connectionManager As ConnectionManagerBase
Dim displayQualifiers As String()
Dim nalType As String
Dim networkOSPath As String
Dim networkConnectionQualifiers As String()
Dim returnValue As String

returnValue = ResultObjectHelpers.EncodeNalValue(connectionManager, displayQualifiers, nalType, networkOSPath, networkConnectionQualifiers)

Syntax

'Declaration
Public Shared Function EncodeNalValue ( _
    connectionManager As ConnectionManagerBase, _
    displayQualifiers As String(), _
    nalType As String, _
    networkOSPath As String, _
    networkConnectionQualifiers As String() _
) As String
public static string EncodeNalValue (
    ConnectionManagerBase connectionManager,
    string[] displayQualifiers,
    string nalType,
    string networkOSPath,
    string[] networkConnectionQualifiers
)
public:
static String^ EncodeNalValue (
    ConnectionManagerBase^ connectionManager, 
    array<String^>^ displayQualifiers, 
    String^ nalType, 
    String^ networkOSPath, 
    array<String^>^ networkConnectionQualifiers
)
public static String EncodeNalValue (
    ConnectionManagerBase connectionManager, 
    String[] displayQualifiers, 
    String nalType, 
    String networkOSPath, 
    String[] networkConnectionQualifiers
)
public static function EncodeNalValue (
    connectionManager : ConnectionManagerBase, 
    displayQualifiers : String[], 
    nalType : String, 
    networkOSPath : String, 
    networkConnectionQualifiers : String[]
) : String

Parameters

Return Value

Encoded NAL value.

Remarks

Exception type Condition

ArgumentNullException

The connectionManager parameter cannot be null.

ArgumentException

The networkOSPath parameter cannot be null or an empty string.

ArgumentOutOfRangeException

The NAL value could not be encoded.

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

Other Resources

PackNALPath Method in Class SMS_NAL_Methods