共用方式為


_sWebMetadata.WebID Field

Specifies the GUID of the SPWeb site. This GUID must be enclosed in curly braces ({}).

Namespace:  [SiteData Web service]
Web service reference: http://Site/_vti_bin/SiteData.asmx

Syntax

'Declaration
Public WebID As String
'Usage
Dim instance As _sWebMetadata
Dim value As String

value = instance.WebID

instance.WebID = value
public string WebID

Remarks

System objects, or GUID’s, are used as site Token objects to ensure uniqueness across webs, across site collections, across the client-server relationship, and when site objects are updated.

See Also

Reference

_sWebMetadata Structure

_sWebMetadata Members

SiteData Web Service

SPEventReceiverDefinition

SPChangeView

SPWorkflow