Share via


DatabaseContext.SiteId property

The ID of the site where the package is being installed

Namespace:  Microsoft.SharePoint.Administration.DatabaseProvider
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property SiteId As Guid
    Get
    Set
'Usage
Dim instance As DatabaseContext
Dim value As Guid

value = instance.SiteId

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

Property value

Type: System.Guid

See also

Reference

DatabaseContext class

DatabaseContext members

Microsoft.SharePoint.Administration.DatabaseProvider namespace