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)

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