Freigeben über


ResultObjectDisplayHelpers.NalNetworkOSPathDisplayString Method

Formats and returns the network operating system string.

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

Usage

'Usage
Dim sender As Object
Dim resultObject As IResultObject
Dim propertyName As String
Dim returnValue As String

returnValue = ResultObjectDisplayHelpers.NalNetworkOSPathDisplayString(sender, resultObject, propertyName)

Syntax

'Declaration
Public Shared Function NalNetworkOSPathDisplayString ( _
    sender As Object, _
    resultObject As IResultObject, _
    propertyName As String _
) As String
public static string NalNetworkOSPathDisplayString (
    Object sender,
    IResultObject resultObject,
    string propertyName
)
public:
static String^ NalNetworkOSPathDisplayString (
    Object^ sender, 
    IResultObject^ resultObject, 
    String^ propertyName
)
public static String NalNetworkOSPathDisplayString (
    Object sender, 
    IResultObject resultObject, 
    String propertyName
)
public static function NalNetworkOSPathDisplayString (
    sender : Object, 
    resultObject : IResultObject, 
    propertyName : String
) : String

Parameters

  • sender
    [in] System.Object instance that indicates the sender of an event notifying that the network operating system path is needed.
  • resultObject
    [in] IResultObject interface for getting and setting result object properties.
  • propertyName
    [in] Name of the property.

Return Value

Network operating system string.

Exceptions

Exception type Condition
ArgumentNullException

The resultObject parameter cannot be null.

ArgumentException

The propertyName 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

ResultObjectDisplayHelpers Class
ResultObjectDisplayHelpers Members
Microsoft.ConfigurationManagement.AdminConsole Namespace
IResultObject