Свойство 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 nullNothingnullptrunitпустая ссылка (Nothing в Visual Basic) value if no AdomdConnection is associated with the AdomdCommand. The default value is a nullNothingnullptrunitпустая ссылка (Nothing в Visual Basic) value.
Замечания
Before trying to run an AdomdCommand, you must set the Connection property to a valid AdomdConnection.