ServerPropertyCollection.Add 方法 (String, String)

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

命名空间:  Microsoft.AnalysisServices
程序集:  Microsoft.AnalysisServices(在 Microsoft.AnalysisServices.dll 中)

语法

声明
Public Function Add ( _
    name As String, _
    value As String _
) As ServerProperty
用法
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

参数

返回值

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

请参阅

参考

ServerPropertyCollection 类

Add 重载

Microsoft.AnalysisServices 命名空间