Share via


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

Syntax

'Declaration
Public Sub New ( _
    name As String, _
    server As SPServer, _
    service As SPDatabaseService _
)
'Usage
Dim name As String
Dim server As SPServer
Dim service As SPDatabaseService

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

Parameters

  • name
    Type: System.String

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

See Also

Reference

SPDatabaseServiceInstance Class

SPDatabaseServiceInstance Members

SPDatabaseServiceInstance Overload

Microsoft.SharePoint.Administration Namespace