CrmServiceClient.DiscoverOrganizations Method (Uri, Uri, NetworkCredential)
Applies To: Dynamics CRM 2015
Discovers the organizations.
Namespace: Microsoft.Xrm.Tooling.Connector
Assembly: Microsoft.Xrm.Tooling.Connector (in Microsoft.Xrm.Tooling.Connector.dll)
Syntax
public static OrganizationDetailCollection DiscoverOrganizations(
Uri discoveryServiceUri,
Uri homeRealmUri,
NetworkCredential networkCredential
)
public:
static OrganizationDetailCollection^ DiscoverOrganizations(
Uri^ discoveryServiceUri,
Uri^ homeRealmUri,
NetworkCredential^ networkCredential
)
static member DiscoverOrganizations :
discoveryServiceUri:Uri *
homeRealmUri:Uri *
networkCredential:NetworkCredential -> OrganizationDetailCollection
Public Shared Function DiscoverOrganizations (
discoveryServiceUri As Uri,
homeRealmUri As Uri,
networkCredential As NetworkCredential
) As OrganizationDetailCollection
Parameters
discoveryServiceUri
Type: System.UriThe discovery service URI.
homeRealmUri
Type: System.UriThe home realm URI. Not null for federation authentication.
networkCredential
Type: System.Net.NetworkCredentialThe network credential. When given null value, uses the current user network credentials.
Return Value
Type: Microsoft.Xrm.Sdk.Discovery.OrganizationDetailCollection
A collection of organizations.
See Also
DiscoverOrganizations Overload
CrmServiceClient Class
Microsoft.Xrm.Tooling.Connector Namespace
Return to top
© 2016 Microsoft. All rights reserved. Copyright