다음을 통해 공유


Site.OpenWebById Method

Returns the site with the specified GUID.

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
<RemoteAttribute> _
Public Function OpenWebById ( _
    gWebId As Guid _
) As Web
'Usage
Dim instance As Site
Dim gWebId As Guid
Dim returnValue As Web

returnValue = instance.OpenWebById(gWebId)
[RemoteAttribute]
public Web OpenWebById(
    Guid gWebId
)

Parameters

  • gWebId
    Type: System.Guid

    A GUID that specifies which site to return.

Return Value

Type: Microsoft.SharePoint.Client.Web
Returns a Web.instance representing the site with the specified GUID.

See Also

Reference

Site Class

Site Members

Microsoft.SharePoint.Client Namespace