private CrmService GetCrmService() {
return new CrmService() {
Url = "http://crm/MSCrmServices/2007/CrmService.asmx",
CrmAuthenticationTokenValue = new CrmAuthenticationToken() {
AuthenticationType = 0,
OrganizationName = "EGS_NV"
},
Credentials = CredentialCache.DefaultNetworkCredentials,
PreAuthenticate = true
};
}
No comments:
Post a Comment