SPSiteCreationParameters.ServiceInstance property

Returns the Database service instance that the new site should be on.

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

Syntax

'Declaration
Public ReadOnly Property ServiceInstance As SPDatabaseServiceInstance
    Get
'Usage
Dim instance As SPSiteCreationParameters
Dim value As SPDatabaseServiceInstance

value = instance.ServiceInstance
public SPDatabaseServiceInstance ServiceInstance { get; }

Property value

Type: Microsoft.SharePoint.Administration.SPDatabaseServiceInstance

See also

Reference

SPSiteCreationParameters class

SPSiteCreationParameters members

Microsoft.SharePoint.Administration namespace