Gets the relative path for the specified result object. Namespace: Microsoft.ConfigurationManagement.AdminConsole
Assembly: Microsoft.ConfigurationManagement.ManagementProvider (in microsoft.configurationmanagement.managementprovider.dll)

Usage

Visual Basic
Dim resultObject As IResultObject
Dim returnValue As String

returnValue = ResultObjectHelpers.GetRelPath(resultObject)

Syntax

Visual Basic
Public Shared Function GetRelPath ( _
		resultObject As IResultObject _
) As String
C#
public static string GetRelPath (
		IResultObject resultObject
)
C++
public:
static String^ GetRelPath (
		IResultObject^ resultObject
)
J#
public static String GetRelPath (
		IResultObject resultObject
)
JScript
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