AuthenticationService.Connect Method (Uri, NetworkCredential)
Connects to the specified organization service URI.
Namespace: Microsoft.Uii.AifServices
Assembly: Microsoft.Uii.AifServices (in Microsoft.Uii.AifServices.dll)
Usage
'Usage
Dim instance As AuthenticationService
Dim organizationServiceUri As Uri
Dim networkCredential As NetworkCredential
instance.Connect(organizationServiceUri, networkCredential)
Syntax
'Declaration
Public Sub Connect ( _
organizationServiceUri As Uri, _
networkCredential As NetworkCredential _
)
public void Connect (
Uri organizationServiceUri,
NetworkCredential networkCredential
)
public:
void Connect (
Uri^ organizationServiceUri,
NetworkCredential^ networkCredential
)
public void Connect (
Uri organizationServiceUri,
NetworkCredential networkCredential
)
public function Connect (
organizationServiceUri : Uri,
networkCredential : NetworkCredential
)
Parameters
- organizationServiceUri
Specifies the organization service URI.
- networkCredential
Specifies the network credential. When givennull
value, uses the current user network credentials.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
See Also
Reference
AuthenticationService Class
AuthenticationService Members
Microsoft.Uii.AifServices Namespace
Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.