OrganizationServiceProxy Constructor (IServiceManagement<IOrganizationService>, ClientCredentials)
Applies To: Dynamics CRM 2015
Initializes a new instance of the OrganizationServiceProxy class using a service configuration and client credentials.
Namespace: Microsoft.Xrm.Sdk.Client
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Syntax
public OrganizationServiceProxy(
IServiceManagement<IOrganizationService> serviceManagement,
ClientCredentials clientCredentials
)
public:
OrganizationServiceProxy(
IServiceManagement<IOrganizationService^>^ serviceManagement,
ClientCredentials^ clientCredentials
)
new :
serviceManagement:IServiceManagement<IOrganizationService> *
clientCredentials:ClientCredentials -> OrganizationServiceProxy
Public Sub New (
serviceManagement As IServiceManagement(Of IOrganizationService),
clientCredentials As ClientCredentials
)
Parameters
serviceManagement
Type: Microsoft.Xrm.Sdk.Client.IServiceManagement<IOrganizationService>Type: IServiceManagement<TService><IOrganizationService>. A service management.
clientCredentials
Type: System.ServiceModel.Description.ClientCredentialsType: ClientCredentials. The logon credentials of the client.
See Also
OrganizationServiceProxy Overload
OrganizationServiceProxy Class
Microsoft.Xrm.Sdk.Client Namespace
Return to top
© 2016 Microsoft. All rights reserved. Copyright