SPSiteCollection.Add SPSiteCollection.Add SPSiteCollection.Add Method

Definition

Overloads

Add(String, String, String) Add(String, String, String) Add(String, String, String)
Add(String, String, String, UInt32, String, String, String, String) Add(String, String, String, UInt32, String, String, String, String) Add(String, String, String, UInt32, String, String, String, String)
Add(String, String, String, UInt32, String, String, String, String, String, String, String) Add(String, String, String, UInt32, String, String, String, String, String, String, String) Add(String, String, String, UInt32, String, String, String, String, String, String, String)
Add(String, String, String, UInt32, Int32, String, String, String, String, String, String, String) Add(String, String, String, UInt32, Int32, String, String, String, String, String, String, String) Add(String, String, String, UInt32, Int32, String, String, String, String, String, String, String)
Add(String, String, String, UInt32, String, String, String, String, String, String, String, Boolean) Add(String, String, String, UInt32, String, String, String, String, String, String, String, Boolean) Add(String, String, String, UInt32, String, String, String, String, String, String, String, Boolean)
Add(SPSiteSubscription, String, String, String, UInt32, String, String, String, String, String, String, String, Boolean) Add(SPSiteSubscription, String, String, String, UInt32, String, String, String, String, String, String, String, Boolean) Add(SPSiteSubscription, String, String, String, UInt32, String, String, String, String, String, String, String, Boolean)
Add(String, String, String, UInt32, Int32, String, String, String, String, String, String, String, Boolean) Add(String, String, String, UInt32, Int32, String, String, String, String, String, String, String, Boolean) Add(String, String, String, UInt32, Int32, String, String, String, String, String, String, String, Boolean)
Add(SPSiteSubscription, String, String, String, UInt32, Int32, String, String, String, String, String, String, String, Boolean) Add(SPSiteSubscription, String, String, String, UInt32, Int32, String, String, String, String, String, String, String, Boolean) Add(SPSiteSubscription, String, String, String, UInt32, Int32, String, String, String, String, String, String, String, Boolean)
Add(String, String, String, UInt32, String, String, String, String, String, String, String, String, String, String, String) Add(String, String, String, UInt32, String, String, String, String, String, String, String, String, String, String, String) Add(String, String, String, UInt32, String, String, String, String, String, String, String, String, String, String, String)
Add(SPSiteSubscription, String, String, String, UInt32, String, String, String, String, String, String, String, String, String, String, String) Add(SPSiteSubscription, String, String, String, UInt32, String, String, String, String, String, String, String, String, String, String, String) Add(SPSiteSubscription, String, String, String, UInt32, String, String, String, String, String, String, String, String, String, String, String)
Add(String, String, String, UInt32, Int32, String, String, String, String, String, String, String, String, String, String, String) Add(String, String, String, UInt32, Int32, String, String, String, String, String, String, String, String, String, String, String) Add(String, String, String, UInt32, Int32, String, String, String, String, String, String, String, String, String, String, String)
Add(SPSiteSubscription, String, String, String, UInt32, Int32, String, String, String, String, String, String, String, String, String, String, String) Add(SPSiteSubscription, String, String, String, UInt32, Int32, String, String, String, String, String, String, String, String, String, String, String) Add(SPSiteSubscription, String, String, String, UInt32, Int32, String, String, String, String, String, String, String, String, String, String, String)

Add(String, String, String) Add(String, String, String) Add(String, String, String)

public:
 Microsoft::SharePoint::SPSite ^ Add(System::String ^ siteUrl, System::String ^ ownerLogin, System::String ^ ownerEmail);
public Microsoft.SharePoint.SPSite Add (string siteUrl, string ownerLogin, string ownerEmail);
Public Function Add (siteUrl As String, ownerLogin As String, ownerEmail As String) As SPSite
Parameters
siteUrl
String String String
ownerLogin
String String String
ownerEmail
String String String
Returns

Add(String, String, String, UInt32, String, String, String, String) Add(String, String, String, UInt32, String, String, String, String) Add(String, String, String, UInt32, String, String, String, String)

public:
 Microsoft::SharePoint::SPSite ^ Add(System::String ^ siteUrl, System::String ^ title, System::String ^ description, System::UInt32 nLCID, System::String ^ webTemplate, System::String ^ ownerLogin, System::String ^ ownerName, System::String ^ ownerEmail);
public Microsoft.SharePoint.SPSite Add (string siteUrl, string title, string description, uint nLCID, string webTemplate, string ownerLogin, string ownerName, string ownerEmail);
Public Function Add (siteUrl As String, title As String, description As String, nLCID As UInteger, webTemplate As String, ownerLogin As String, ownerName As String, ownerEmail As String) As SPSite
Parameters
siteUrl
String String String
description
String String String
webTemplate
String String String
ownerLogin
String String String
ownerName
String String String
ownerEmail
String String String
Returns

Add(String, String, String, UInt32, String, String, String, String, String, String, String) Add(String, String, String, UInt32, String, String, String, String, String, String, String) Add(String, String, String, UInt32, String, String, String, String, String, String, String)

public:
 Microsoft::SharePoint::SPSite ^ Add(System::String ^ siteUrl, System::String ^ title, System::String ^ description, System::UInt32 nLCID, System::String ^ webTemplate, System::String ^ ownerLogin, System::String ^ ownerName, System::String ^ ownerEmail, System::String ^ secondaryContactLogin, System::String ^ secondaryContactName, System::String ^ secondaryContactEmail);
public Microsoft.SharePoint.SPSite Add (string siteUrl, string title, string description, uint nLCID, string webTemplate, string ownerLogin, string ownerName, string ownerEmail, string secondaryContactLogin, string secondaryContactName, string secondaryContactEmail);
Public Function Add (siteUrl As String, title As String, description As String, nLCID As UInteger, webTemplate As String, ownerLogin As String, ownerName As String, ownerEmail As String, secondaryContactLogin As String, secondaryContactName As String, secondaryContactEmail As String) As SPSite
Parameters
siteUrl
String String String
description
String String String
webTemplate
String String String
ownerLogin
String String String
ownerName
String String String
ownerEmail
String String String
secondaryContactLogin
String String String
secondaryContactName
String String String
secondaryContactEmail
String String String
Returns

Add(String, String, String, UInt32, Int32, String, String, String, String, String, String, String) Add(String, String, String, UInt32, Int32, String, String, String, String, String, String, String) Add(String, String, String, UInt32, Int32, String, String, String, String, String, String, String)

public:
 Microsoft::SharePoint::SPSite ^ Add(System::String ^ siteUrl, System::String ^ title, System::String ^ description, System::UInt32 nLCID, int compatibilityLevel, System::String ^ webTemplate, System::String ^ ownerLogin, System::String ^ ownerName, System::String ^ ownerEmail, System::String ^ secondaryContactLogin, System::String ^ secondaryContactName, System::String ^ secondaryContactEmail);
public Microsoft.SharePoint.SPSite Add (string siteUrl, string title, string description, uint nLCID, int compatibilityLevel, string webTemplate, string ownerLogin, string ownerName, string ownerEmail, string secondaryContactLogin, string secondaryContactName, string secondaryContactEmail);
Public Function Add (siteUrl As String, title As String, description As String, nLCID As UInteger, compatibilityLevel As Integer, webTemplate As String, ownerLogin As String, ownerName As String, ownerEmail As String, secondaryContactLogin As String, secondaryContactName As String, secondaryContactEmail As String) As SPSite
Parameters
siteUrl
String String String
description
String String String
compatibilityLevel
Int32 Int32 Int32
webTemplate
String String String
ownerLogin
String String String
ownerName
String String String
ownerEmail
String String String
secondaryContactLogin
String String String
secondaryContactName
String String String
secondaryContactEmail
String String String
Returns

Add(String, String, String, UInt32, String, String, String, String, String, String, String, Boolean) Add(String, String, String, UInt32, String, String, String, String, String, String, String, Boolean) Add(String, String, String, UInt32, String, String, String, String, String, String, String, Boolean)

public:
 Microsoft::SharePoint::SPSite ^ Add(System::String ^ siteUrl, System::String ^ title, System::String ^ description, System::UInt32 nLCID, System::String ^ webTemplate, System::String ^ ownerLogin, System::String ^ ownerName, System::String ^ ownerEmail, System::String ^ secondaryContactLogin, System::String ^ secondaryContactName, System::String ^ secondaryContactEmail, bool useHostHeaderAsSiteName);
public Microsoft.SharePoint.SPSite Add (string siteUrl, string title, string description, uint nLCID, string webTemplate, string ownerLogin, string ownerName, string ownerEmail, string secondaryContactLogin, string secondaryContactName, string secondaryContactEmail, bool useHostHeaderAsSiteName);
Public Function Add (siteUrl As String, title As String, description As String, nLCID As UInteger, webTemplate As String, ownerLogin As String, ownerName As String, ownerEmail As String, secondaryContactLogin As String, secondaryContactName As String, secondaryContactEmail As String, useHostHeaderAsSiteName As Boolean) As SPSite
Parameters
siteUrl
String String String
description
String String String
webTemplate
String String String
ownerLogin
String String String
ownerName
String String String
ownerEmail
String String String
secondaryContactLogin
String String String
secondaryContactName
String String String
secondaryContactEmail
String String String
useHostHeaderAsSiteName
Boolean Boolean Boolean
Returns

Add(SPSiteSubscription, String, String, String, UInt32, String, String, String, String, String, String, String, Boolean) Add(SPSiteSubscription, String, String, String, UInt32, String, String, String, String, String, String, String, Boolean) Add(SPSiteSubscription, String, String, String, UInt32, String, String, String, String, String, String, String, Boolean)

public:
 Microsoft::SharePoint::SPSite ^ Add(Microsoft::SharePoint::SPSiteSubscription ^ siteSubscription, System::String ^ siteUrl, System::String ^ title, System::String ^ description, System::UInt32 nLCID, System::String ^ webTemplate, System::String ^ ownerLogin, System::String ^ ownerName, System::String ^ ownerEmail, System::String ^ secondaryContactLogin, System::String ^ secondaryContactName, System::String ^ secondaryContactEmail, bool useHostHeaderAsSiteName);
public Microsoft.SharePoint.SPSite Add (Microsoft.SharePoint.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);
Public Function Add (siteSubscription As SPSiteSubscription, siteUrl As String, title As String, description As String, nLCID As UInteger, webTemplate As String, ownerLogin As String, ownerName As String, ownerEmail As String, secondaryContactLogin As String, secondaryContactName As String, secondaryContactEmail As String, useHostHeaderAsSiteName As Boolean) As SPSite
Parameters
siteUrl
String String String
description
String String String
webTemplate
String String String
ownerLogin
String String String
ownerName
String String String
ownerEmail
String String String
secondaryContactLogin
String String String
secondaryContactName
String String String
secondaryContactEmail
String String String
useHostHeaderAsSiteName
Boolean Boolean Boolean
Returns

Add(String, String, String, UInt32, Int32, String, String, String, String, String, String, String, Boolean) Add(String, String, String, UInt32, Int32, String, String, String, String, String, String, String, Boolean) Add(String, String, String, UInt32, Int32, String, String, String, String, String, String, String, Boolean)

public:
 Microsoft::SharePoint::SPSite ^ Add(System::String ^ siteUrl, System::String ^ title, System::String ^ description, System::UInt32 nLCID, int compatibiliyLevel, System::String ^ webTemplate, System::String ^ ownerLogin, System::String ^ ownerName, System::String ^ ownerEmail, System::String ^ secondaryContactLogin, System::String ^ secondaryContactName, System::String ^ secondaryContactEmail, bool useHostHeaderAsSiteName);
public Microsoft.SharePoint.SPSite Add (string siteUrl, string title, string description, uint nLCID, int compatibiliyLevel, string webTemplate, string ownerLogin, string ownerName, string ownerEmail, string secondaryContactLogin, string secondaryContactName, string secondaryContactEmail, bool useHostHeaderAsSiteName);
Public Function Add (siteUrl As String, title As String, description As String, nLCID As UInteger, compatibiliyLevel As Integer, webTemplate As String, ownerLogin As String, ownerName As String, ownerEmail As String, secondaryContactLogin As String, secondaryContactName As String, secondaryContactEmail As String, useHostHeaderAsSiteName As Boolean) As SPSite
Parameters
siteUrl
String String String
description
String String String
compatibiliyLevel
Int32 Int32 Int32
webTemplate
String String String
ownerLogin
String String String
ownerName
String String String
ownerEmail
String String String
secondaryContactLogin
String String String
secondaryContactName
String String String
secondaryContactEmail
String String String
useHostHeaderAsSiteName
Boolean Boolean Boolean
Returns

Add(SPSiteSubscription, String, String, String, UInt32, Int32, String, String, String, String, String, String, String, Boolean) Add(SPSiteSubscription, String, String, String, UInt32, Int32, String, String, String, String, String, String, String, Boolean) Add(SPSiteSubscription, String, String, String, UInt32, Int32, String, String, String, String, String, String, String, Boolean)

public:
 Microsoft::SharePoint::SPSite ^ Add(Microsoft::SharePoint::SPSiteSubscription ^ siteSubscription, System::String ^ siteUrl, System::String ^ title, System::String ^ description, System::UInt32 nLCID, int compatibilityLevel, System::String ^ webTemplate, System::String ^ ownerLogin, System::String ^ ownerName, System::String ^ ownerEmail, System::String ^ secondaryContactLogin, System::String ^ secondaryContactName, System::String ^ secondaryContactEmail, bool useHostHeaderAsSiteName);
public Microsoft.SharePoint.SPSite Add (Microsoft.SharePoint.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, bool useHostHeaderAsSiteName);
Public Function Add (siteSubscription As SPSiteSubscription, siteUrl As String, title As String, description As String, nLCID As UInteger, compatibilityLevel As Integer, webTemplate As String, ownerLogin As String, ownerName As String, ownerEmail As String, secondaryContactLogin As String, secondaryContactName As String, secondaryContactEmail As String, useHostHeaderAsSiteName As Boolean) As SPSite
Parameters
siteUrl
String String String
description
String String String
compatibilityLevel
Int32 Int32 Int32
webTemplate
String String String
ownerLogin
String String String
ownerName
String String String
ownerEmail
String String String
secondaryContactLogin
String String String
secondaryContactName
String String String
secondaryContactEmail
String String String
useHostHeaderAsSiteName
Boolean Boolean Boolean
Returns

Add(String, String, String, UInt32, String, String, String, String, String, String, String, String, String, String, String) Add(String, String, String, UInt32, String, String, String, String, String, String, String, String, String, String, String) Add(String, String, String, UInt32, String, String, String, String, String, String, String, String, String, String, String)

public:
 Microsoft::SharePoint::SPSite ^ Add(System::String ^ siteUrl, System::String ^ title, System::String ^ description, System::UInt32 nLCID, System::String ^ webTemplate, System::String ^ ownerLogin, System::String ^ ownerName, System::String ^ ownerEmail, System::String ^ secondaryContactLogin, System::String ^ secondaryContactName, System::String ^ secondaryContactEmail, System::String ^ databaseServer, System::String ^ databaseName, System::String ^ userName, System::String ^ password);
public Microsoft.SharePoint.SPSite Add (string siteUrl, string title, string description, uint nLCID, string webTemplate, string ownerLogin, string ownerName, string ownerEmail, string secondaryContactLogin, string secondaryContactName, string secondaryContactEmail, string databaseServer, string databaseName, string userName, string password);
Public Function Add (siteUrl As String, title As String, description As String, nLCID As UInteger, webTemplate As String, ownerLogin As String, ownerName As String, ownerEmail As String, secondaryContactLogin As String, secondaryContactName As String, secondaryContactEmail As String, databaseServer As String, databaseName As String, userName As String, password As String) As SPSite
Parameters
siteUrl
String String String
description
String String String
webTemplate
String String String
ownerLogin
String String String
ownerName
String String String
ownerEmail
String String String
secondaryContactLogin
String String String
secondaryContactName
String String String
secondaryContactEmail
String String String
databaseServer
String String String
databaseName
String String String
userName
String String String
password
String String String
Returns

Add(SPSiteSubscription, String, String, String, UInt32, String, String, String, String, String, String, String, String, String, String, String) Add(SPSiteSubscription, String, String, String, UInt32, String, String, String, String, String, String, String, String, String, String, String) Add(SPSiteSubscription, String, String, String, UInt32, String, String, String, String, String, String, String, String, String, String, String)

public:
 Microsoft::SharePoint::SPSite ^ Add(Microsoft::SharePoint::SPSiteSubscription ^ siteSubscription, System::String ^ siteUrl, System::String ^ title, System::String ^ description, System::UInt32 nLCID, System::String ^ webTemplate, System::String ^ ownerLogin, System::String ^ ownerName, System::String ^ ownerEmail, System::String ^ secondaryContactLogin, System::String ^ secondaryContactName, System::String ^ secondaryContactEmail, System::String ^ databaseServer, System::String ^ databaseName, System::String ^ userName, System::String ^ password);
public Microsoft.SharePoint.SPSite Add (Microsoft.SharePoint.SPSiteSubscription siteSubscription, string siteUrl, string title, string description, uint nLCID, string webTemplate, string ownerLogin, string ownerName, string ownerEmail, string secondaryContactLogin, string secondaryContactName, string secondaryContactEmail, string databaseServer, string databaseName, string userName, string password);
Public Function Add (siteSubscription As SPSiteSubscription, siteUrl As String, title As String, description As String, nLCID As UInteger, webTemplate As String, ownerLogin As String, ownerName As String, ownerEmail As String, secondaryContactLogin As String, secondaryContactName As String, secondaryContactEmail As String, databaseServer As String, databaseName As String, userName As String, password As String) As SPSite
Parameters
siteUrl
String String String
description
String String String
webTemplate
String String String
ownerLogin
String String String
ownerName
String String String
ownerEmail
String String String
secondaryContactLogin
String String String
secondaryContactName
String String String
secondaryContactEmail
String String String
databaseServer
String String String
databaseName
String String String
userName
String String String
password
String String String
Returns

Add(String, String, String, UInt32, Int32, String, String, String, String, String, String, String, String, String, String, String) Add(String, String, String, UInt32, Int32, String, String, String, String, String, String, String, String, String, String, String) Add(String, String, String, UInt32, Int32, String, String, String, String, String, String, String, String, String, String, String)

public:
 Microsoft::SharePoint::SPSite ^ Add(System::String ^ siteUrl, System::String ^ title, System::String ^ description, System::UInt32 nLCID, int compatibilityLevel, System::String ^ webTemplate, System::String ^ ownerLogin, System::String ^ ownerName, System::String ^ ownerEmail, System::String ^ secondaryContactLogin, System::String ^ secondaryContactName, System::String ^ secondaryContactEmail, System::String ^ databaseServer, System::String ^ databaseName, System::String ^ userName, System::String ^ password);
public Microsoft.SharePoint.SPSite Add (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);
Public Function Add (siteUrl As String, title As String, description As String, nLCID As UInteger, compatibilityLevel As Integer, webTemplate As String, ownerLogin As String, ownerName As String, ownerEmail As String, secondaryContactLogin As String, secondaryContactName As String, secondaryContactEmail As String, databaseServer As String, databaseName As String, userName As String, password As String) As SPSite
Parameters
siteUrl
String String String
description
String String String
compatibilityLevel
Int32 Int32 Int32
webTemplate
String String String
ownerLogin
String String String
ownerName
String String String
ownerEmail
String String String
secondaryContactLogin
String String String
secondaryContactName
String String String
secondaryContactEmail
String String String
databaseServer
String String String
databaseName
String String String
userName
String String String
password
String String String
Returns

Add(SPSiteSubscription, String, String, String, UInt32, Int32, String, String, String, String, String, String, String, String, String, String, String) Add(SPSiteSubscription, String, String, String, UInt32, Int32, String, String, String, String, String, String, String, String, String, String, String) Add(SPSiteSubscription, String, String, String, UInt32, Int32, String, String, String, String, String, String, String, String, String, String, String)

public:
 Microsoft::SharePoint::SPSite ^ Add(Microsoft::SharePoint::SPSiteSubscription ^ siteSubscription, System::String ^ siteUrl, System::String ^ title, System::String ^ description, System::UInt32 nLCID, int compatibilityLevel, System::String ^ webTemplate, System::String ^ ownerLogin, System::String ^ ownerName, System::String ^ ownerEmail, System::String ^ secondaryContactLogin, System::String ^ secondaryContactName, System::String ^ secondaryContactEmail, System::String ^ databaseServer, System::String ^ databaseName, System::String ^ userName, System::String ^ password);
public Microsoft.SharePoint.SPSite Add (Microsoft.SharePoint.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);
Public Function Add (siteSubscription As SPSiteSubscription, siteUrl As String, title As String, description As String, nLCID As UInteger, compatibilityLevel As Integer, webTemplate As String, ownerLogin As String, ownerName As String, ownerEmail As String, secondaryContactLogin As String, secondaryContactName As String, secondaryContactEmail As String, databaseServer As String, databaseName As String, userName As String, password As String) As SPSite
Parameters
siteUrl
String String String
description
String String String
compatibilityLevel
Int32 Int32 Int32
webTemplate
String String String
ownerLogin
String String String
ownerName
String String String
ownerEmail
String String String
secondaryContactLogin
String String String
secondaryContactName
String String String
secondaryContactEmail
String String String
databaseServer
String String String
databaseName
String String String
userName
String String String
password
String String String
Returns

Applies to