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

Visual Basic
Dim objectType As String
Dim createParameters As IList(Of CreateRequestParameter)
Dim returnValue As ResourceType

returnValue = CreateRequestParameter.CreateResource(objectType, createParameters)

Syntax

Visual Basic
Public Shared Function CreateResource ( _
		objectType As String, _
		createParameters As IList(Of CreateRequestParameter) _
) As ResourceType
C#
public static ResourceType CreateResource (
		string objectType,
		IList<CreateRequestParameter> createParameters
)
C++
public:
static ResourceType^ CreateResource (
		String^ objectType, 
		IList<CreateRequestParameter^>^ createParameters
)
J#
public static ResourceType CreateResource (
		String objectType, 
		IList<CreateRequestParameter> createParameters
)
JScript
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.

createParameters

An IList that contains CreateRequestParameter objects.

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

Target Platforms

Windows 2008 x64 Edition

See Also