다음을 통해 공유


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

Return Value

Type: Microsoft.SharePoint.Administration.SPUserCodeExecutionTier
The newly created object.

See Also

Reference

SPUserCodeExecutionTierCollection Class

SPUserCodeExecutionTierCollection Members

Add Overload

Microsoft.SharePoint.Administration Namespace