SecureStoreProvider.GetTargetApplication Method
Gets the definition of the target application.
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 GetTargetApplication ( _
appId As String _
) As ITargetApplicationDefinition
'Usage
Dim instance As SecureStoreProvider
Dim appId As String
Dim returnValue As ITargetApplicationDefinition
returnValue = instance.GetTargetApplication(appId)
[SecureStorePermissionAttribute(SecurityAction.Demand, Access = SecureStoreAccess.Minimal)]
[PermissionSetAttribute(SecurityAction.Assert, Name = "FullTrust")]
public ITargetApplicationDefinition GetTargetApplication(
string appId
)
Parameters
appId
Type: System.StringThe target application ID.
Return Value
Type: Microsoft.BusinessData.Infrastructure.SecureStore.ITargetApplicationDefinition
The definition of the target application.
Implements
ISecureStoreProviderExtended.GetTargetApplication(String)
Exceptions
Exception | Condition |
---|---|
SecureStoreTargetApplicationNotFoundException | The target application does not exist in the Secure Store. |
Remarks
This method gets the definition of the target application using the ITargetApplicationDefinition.