SPDatabase constructor (String, SPDatabaseServiceInstance)
Inicializa uma nova instância da classe SPDatabase baseada o nome especificado e a instância.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaração
Public Sub New ( _
name As String, _
serviceInstance As SPDatabaseServiceInstance _
)
'Uso
Dim name As String
Dim serviceInstance As SPDatabaseServiceInstance
Dim instance As New SPDatabase(name, serviceInstance)
public SPDatabase(
string name,
SPDatabaseServiceInstance serviceInstance
)
Parâmetros
name
Type: System.StringUma seqüência de caracteres que contém o nome do banco de dados.
serviceInstance
Type: Microsoft.SharePoint.Administration.SPDatabaseServiceInstanceUm objeto SPDatabaseServiceInstance que representa a instância do banco de dados chamada SQL.