Share via


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)

Syntax

'Declaration
<DataMemberAttribute> _
Public Property DatabaseId As Guid
    Get
    Set
'Usage
Dim instance As SPSiteLookupInfo
Dim value As Guid

value = instance.DatabaseId

instance.DatabaseId = value
[DataMemberAttribute]
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