Sdílet prostřednictvím


VSWebPackage.OpenWebSite – metoda

Otevře webový server.

Obor názvů:  VsWebSite
Sestavení:  VsWebSite.Interop (v VsWebSite.Interop.dll)

Syntaxe

'Deklarace
Function OpenWebSite ( _
    bstrUrl As String, _
    options As OpenWebsiteOptions, _
    bAddToSolution As Boolean _
) As Project
Project OpenWebSite(
    string bstrUrl,
    OpenWebsiteOptions options,
    bool bAddToSolution
)
Project^ OpenWebSite(
    [InAttribute] String^ bstrUrl, 
    [InAttribute] OpenWebsiteOptions options, 
    [InAttribute] bool bAddToSolution
)
abstract OpenWebSite : 
        bstrUrl:string * 
        options:OpenWebsiteOptions * 
        bAddToSolution:bool -> Project 
function OpenWebSite(
    bstrUrl : String, 
    options : OpenWebsiteOptions, 
    bAddToSolution : boolean
) : Project

Parametry

  • bstrUrl
    Typ: System.String
    Adresa URL webu otevřít.Může to být cesta ke složce na disku, FTP URL nebo HTTP URL.Tento parametr URL, které používají protokol file:// nepodporuje.
  • bAddToSolution
    Typ: System.Boolean
    Logická hodnota určující, zda je webový server přidán do roztoku.

Vrácená hodnota

Typ: EnvDTE.Project
EnvDTE Objektu.

Zabezpečení rozhraní .NET Framework

Viz také

Odkaz

VSWebPackage Rozhraní

VsWebSite – obor názvů