Share via


SPDeployment.Site property

Gets or sets a protected instance of an SPSite object.

Namespace:  Microsoft.SharePoint.Deployment
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Protected Property Site As SPSite
    Get
    Set
'Usage
Dim value As SPSite

value = Me.Site

Me.Site = value
protected SPSite Site { get; set; }

Property value

Type: Microsoft.SharePoint.SPSite
Returns an SPSite object instance.

See also

Reference

SPDeployment class

SPDeployment members

Microsoft.SharePoint.Deployment namespace