Click to Rate and Give Feedback
TechNet
TechNet Library
 IPluginExecutionContext.CreateMetad...

  Switch on low bandwidth view
IPluginExecutionContext.CreateMetadataService Method
banner art

Returns an instance of the MetadataService Web service.

Syntax

[Visual Basic .NET]
Function CreateMetadataService(
  ByVal useCurrentUserId As Boolean
) As IMetadataService
[C#]
IMetadataService CreateMetadataService(
  bool  useCurrentUserId
);

Parameters

useCurrentUserId

Specifies whether to use the current user ID.

Return Value

Returns an IMetadataService type.

Remarks

Do not use this method if you are writing code for a plug-in in that is used in a child pipeline. In a child pipeline, you must instantiate the MetadataService manually.

Requirements

Namespace: Microsoft.Crm.Sdk

Assembly: Microsoft.Crm.Sdk.dll

See Also

Reference


© 2009 Microsoft Corporation. All rights reserved.


© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker