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

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