SPDatabase.Password property

Gets or sets the password that is used for SQL authentication.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property Password As String
    Get
    Set
'Usage
Dim instance As SPDatabase
Dim value As String

value = instance.Password

instance.Password = value
public string Password { get; set; }

Property value

Type: System.String
A string that contains the password.

See also

Reference

SPDatabase class

SPDatabase members

Microsoft.SharePoint.Administration namespace