Partilhar via


SPSecurity.SetApplicationCendentialKey Method

NOTE: This API is now obsolete.

Do not use. Use SetApplicationCredentialKey(SecureString) instead.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<ObsoleteAttribute("Use SetApplicationCredentialKey method instead.")> _
Public Shared Sub SetApplicationCendentialKey ( _
    password As SecureString _
)
'Usage
Dim password As SecureStringSPSecurity.SetApplicationCendentialKey(password)
[ObsoleteAttribute("Use SetApplicationCredentialKey method instead.")]
public static void SetApplicationCendentialKey(
    SecureString password
)

Parameters

See Also

Reference

SPSecurity Class

SPSecurity Members

Microsoft.SharePoint Namespace