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)
Available in Sandboxed Solutions: No
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