Share via


AccountAuthCredentials.SecurePassword Property

Gets or sets a secure string containing the password.

Namespace:  Microsoft.Office.Server.Search.Administration
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Public Property SecurePassword As SecureString
    Get
    Set
'Usage
Dim instance As AccountAuthCredentials
Dim value As SecureString

value = instance.SecurePassword

instance.SecurePassword = value
public SecureString SecurePassword { get; set; }

Property Value

Type: System.Security.SecureString
A System.Security.SecureString representing the password.

Remarks

You can specify a password for the account credentials by using either the SecurePassword property or the Password property. The primary difference between the two properties is that you must pass a System.Security.SecureString value to the SecurePassword property, however there is no difference in how Enterprise Search in Microsoft Office SharePoint Server 2007 actually stores the specified value; they are both stored as System.Security.SecureString values.

See Also

Reference

AccountAuthCredentials Class

AccountAuthCredentials Members

Microsoft.Office.Server.Search.Administration Namespace

LocationConfiguration

Other Resources

Federated Search Overview