共用方式為


SPDeletedSite.DatabaseId Property

Gets the GUID of the content database that contains the deleted site.

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

Syntax

'Declaration
Public ReadOnly Property DatabaseId As Guid
    Get
'Usage
Dim instance As SPDeletedSite
Dim value As Guid

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

Property Value

Type: System.Guid
The GUID of the content database that contains the deleted site.

See Also

Reference

SPDeletedSite Class

SPDeletedSite Members

Microsoft.SharePoint.Administration Namespace