Share via


SPWebApplication.BlockNewContentDatabaseWhenMounting property

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

Syntax

'Declaration
Public Property BlockNewContentDatabaseWhenMounting As Boolean
    Get
    Set
'Usage
Dim instance As SPWebApplication
Dim value As Boolean

value = instance.BlockNewContentDatabaseWhenMounting

instance.BlockNewContentDatabaseWhenMounting = value
public bool BlockNewContentDatabaseWhenMounting { get; set; }

Property value

Type: System.Boolean

See also

Reference

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace