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
name
Type: System.StringThe name of the ServerProperty to add.
value
Type: System.StringThe value of the ServerProperty to add.
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