SPUserCodeExecutionTierCollection.Add method (String)
Constructs a new instance of a SPUserCodeExecutionTier object and adds it to the collection.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Function Add ( _
name As String _
) As SPUserCodeExecutionTier
'Usage
Dim instance As SPUserCodeExecutionTierCollection
Dim name As String
Dim returnValue As SPUserCodeExecutionTier
returnValue = instance.Add(name)
public SPUserCodeExecutionTier Add(
string name
)
Parameters
name
Type: System.StringThe objects name.
Return value
Type: Microsoft.SharePoint.Administration.SPUserCodeExecutionTier
The newly created object.
See also
Reference
SPUserCodeExecutionTierCollection class