SPDatabaseServiceInstance Constructor (String, SPServer, SPDatabaseService)

Initializes a new instance of the SPDatabaseServiceInstance class based on the specified database service instance name, server, and database service.

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


Public Sub New ( _
    name As String, _
    server As SPServer, _
    service As SPDatabaseService _
Dim name As String
Dim server As SPServer
Dim service As SPDatabaseService

Dim instance As New SPDatabaseServiceInstance(name, server, _
public SPDatabaseServiceInstance(
    string name,
    SPServer server,
    SPDatabaseService service


  • name
    Type: System.String

    A string containing the display name that is used to describe the instance in the administration user interface.

See Also


SPDatabaseServiceInstance Class

SPDatabaseServiceInstance Members

SPDatabaseServiceInstance Overload

Microsoft.SharePoint.Administration Namespace