SPSite.OpenWeb SPSite.OpenWeb SPSite.OpenWeb Method

Definition

Overloads

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

OpenWeb() OpenWeb() OpenWeb()

public:
 Microsoft::SharePoint::SPWeb ^ OpenWeb();
public Microsoft.SharePoint.SPWeb OpenWeb ();
Public Function OpenWeb () As SPWeb
Returns

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);
Public Function OpenWeb (gWebId As Guid) As SPWeb
Parameters
gWebId
Guid Guid Guid
Returns

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);
Public Function OpenWeb (strUrl As String) As SPWeb
Parameters
Returns

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);
Public Function OpenWeb (strUrl As String, options As SPSiteOpenWebOptions) As SPWeb
Parameters
Returns

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);
Public Function OpenWeb (strUrl As String, requireExactUrl As Boolean) As SPWeb
Parameters
requireExactUrl
Boolean Boolean Boolean
Returns

Applies to