Compartilhar via


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.String

    Uma seqüência de caracteres que contém o nome de exibição da nova instância.

Ver também

Referência

SPWebApplication class

SPWebApplication members

SPWebApplication overload

Microsoft.SharePoint.Administration namespace