Share via


AdomdParameter.ParameterName Property

Gets or sets the name of the AdomdParameter.

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

Syntax

'Declaration
Public Property ParameterName As String
    Get
    Set
'Usage
Dim instance As AdomdParameter
Dim value As String

value = instance.ParameterName

instance.ParameterName = value
public string ParameterName { get; set; }
public:
virtual property String^ ParameterName {
    String^ get () sealed;
    void set (String^ value) sealed;
}
abstract ParameterName : string with get, set
override ParameterName : string with get, set
final function get ParameterName () : String
final function set ParameterName (value : String)

Property Value

Type: System.String

Implements

IDataParameter.ParameterName

Remarks

The default value is an empty string. The ParameterName is specified in the form @paramname. You must set ParameterName before executing a command that relies on parameters.