SecureStoreProvider.GetTargetApplicationFields Method
Gets the fields for the target application using the specified target application ID.
Namespace: Microsoft.Office.SecureStoreService.Server
Assembly: Microsoft.Office.SecureStoreService (in Microsoft.Office.SecureStoreService.dll)
Syntax
'Declaration
<SecureStorePermissionAttribute(SecurityAction.Demand, Access := SecureStoreAccess.Minimal)> _
<PermissionSetAttribute(SecurityAction.Assert, Name := "FullTrust")> _
Public Function GetTargetApplicationFields ( _
appId As String _
) As ReadOnlyCollection(Of ITargetApplicationField)
'Usage
Dim instance As SecureStoreProvider
Dim appId As String
Dim returnValue As ReadOnlyCollection(Of ITargetApplicationField)
returnValue = instance.GetTargetApplicationFields(appId)
[SecureStorePermissionAttribute(SecurityAction.Demand, Access = SecureStoreAccess.Minimal)]
[PermissionSetAttribute(SecurityAction.Assert, Name = "FullTrust")]
public ReadOnlyCollection<ITargetApplicationField> GetTargetApplicationFields(
string appId
)
Parameters
appId
Type: System.StringThe target application ID.
Return Value
Type: System.Collections.ObjectModel.ReadOnlyCollection<ITargetApplicationField>
The read-only field collection of the target application.
Implements
ISecureStoreProviderExtended.GetTargetApplicationFields(String)
Exceptions
Exception | Condition |
---|---|
SecureStoreTargetApplicationNotFoundException | The target application does not exist in the Secure Store. |