Partilhar via


ContentDatabaseSection.DatabaseErrorMessage Property

Gets or sets the localized error message shown when the database name provided by the user is not valid.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Property DatabaseErrorMessage As String
    Get
    Set
'Usage
Dim instance As ContentDatabaseSection
Dim value As String

value = instance.DatabaseErrorMessage

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

Property Value

Type: System.String
A string that contains the localized error.

Remarks

The DatabaseSubmitted event determines when the database name provided by the user is not valid.

See Also

Reference

ContentDatabaseSection Class

ContentDatabaseSection Members

Microsoft.SharePoint.WebControls Namespace