共用方式為


SPSiteLookupInfo.DatabaseId Property

Gets or sets the GUID of the content database 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 DatabaseId As Guid
    Get
    Set
'Usage
Dim instance As SPSiteLookupInfo
Dim value As Guid

value = instance.DatabaseId

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

Property Value

Type: System.Guid
Guid
The GUID of the content database.

See Also

Reference

SPSiteLookupInfo Class

SPSiteLookupInfo Members

Microsoft.SharePoint.Administration Namespace