I have written a plugin to update a an entity when another entity is updated. The code I am using was first tested in a desktop application for syntax and such.
When I put it u=into my plugin code I get an error in the plugin execution.
Dim serviceProxyAsOrganizationServiceProxy
Dim serverConnectAsNew Microsoft.Crm.Sdk.Samples.ServerConnection()
Dim configAs Microsoft.Crm.Sdk.Samples.ServerConnection.Configuration = serverConnect.GetServerConfiguration()
I get the error on the last line. Is my methodology correct in getting the server configuration. Thanks for any help.