Condividi tramite


ISecureStoreServiceApplication.GetCredentials Method

Gets the credentials for the specified target application in the specified partition.

Namespace:  Microsoft.Office.SecureStoreService.Server
Assembly:  Microsoft.Office.SecureStoreService (in Microsoft.Office.SecureStoreService.dll)

Syntax

'Declaration
<OperationContractAttribute> _
<FaultContractAttribute(GetType(ArgumentNullException))> _
<FaultContractAttribute(GetType(SecureStoreServiceFault))> _
<FaultContractAttribute(GetType(SecureStoreServiceCredentialsNotFoundFault))> _
<FaultContractAttribute(GetType(SecureStoreServiceTargetApplicationNotFoundFault))> _
<FaultContractAttribute(GetType(ArgumentException))> _
Function GetCredentials ( _
    rawPartitionId As Guid, _
    applicationId As String _
) As SerializableSecureStoreCredentialCollection
'Usage
Dim instance As ISecureStoreServiceApplication
Dim rawPartitionId As Guid
Dim applicationId As String
Dim returnValue As SerializableSecureStoreCredentialCollection

returnValue = instance.GetCredentials(rawPartitionId, _
    applicationId)
[OperationContractAttribute]
[FaultContractAttribute(typeof(ArgumentNullException))]
[FaultContractAttribute(typeof(SecureStoreServiceFault))]
[FaultContractAttribute(typeof(SecureStoreServiceCredentialsNotFoundFault))]
[FaultContractAttribute(typeof(SecureStoreServiceTargetApplicationNotFoundFault))]
[FaultContractAttribute(typeof(ArgumentException))]
SerializableSecureStoreCredentialCollection GetCredentials(
    Guid rawPartitionId,
    string applicationId
)

Parameters

  • rawPartitionId
    Type: System.Guid

    A GUID that represents the partition ID.

Return Value

Type: Microsoft.Office.SecureStoreService.Server.SerializableSecureStoreCredentialCollection
The credentials collection.

See Also

Reference

ISecureStoreServiceApplication Interface

ISecureStoreServiceApplication Members

Microsoft.Office.SecureStoreService.Server Namespace