Dela via


CreatableEnterpriseManagementObject.ToString Method

Returns a string that represents this object.

Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)

Usage

'Usage
Dim instance As CreatableEnterpriseManagementObject
Dim returnValue As String

returnValue = instance.ToString

Syntax

'Declaration
Public Overrides Function ToString As String
public override string ToString ()
public:
virtual String^ ToString () override
public String ToString ()
public override function ToString () : String

Return Value

The string representing this object.

Remarks

The string that will be returned varies depending on what the current object is being used for. If the object contains key\value structures, a list of each of these will be returned. If the Microsoft.EnterpriseManagement.Configuration.ManagementPackClass was used to create this object, the name of that class will be returned. Otherwise, a string representing the base class object is returned.

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 Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

CreatableEnterpriseManagementObject Class
CreatableEnterpriseManagementObject Members
Microsoft.EnterpriseManagement.Common Namespace