JAMS Developer Guide
Load Method (ICredentialWCF)


MVPSI.JAMS Namespace > ICredentialWCF Interface : Load Method
Load a Credential.
Syntax
'Declaration
 
<System.ServiceModel.OperationContractAttribute()>
<System.ServiceModel.FaultContractAttribute(DetailType=MVPSI.JAMS.JAMSException, 
   Action="", 
   Name="", 
   Namespace="", 
   ProtectionLevel=ProtectionLevel.None, 
   HasProtectionLevel=False)>
Function Load( _
   ByVal credentialName As System.String, _
   ByVal credentialID As System.Integer _
) As System.Threading.Tasks.Task(Of Credential)
'Usage
 
Dim instance As ICredentialWCF
Dim credentialName As System.String
Dim credentialID As System.Integer
Dim value As System.Threading.Tasks.Task(Of Credential)
 
value = instance.Load(credentialName, credentialID)
[System.ServiceModel.OperationContract()]
[System.ServiceModel.FaultContract(DetailType=MVPSI.JAMS.JAMSException, 
   Action="", 
   Name="", 
   Namespace="", 
   ProtectionLevel=ProtectionLevel.None, 
   HasProtectionLevel=false)]
System.Threading.Tasks.Task<Credential> Load( 
   System.string credentialName,
   System.int credentialID
)

Parameters

credentialName
credentialID
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ICredentialWCF Interface
ICredentialWCF Members