SPWebService.DefaultDatabaseInstance property

Gets or sets the default SQL installation for new content databases associated with this Web service.

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

Syntax

'Declaration
Public Property DefaultDatabaseInstance As SPDatabaseServiceInstance
    Get
    Set
'Usage
Dim instance As SPWebService
Dim value As SPDatabaseServiceInstance

value = instance.DefaultDatabaseInstance

instance.DefaultDatabaseInstance = value
public SPDatabaseServiceInstance DefaultDatabaseInstance { get; set; }

Property value

Type: Microsoft.SharePoint.Administration.SPDatabaseServiceInstance
An SPDatabaseServiceInstance object.

See also

Reference

SPWebService class

SPWebService members

Microsoft.SharePoint.Administration namespace