Export (0) Print
Expand All
Expand Minimize

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

SharePoint 2013

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

public SPSite Add(
	SPSiteSubscription siteSubscription,
	string siteUrl,
	string title,
	string description,
	uint nLCID,
	int compatibilityLevel,
	string webTemplate,
	string ownerLogin,
	string ownerName,
	string ownerEmail,
	string secondaryContactLogin,
	string secondaryContactName,
	string secondaryContactEmail,
	string databaseServer,
	string databaseName,
	string userName,
	string password
)

Parameters

siteSubscription
Type: Microsoft.SharePoint.SPSiteSubscription
siteUrl
Type: System.String
title
Type: System.String
description
Type: System.String
nLCID
Type: System.UInt32
compatibilityLevel
Type: System.Int32
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
databaseServer
Type: System.String
databaseName
Type: System.String
userName
Type: System.String
password
Type: System.String

Return value

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