Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets an instance of the SQL service that owns the database.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
'Declaration
Public ReadOnly Property ServiceInstance As SPDatabaseServiceInstance
Get
'Usage
Dim instance As SPDatabase
Dim value As SPDatabaseServiceInstance
value = instance.ServiceInstance
public SPDatabaseServiceInstance ServiceInstance { get; }
Type: Microsoft.SharePoint.Administration.SPDatabaseServiceInstance
An SPDatabaseServiceInstance object that represents the SQL service instance.