Share via


SPWebService.DefaultDatabasePassword property

Gets or sets the default password to use for new content databases when using SQL authentication.

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

Syntax

'Declaration
Public Property DefaultDatabasePassword As String
    Get
    Set
'Usage
Dim instance As SPWebService
Dim value As String

value = instance.DefaultDatabasePassword

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

Property value

Type: System.String
A string containing the password.

See also

Reference

SPWebService class

SPWebService members

Microsoft.SharePoint.Administration namespace