共用方式為


SPSiteLookupInfo.ApplicationId Property

Gets or sets the GUID of the Web application that contains the site collection.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Property ApplicationId As Guid
    Get
    Set
'Usage
Dim instance As SPSiteLookupInfo
Dim value As Guid

value = instance.ApplicationId

instance.ApplicationId = value
public Guid ApplicationId { get; set; }

Property Value

Type: System.Guid
Guid
The GUID of the site collection.

See Also

Reference

SPSiteLookupInfo Class

SPSiteLookupInfo Members

Microsoft.SharePoint.Administration Namespace