SdkRelationshipInstance.Create Method
Creates a new instance of the SdkRelationshipInstance structure.
Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)
Usage
'Usage
Dim relationshipTypeId As Guid
Dim relationshipId As Guid
Dim propertyPairsList As List(Of Pair(Of Guid, Object))
Dim returnValue As SdkRelationshipInstance
returnValue = SdkRelationshipInstance.Create(relationshipTypeId, relationshipId, propertyPairsList)
Syntax
'Declaration
Public Shared Function Create ( _
relationshipTypeId As Guid, _
relationshipId As Guid, _
propertyPairsList As List(Of Pair(Of Guid, Object)) _
) As SdkRelationshipInstance
public static SdkRelationshipInstance Create (
Guid relationshipTypeId,
Guid relationshipId,
List<Pair<Guid,Object>> propertyPairsList
)
public:
static SdkRelationshipInstance Create (
Guid relationshipTypeId,
Guid relationshipId,
List<Pair<Guid, Object^>^>^ propertyPairsList
)
public static SdkRelationshipInstance Create (
Guid relationshipTypeId,
Guid relationshipId,
List<Pair<Guid,Object>> propertyPairsList
)
public static function Create (
relationshipTypeId : Guid,
relationshipId : Guid,
propertyPairsList : List<Pair<Guid,Object>>
) : SdkRelationshipInstance
Parameters
- relationshipTypeId
The identifier of the relationship type.
- relationshipId
The identifier of the relationship instance.
- propertyPairsList
A list of ID-object pairs of 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
SdkRelationshipInstance Structure
SdkRelationshipInstance Members
Microsoft.EnterpriseManagement.Common Namespace