SecureStoreCredential Constructor
Initializes a new instance of the SecureStoreCredential class with the specified credential and the credential type.
Namespace: Microsoft.Office.SecureStoreService.Server
Assembly: Microsoft.Office.SecureStoreService (in Microsoft.Office.SecureStoreService.dll)
Syntax
'Declaration
Public Sub New ( _
credential As SecureString, _
credentialType As SecureStoreCredentialType _
)
'Usage
Dim credential As SecureString
Dim credentialType As SecureStoreCredentialType
Dim instance As New SecureStoreCredential(credential, _
credentialType)
public SecureStoreCredential(
SecureString credential,
SecureStoreCredentialType credentialType
)
Parameters
credential
Type: System.Security.SecureStringThe secure string that represents the credential.
credentialType
Type: Microsoft.BusinessData.Infrastructure.SecureStore.SecureStoreCredentialTypeThe Secure Store credential type.
Remarks
The maximum length of the secure string that represents the credential is 512.