다음을 통해 공유


AdomdCommand 생성자 (String, AdomdConnection)

Initializes a new instance of the AdomdCommand class with the text of the command and an AdomdConnection.

네임스페이스:  Microsoft.AnalysisServices.AdomdClient
어셈블리:  Microsoft.AnalysisServices.AdomdClient(Microsoft.AnalysisServices.AdomdClient.dll)

구문

‘선언
Public Sub New ( _
    commandText As String, _
    connection As AdomdConnection _
)
‘사용 방법
Dim commandText As String
Dim connection As AdomdConnection

Dim instance As New AdomdCommand(commandText, _
    connection)
public AdomdCommand(
    string commandText,
    AdomdConnection connection
)
public:
AdomdCommand(
    String^ commandText, 
    AdomdConnection^ connection
)
new : 
        commandText:string * 
        connection:AdomdConnection -> AdomdCommand
public function AdomdCommand(
    commandText : String, 
    connection : AdomdConnection
)

매개 변수