Export (0) Print
Expand All
Expand Minimize

SPSiteCollection.Add method (SPSiteSubscription, String, String, String, UInt32, String, String, String, String, String, String, String, Boolean)

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

public SPSite Add(
	SPSiteSubscription siteSubscription,
	string siteUrl,
	string title,
	string description,
	uint nLCID,
	string webTemplate,
	string ownerLogin,
	string ownerName,
	string ownerEmail,
	string secondaryContactLogin,
	string secondaryContactName,
	string secondaryContactEmail,
	bool useHostHeaderAsSiteName
)

Parameters

siteSubscription
Type: Microsoft.SharePoint.SPSiteSubscription
siteUrl
Type: System.String
title
Type: System.String
description
Type: System.String
nLCID
Type: System.UInt32
webTemplate
Type: System.String
ownerLogin
Type: System.String
ownerName
Type: System.String
ownerEmail
Type: System.String
secondaryContactLogin
Type: System.String
secondaryContactName
Type: System.String
secondaryContactEmail
Type: System.String
useHostHeaderAsSiteName
Type: System.Boolean

Return value

Type: Microsoft.SharePoint.SPSite
Show:
© 2015 Microsoft