Compartir a través de


ResultObjectHelpers.GetRelPath Method

Gets the relative path for the specified result object.

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

Usage

'Usage
Dim resultObject As IResultObject
Dim returnValue As String

returnValue = ResultObjectHelpers.GetRelPath(resultObject)

Syntax

'Declaration
Public Shared Function GetRelPath ( _
    resultObject As IResultObject _
) As String
public static string GetRelPath (
    IResultObject resultObject
)
public:
static String^ GetRelPath (
    IResultObject^ resultObject
)
public static String GetRelPath (
    IResultObject resultObject
)
public static function GetRelPath (
    resultObject : IResultObject
) : String

Parameters

  • resultObject
    [in] IResultObject interface for getting and setting result object properties.

Return Value

Relative path string.

Exceptions

Exception type Condition
ArgumentNullException

The resultObject parameter cannot be null.

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
IResultObject