Share via


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)
Available in Sandboxed Solutions: No

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