Share via


CreateRequestParameter.CreateResource Method

Creates a ResourceType instance based on objectType and createParameters. This API supports the FIM 2010 infrastructure. Using this API directly from your code is not supported.

Namespace: Microsoft.ResourceManagement.WebServices.WSResourceManagement
Assembly: Microsoft.ResourceManagement (in Microsoft.ResourceManagement.dll)

Usage

'Usage
Dim objectType As String
Dim createParameters As IList(Of CreateRequestParameter)
Dim returnValue As ResourceType

returnValue = CreateRequestParameter.CreateResource(objectType, createParameters)

Syntax

'Declaration
Public Shared Function CreateResource ( _
    objectType As String, _
    createParameters As IList(Of CreateRequestParameter) _
) As ResourceType
public static ResourceType CreateResource (
    string objectType,
    IList<CreateRequestParameter> createParameters
)
public:
static ResourceType^ CreateResource (
    String^ objectType, 
    IList<CreateRequestParameter^>^ createParameters
)
public static ResourceType CreateResource (
    String objectType, 
    IList<CreateRequestParameter> createParameters
)
public static function CreateResource (
    objectType : String, 
    createParameters : IList<CreateRequestParameter>
) : ResourceType

Parameters

  • objectType
    A String value that indicates the name of the object type in the FIM Synchronization Service database that the ResourceType object that this method creates will represent.

Return Value

Returns a ResourceType object.

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 XP Home Edition, Windows XP Professional, Windows Server 2003 , Windows Server 2008, and Windows 2000

Target Platforms

See Also

Reference

CreateRequestParameter Class
CreateRequestParameter Members
Microsoft.ResourceManagement.WebServices.WSResourceManagement Namespace
CreateRequestParameter