Delen via


ServerPropertyCollection.Add Method (ServerProperty)

Adds a ServerProperty to the end of the collection.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Public Function Add ( _
    item As ServerProperty _
) As Integer
'Usage
Dim instance As ServerPropertyCollection 
Dim item As ServerProperty 
Dim returnValue As Integer 

returnValue = instance.Add(item)
public int Add(
    ServerProperty item
)
public:
int Add(
    ServerProperty^ item
)
member Add : 
        item:ServerProperty -> int
public function Add(
    item : ServerProperty
) : int

Parameters

Return Value

Type: System.Int32
The zero-based index at which the ServerProperty has been added.

See Also

Reference

ServerPropertyCollection Class

Add Overload

Microsoft.AnalysisServices Namespace