[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]Creates a new instance of the EnterpriseManagementSimpleObject class. Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)

Usage

Visual Basic
Dim parentObject As EnterpriseManagementObject
Dim type As ManagementPackProperty
Dim value As Object

Dim instance As New EnterpriseManagementSimpleObject(parentObject, type, value)

Syntax

Visual Basic
Public Sub New ( _
		parentObject As EnterpriseManagementObject, _
		type As ManagementPackProperty, _
		value As Object _
)
C#
public EnterpriseManagementSimpleObject (
		EnterpriseManagementObject parentObject,
		ManagementPackProperty type,
		Object value
)
C++
public:
EnterpriseManagementSimpleObject (
		EnterpriseManagementObject^ parentObject, 
		ManagementPackProperty^ type, 
		Object^ value
)
J#
public EnterpriseManagementSimpleObject (
		EnterpriseManagementObject parentObject, 
		ManagementPackProperty type, 
		Object value
)
JScript
public function EnterpriseManagementSimpleObject (
		parentObject : EnterpriseManagementObject, 
		type : ManagementPackProperty, 
		value : Object
)

Parameters

parentObject

The parent object of this simple object.

type

The type of this simple object.

value

The value of this simple object.

Exceptions

Exception type Condition
ArgumentNullException

The parentObject parameter is a null reference (Nothing in Visual Basic).

-or-

The type parameter is a null reference (Nothing in Visual Basic).

InvalidOperationException

This property already exists on the parent object.

-or-

This property is not compatible with the parent object.

InvalidOperationException

The property does not support auto increment.

InvalidSimpleObjectValueException

The simple object value was not the proper type.

-or-

The specified enumeration value is not valid for the defined enumeration type.

-or-

The specified value did not match the defined regular expression.

-or-

The specified value did not conform to the maximum length requirements.

-or-

The specified value did not conform to the maximum value requirements.

-or-

The specified value did not conform to the minimum length requirements.

-or-

The specified value did not conform to the minimum value requirements.

Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003

See Also