SPWebApplication constructor (String, SPWebService, SPApplicationPool)
Inicializa uma nova instância da classe SPWebApplication .
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaração
Public Sub New ( _
name As String, _
service As SPWebService, _
applicationPool As SPApplicationPool _
)
'Uso
Dim name As String
Dim service As SPWebService
Dim applicationPool As SPApplicationPool
Dim instance As New SPWebApplication(name, service, _
applicationPool)
public SPWebApplication(
string name,
SPWebService service,
SPApplicationPool applicationPool
)
Parâmetros
name
Type: System.StringUma seqüência de caracteres que contém o nome de exibição da nova instância.
service
Type: Microsoft.SharePoint.Administration.SPWebServiceO objeto SPWebService do pai para o aplicativo da Web.
applicationPool
Type: Microsoft.SharePoint.Administration.SPApplicationPoolUm objeto SPApplicationPool que indica as credenciais sob as quais os processos de aplicativo da Web serão executado.