Connection 속성
Gets or sets the AdomdConnection that the AdomdCommand uses.
네임스페이스: Microsoft.AnalysisServices.AdomdClient
어셈블리: Microsoft.AnalysisServices.AdomdClient(Microsoft.AnalysisServices.AdomdClient.dll)
구문
‘선언
Public Property Connection As AdomdConnection
Get
Set
‘사용 방법
Dim instance As AdomdCommand
Dim value As AdomdConnection
value = instance.Connection
instance.Connection = value
public AdomdConnection Connection { get; set; }
public:
property AdomdConnection^ Connection {
AdomdConnection^ get ();
void set (AdomdConnection^ value);
}
member Connection : AdomdConnection with get, set
function get Connection () : AdomdConnection
function set Connection (value : AdomdConnection)
속성 값
유형: Microsoft.AnalysisServices.AdomdClient. . :: . .AdomdConnection
An AdomdConnection, or a nullNothingnullptrunitnull 참조(Visual Basic에서는 Nothing) value if no AdomdConnection is associated with the AdomdCommand. The default value is a nullNothingnullptrunitnull 참조(Visual Basic에서는 Nothing) value.
주의
Before trying to run an AdomdCommand, you must set the Connection property to a valid AdomdConnection.