SPDatabase.ServiceInstance property
Obtém uma instância do serviço SQL que possui o banco de dados.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaração
Public ReadOnly Property ServiceInstance As SPDatabaseServiceInstance
Get
'Uso
Dim instance As SPDatabase
Dim value As SPDatabaseServiceInstance
value = instance.ServiceInstance
public SPDatabaseServiceInstance ServiceInstance { get; }
Property value
Type: Microsoft.SharePoint.Administration.SPDatabaseServiceInstance
Um objeto SPDatabaseServiceInstance que representa a instância do serviço SQL.