function TOutlookApplication.GetDefaultInterface: _DApplication;
begin
if FIntf = nil then
Connect;
Assert(FIntf <> nil, 'DefaultInterface is NULL. Component is not connected to Server. You must call ''Connect'' or ''ConnectTo'' before this operation');
function TAppointmentItem.GetDefaultInterface: _DAppointmentItem;
begin
if FIntf = nil then
Connect;
Assert(FIntf <> nil, 'DefaultInterface is NULL. Component is not connected to Server. You must call ''Connect'' or ''ConnectTo'' before this operation');
function TContactItem.GetDefaultInterface: _DContactItem;
begin
if FIntf = nil then
Connect;
Assert(FIntf <> nil, 'DefaultInterface is NULL. Component is not connected to Server. You must call ''Connect'' or ''ConnectTo'' before this operation');
function TJournalItem.GetDefaultInterface: _DJournalItem;
begin
if FIntf = nil then
Connect;
Assert(FIntf <> nil, 'DefaultInterface is NULL. Component is not connected to Server. You must call ''Connect'' or ''ConnectTo'' before this operation');
function TMailItem.GetDefaultInterface: _DMailItem;
begin
if FIntf = nil then
Connect;
Assert(FIntf <> nil, 'DefaultInterface is NULL. Component is not connected to Server. You must call ''Connect'' or ''ConnectTo'' before this operation');
Result := FIntf;
end;
constructor TMailItem.Create(AOwner: TComponent);
begin
inherited Create(AOwner);
{$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
FProps := TMailItemProperties.Create(Self);
{$ENDIF}
end;
destructor TMailItem.Destroy;
begin
{$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
FProps.Free;
{$ENDIF}
inherited Destroy;
end;
{$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
function TMailItem.GetServerProperties: TMailItemProperties;
begin
Result := FProps;
end;
{$ENDIF}
procedure TMailItem.InvokeEvent(DispID: TDispID; var Params: TVariantArray);
function TMeetingRequestItem.GetDefaultInterface: _DMeetingRequestItem;
begin
if FIntf = nil then
Connect;
Assert(FIntf <> nil, 'DefaultInterface is NULL. Component is not connected to Server. You must call ''Connect'' or ''ConnectTo'' before this operation');
function TNoteItem.GetDefaultInterface: _DNoteItem;
begin
if FIntf = nil then
Connect;
Assert(FIntf <> nil, 'DefaultInterface is NULL. Component is not connected to Server. You must call ''Connect'' or ''ConnectTo'' before this operation');
Result := FIntf;
end;
constructor TNoteItem.Create(AOwner: TComponent);
begin
inherited Create(AOwner);
{$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
FProps := TNoteItemProperties.Create(Self);
{$ENDIF}
end;
destructor TNoteItem.Destroy;
begin
{$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
FProps.Free;
{$ENDIF}
inherited Destroy;
end;
{$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
function TNoteItem.GetServerProperties: TNoteItemProperties;
begin
Result := FProps;
end;
{$ENDIF}
procedure TNoteItem.InvokeEvent(DispID: TDispID; var Params: TVariantArray);
function TPostItem.GetDefaultInterface: _DPostItem;
begin
if FIntf = nil then
Connect;
Assert(FIntf <> nil, 'DefaultInterface is NULL. Component is not connected to Server. You must call ''Connect'' or ''ConnectTo'' before this operation');
Result := FIntf;
end;
constructor TPostItem.Create(AOwner: TComponent);
begin
inherited Create(AOwner);
{$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
FProps := TPostItemProperties.Create(Self);
{$ENDIF}
end;
destructor TPostItem.Destroy;
begin
{$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
FProps.Free;
{$ENDIF}
inherited Destroy;
end;
{$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
function TPostItem.GetServerProperties: TPostItemProperties;
begin
Result := FProps;
end;
{$ENDIF}
procedure TPostItem.InvokeEvent(DispID: TDispID; var Params: TVariantArray);
function TRemoteItem.GetDefaultInterface: _DRemoteItem;
begin
if FIntf = nil then
Connect;
Assert(FIntf <> nil, 'DefaultInterface is NULL. Component is not connected to Server. You must call ''Connect'' or ''ConnectTo'' before this operation');
function TReportItem.GetDefaultInterface: _DReportItem;
begin
if FIntf = nil then
Connect;
Assert(FIntf <> nil, 'DefaultInterface is NULL. Component is not connected to Server. You must call ''Connect'' or ''ConnectTo'' before this operation');
function TTaskItem.GetDefaultInterface: _DTaskItem;
begin
if FIntf = nil then
Connect;
Assert(FIntf <> nil, 'DefaultInterface is NULL. Component is not connected to Server. You must call ''Connect'' or ''ConnectTo'' before this operation');
Result := FIntf;
end;
constructor TTaskItem.Create(AOwner: TComponent);
begin
inherited Create(AOwner);
{$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
FProps := TTaskItemProperties.Create(Self);
{$ENDIF}
end;
destructor TTaskItem.Destroy;
begin
{$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
FProps.Free;
{$ENDIF}
inherited Destroy;
end;
{$IFDEF LIVE_SERVER_AT_DESIGN_TIME}
function TTaskItem.GetServerProperties: TTaskItemProperties;
begin
Result := FProps;
end;
{$ENDIF}
procedure TTaskItem.InvokeEvent(DispID: TDispID; var Params: TVariantArray);
function TTaskRequestItem.GetDefaultInterface: _DTaskRequestItem;
begin
if FIntf = nil then
Connect;
Assert(FIntf <> nil, 'DefaultInterface is NULL. Component is not connected to Server. You must call ''Connect'' or ''ConnectTo'' before this operation');