Share via


Site.PrimaryUri property

Specifies the primary URI of this site collection, including the host name, port number, and path.

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

Syntax

'Declaration
Public ReadOnly Property PrimaryUri As String
    Get
'Usage
Dim instance As Site
Dim value As String

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

Property value

Type: System.String

See also

Reference

Site class

Site members

Microsoft.SharePoint.Client namespace