Share via


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

Remarks

The maximum length of the secure string that represents the credential is 512.

See Also

Reference

SecureStoreCredential Class

SecureStoreCredential Members

Microsoft.Office.SecureStoreService.Server Namespace