SPSite.OpenWeb SPSite.OpenWeb SPSite.OpenWeb SPSite.OpenWeb Method

Definition

Overloads

OpenWeb() OpenWeb() OpenWeb() OpenWeb()
OpenWeb(Guid) OpenWeb(Guid) OpenWeb(Guid) OpenWeb(Guid)
OpenWeb(String) OpenWeb(String) OpenWeb(String) OpenWeb(String)
OpenWeb(String, SPSiteOpenWebOptions) OpenWeb(String, SPSiteOpenWebOptions) OpenWeb(String, SPSiteOpenWebOptions) OpenWeb(String, SPSiteOpenWebOptions)
OpenWeb(String, Boolean) OpenWeb(String, Boolean) OpenWeb(String, Boolean) OpenWeb(String, Boolean)

OpenWeb() OpenWeb() OpenWeb() OpenWeb()

public:
 Microsoft::SharePoint::SPWeb ^ OpenWeb();
public Microsoft.SharePoint.SPWeb OpenWeb ();
member this.OpenWeb : unit -> Microsoft.SharePoint.SPWeb
Public Function OpenWeb () As SPWeb

Returns

OpenWeb(Guid) OpenWeb(Guid) OpenWeb(Guid) OpenWeb(Guid)

public:
 Microsoft::SharePoint::SPWeb ^ OpenWeb(Guid gWebId);
[Microsoft.SharePoint.Client.ClientCallableMethod(Name="OpenWebById")]
public Microsoft.SharePoint.SPWeb OpenWeb (Guid gWebId);
member this.OpenWeb : Guid -> Microsoft.SharePoint.SPWeb
Public Function OpenWeb (gWebId As Guid) As SPWeb

Parameters

gWebId
Guid Guid Guid Guid

Returns

OpenWeb(String) OpenWeb(String) OpenWeb(String) OpenWeb(String)

public:
 Microsoft::SharePoint::SPWeb ^ OpenWeb(System::String ^ strUrl);
[Microsoft.SharePoint.Client.ClientCallableMethod(CacheReturnValue=true, CaseInsensitiveCache=true, ReturnObjectIdentity=true)]
public Microsoft.SharePoint.SPWeb OpenWeb (string strUrl);
member this.OpenWeb : string -> Microsoft.SharePoint.SPWeb
Public Function OpenWeb (strUrl As String) As SPWeb

Parameters

Returns

OpenWeb(String, SPSiteOpenWebOptions) OpenWeb(String, SPSiteOpenWebOptions) OpenWeb(String, SPSiteOpenWebOptions) OpenWeb(String, SPSiteOpenWebOptions)

public:
 Microsoft::SharePoint::SPWeb ^ OpenWeb(System::String ^ strUrl, Microsoft::SharePoint::SPSiteOpenWebOptions options);
public Microsoft.SharePoint.SPWeb OpenWeb (string strUrl, Microsoft.SharePoint.SPSiteOpenWebOptions options);
member this.OpenWeb : string * Microsoft.SharePoint.SPSiteOpenWebOptions -> Microsoft.SharePoint.SPWeb
Public Function OpenWeb (strUrl As String, options As SPSiteOpenWebOptions) As SPWeb

Parameters

Returns

OpenWeb(String, Boolean) OpenWeb(String, Boolean) OpenWeb(String, Boolean) OpenWeb(String, Boolean)

public:
 Microsoft::SharePoint::SPWeb ^ OpenWeb(System::String ^ strUrl, bool requireExactUrl);
public Microsoft.SharePoint.SPWeb OpenWeb (string strUrl, bool requireExactUrl);
member this.OpenWeb : string * bool -> Microsoft.SharePoint.SPWeb
Public Function OpenWeb (strUrl As String, requireExactUrl As Boolean) As SPWeb

Parameters

requireExactUrl
Boolean Boolean Boolean Boolean

Returns

Applies to