Share via


ServerPropertyCollection.Add Method (String, String)

 

Applies To: SQL Server (starting with 2016)

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

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

Syntax

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 As String,
    value As String
) As ServerProperty

Parameters

Return Value

Type: Microsoft.AnalysisServices.ServerProperty

The ServerProperty that was added to the collection.

See Also

Add Overload
ServerPropertyCollection Class
Microsoft.AnalysisServices Namespace

Return to top