Partager via


SdkEntityInstance.Create Method

[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 SdkEntityInstance structure.

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

Usage

'Usage
Dim typeId As Guid
Dim keyPropertyPairsList As List(Of Pair(Of Guid, Object))
Dim propertyPairsList As List(Of Pair(Of Guid, Object))
Dim returnValue As SdkEntityInstance

returnValue = SdkEntityInstance.Create(typeId, keyPropertyPairsList, propertyPairsList)

Syntax

'Declaration
Public Shared Function Create ( _
    typeId As Guid, _
    keyPropertyPairsList As List(Of Pair(Of Guid, Object)), _
    propertyPairsList As List(Of Pair(Of Guid, Object)) _
) As SdkEntityInstance
public static SdkEntityInstance Create (
    Guid typeId,
    List<Pair<Guid,Object>> keyPropertyPairsList,
    List<Pair<Guid,Object>> propertyPairsList
)
public:
static SdkEntityInstance Create (
    Guid typeId, 
    List<Pair<Guid, Object^>^>^ keyPropertyPairsList, 
    List<Pair<Guid, Object^>^>^ propertyPairsList
)
public static SdkEntityInstance Create (
    Guid typeId, 
    List<Pair<Guid,Object>> keyPropertyPairsList, 
    List<Pair<Guid,Object>> propertyPairsList
)
public static function Create (
    typeId : Guid, 
    keyPropertyPairsList : List<Pair<Guid,Object>>, 
    propertyPairsList : List<Pair<Guid,Object>>
) : SdkEntityInstance

Parameters

  • typeId
    The identifier of an entity type.
  • keyPropertyPairsList
    A list of ID-object pairs of key properties.
  • propertyPairsList
    A list of ID-object pairs of non-key properties.

Return Value

The structure.

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

SdkEntityInstance Structure
SdkEntityInstance Members
Microsoft.EnterpriseManagement.Common Namespace