Compartilhar via


Método ServerPropertyCollection.Add (String, String)

Creates and adds a ServerProperty, with the specified name and value, to the end of the collection.

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

Sintaxe

'Declaração
Public Function Add ( _
    name As String, _
    value As String _
) As ServerProperty
'Uso
Dim instance As ServerPropertyCollection 
Dim name As String 
Dim value As String 
Dim returnValue As ServerProperty 

returnValue = instance.Add(name, value)
public ServerProperty Add(
    string name,
    string value
)
public:
ServerProperty^ Add(
    String^ name, 
    String^ value
)
member Add : 
        name:string * 
        value:string -> ServerProperty
public function Add(
    name : String, 
    value : String
) : ServerProperty

Parâmetros

Valor de retorno

Tipo: Microsoft.AnalysisServices.ServerProperty
The ServerProperty that was added to the collection.

Consulte também

Referência

ServerPropertyCollection Classe

Sobrecarregado Add

Namespace Microsoft.AnalysisServices