SPSite.PrimaryUri property

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

Syntax

'Declaration
Public ReadOnly Property PrimaryUri As Uri
    Get
'Usage
Dim instance As SPSite
Dim value As Uri

value = instance.PrimaryUri
public Uri PrimaryUri { get; }

Property value

Type: System.Uri

See also

Reference

SPSite class

SPSite members

Microsoft.SharePoint namespace