IScheduler.ConnectServiceAsClientAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ConnectServiceAsClientAsync(IHpcContext, ServiceAsClientIdentityProvider, String, String) | |
ConnectServiceAsClientAsync(IHpcContext, ServiceAsClientIdentityProvider, String, String, ConnectMethod) |
ConnectServiceAsClientAsync(IHpcContext, ServiceAsClientIdentityProvider, String, String)
public System.Threading.Tasks.Task ConnectServiceAsClientAsync (Microsoft.Hpc.IHpcContext hpcContext, Microsoft.Hpc.ServiceAsClientIdentityProvider identityProvider, string userName, string password);
abstract member ConnectServiceAsClientAsync : Microsoft.Hpc.IHpcContext * Microsoft.Hpc.ServiceAsClientIdentityProvider * string * string -> System.Threading.Tasks.Task
Public Function ConnectServiceAsClientAsync (hpcContext As IHpcContext, identityProvider As ServiceAsClientIdentityProvider, userName As String, password As String) As Task
Parameters
- hpcContext
- IHpcContext
- identityProvider
- ServiceAsClientIdentityProvider
- userName
- String
- password
- String
Returns
Applies to
ConnectServiceAsClientAsync(IHpcContext, ServiceAsClientIdentityProvider, String, String, ConnectMethod)
public System.Threading.Tasks.Task ConnectServiceAsClientAsync (Microsoft.Hpc.IHpcContext hpcContext, Microsoft.Hpc.ServiceAsClientIdentityProvider identityProvider, string userName, string password, Microsoft.Hpc.Scheduler.Properties.ConnectMethod method);
abstract member ConnectServiceAsClientAsync : Microsoft.Hpc.IHpcContext * Microsoft.Hpc.ServiceAsClientIdentityProvider * string * string * Microsoft.Hpc.Scheduler.Properties.ConnectMethod -> System.Threading.Tasks.Task
Public Function ConnectServiceAsClientAsync (hpcContext As IHpcContext, identityProvider As ServiceAsClientIdentityProvider, userName As String, password As String, method As ConnectMethod) As Task
Parameters
- hpcContext
- IHpcContext
- identityProvider
- ServiceAsClientIdentityProvider
- userName
- String
- password
- String
- method
- ConnectMethod