United States (English)
Sign in
Home
Library
Learn
Samples
Downloads
Support
Community
Forums
MSDN Library
Office and SharePoint development
SharePoint general development
SharePoint 2013
Reference
.NET server API reference
Core class library
Microsoft.SharePoint
SPSite class
SPSite properties
AdministrationSiteType property
AllowDesigner property
AllowExternalEmbedding property
AllowMasterPageEditing property
AllowRevertFromTemplate property
AllowRssFeeds property
AllowSelfServiceUpgrade property
AllowSelfServiceUpgradeEvaluation property
AllowUnsafeUpdates property
AllWebs property
ApplicationRightsMask property
Archived property
Audit property
AuditLogTrimmingCallout property
AuditLogTrimmingRetention property
AverageResourceUsage property
BrowserDocumentsEnabled property
Cache property
CanUpgrade property
CatchAccessDeniedException property
CertificationDate property
CompatibilityLevel property
ContentDatabase property
CurrentChangeToken property
CurrentResourceUsage property
DeadWebNotificationCount property
DenyPermissionsMask property
EvalSiteId property
EventReceivers property
ExpirationDate property
FeatureDefinitions property
Features property
FileNotFoundUrl property
GlobalPermMask property
HasAppPrincipalContext property
HideSystemStatusBar property
HostHeaderIsSiteName property
HostName property
ID property
IISAllowsAnonymous property
Impersonating property
InheritAllowSelfServiceUpgradeEvaluationSetting property
InheritAllowSelfServiceUpgradeSetting property
IsEvalSite property
IsPaired property
IsReadLocked property
LastContentModifiedDate property
LastSecurityModifiedDate property
LockIssue property
MaintenanceMode property
NeedsUpgrade property
OutgoingEmailAddress property
Owner property
Port property
PortalName property
PortalUrl property
PrimaryUri property
Protocol property
Quota property
ReadLocked property
ReadOnly property
RecycleBin property
ResourceQuotaExceeded property
ResourceQuotaExceededNotificationSent property
ResourceQuotaWarningNotificationSent property
RootWeb property
SchemaVersion property
ScriptSafeDomains property
ScriptSafePages property
SearchServiceInstance property
SecondaryContact property
ServerRelativeUrl property
ShareByEmailEnabled property
ShareByLinkEnabled property
ShowURLStructure property
SiteSubscription property
Solutions property
SourceSiteId property
SyndicationEnabled property
SystemAccount property
TrimAuditLog property
UIVersionConfigurationEnabled property
UpgradeContext property
UpgradeInfo property
UpgradeRedirectUri property
UpgradeReminderDate property
Upgrading property
Url property
Usage property
UserAccountDirectoryPath property
UserCodeEnabled property
UserCustomActions property
UserDefinedWorkflowsEnabled property
UserIsSiteAdminInSystem property
UserToken property
WarningNotificationSent property
WebApplication property
WorkflowManager property
WriteLocked property
Zone property
This topic has not yet been rated
-
Rate this topic
SPSite
.
PrimaryUri property
SharePoint 2013
Namespace:
Microsoft.SharePoint
Assembly:
Microsoft.SharePoint
(in Microsoft.SharePoint.dll)
Syntax
C#
VB
Copy
[ClientCallableAttribute]
public
Uri PrimaryUri {
get
; }
Property value
Type:
System.Uri
See also
Reference
SPSite class
SPSite members
Microsoft.SharePoint namespace
Did you find this helpful?
Yes
No
Not accurate
Not enough depth
Need more code examples
Tell us more...
(
1500
characters remaining)
Community Additions
ADD