共用方式為


SPSite.PrimaryUri property

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

Syntax

'宣告
Public ReadOnly Property PrimaryUri As Uri
    Get
'用途
Dim instance As SPSite
Dim value As Uri

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

Property value

Type: System.Uri

請參閱

參照

SPSite class

SPSite members

Microsoft.SharePoint namespace