Board index » delphi » How to use SqlDMO in Delphi ???

How to use SqlDMO in Delphi ???


2004-04-24 12:57:49 AM
delphi9
I want work with SQLDMO in delphi. I only know what sqldmo is a dll. How to
convert this dll in a file for work in delphi?.
Thanks
Juan Carlos Aranda
 
 

Re:How to use SqlDMO in Delphi ???

SQLDMO is a COM API, do project|import type library and then use the classes
somewhat like they were delphi classes. One trick to watch out for is that
some of the autogenerated class names clash with delphi class names
(TDatabase, TApplication) so you either have to change the resolve order of
compilation in the project source file or rename the classes during import
in the {*word*249}y little edit box down the bottom.
There are samples on CC about using DMO and lots of posts, check out google.
-Euan
"Juan Carlos Aranda" <XXXX@XXXXX.COM>writes
Quote
I want work with SQLDMO in delphi. I only know what sqldmo is a dll. How
to
convert this dll in a file for work in delphi?.

Thanks

Juan Carlos Aranda


 

Re:How to use SqlDMO in Delphi ???

here is a code and sample for SqlDMO (it's free)
the uses...
www.delphi32.co.yu/preuzeti_tekstovi/exploiting_sql_server_1.htm
i send to your mail the code and the sample for study....
the code for SQLDMO_TLB.Pas
unit SQLDMO_TLB;
// ************************************************************************
//
// WARNING
//
// -------
//
// The types declared in this file were generated from data read from a
//
// Type Library. If this type library is explicitly or indirectly (via
//
// another type library referring to this type library) re-imported, or the
//
// 'Refresh' command of the Type Library Editor activated while editing the
//
// Type Library, the contents of this file will be regenerated and all
//
// manual modifications will be lost.
//
// ************************************************************************
//
// PASTLWTR : $Revision: 1.11.1.75 $
// File generated on 11/12/98 3:57:29 PM from Type Library described below.
// ************************************************************************
//
// Type Lib: D:\MS SQL7\Binn\sqldmo.ENU
// IID\LCID: {10010001-E260-11CF-AE68-00AA004A34D5}\0
// Helpfile: D:\MS SQL7\Binn\SQLDMO.hlp
// HelpString: Microsoft SQLDMO Object Library
// Version: 7.0
// ************************************************************************
//
interface
uses Windows, ActiveX, Classes, Graphics, OleCtrls, StdVCL;
// *********************************************************************//
// GUIDS declared in the TypeLibrary. Following prefixes are used: //
// Type Libraries : LIBID_xxxx //
// CoClasses : CLASS_xxxx //
// DISPInterfaces : DIID_xxxx //
// Non-DISP interfaces: IID_xxxx //
// *********************************************************************//
const
LIBID_SQLDMO: TGUID = '{10010001-E260-11CF-AE68-00AA004A34D5}';
IID__IVSQLDMOStdObject: TGUID = '{10010007-E260-11CF-AE68-00AA004A34D5}';
IID__Application: TGUID = '{10020106-E260-11CF-AE68-00AA004A34D5}';
CLASS_Application_: TGUID = '{10020100-E260-11CF-AE68-00AA004A34D5}';
IID_Properties: TGUID = '{10020001-E260-11CF-AE68-00AA004A34D5}';
IID_Property_: TGUID = '{10020002-E260-11CF-AE68-00AA004A34D5}';
IID_SQLServers: TGUID = '{10020203-E260-11CF-AE68-00AA004A34D5}';
IID_ServerSink: TGUID = '{10020209-E260-11CF-AE68-00AA004A34D5}';
IID__SQLServer: TGUID = '{10020206-E260-11CF-AE68-00AA004A34D5}';
IID_Databases: TGUID = '{10020303-E260-11CF-AE68-00AA004A34D5}';
IID__Database: TGUID = '{10020306-E260-11CF-AE68-00AA004A34D5}';
CLASS_Database: TGUID = '{10020300-E260-11CF-AE68-00AA004A34D5}';
IID_Tables: TGUID = '{10020403-E260-11CF-AE68-00AA004A34D5}';
IID__Table: TGUID = '{10020406-E260-11CF-AE68-00AA004A34D5}';
CLASS_Table: TGUID = '{10020400-E260-11CF-AE68-00AA004A34D5}';
IID_Columns: TGUID = '{10020503-E260-11CF-AE68-00AA004A34D5}';
IID__Column: TGUID = '{10020506-E260-11CF-AE68-00AA004A34D5}';
CLASS_Column: TGUID = '{10020500-E260-11CF-AE68-00AA004A34D5}';
IID_DRIDefault: TGUID = '{10022B06-E260-11CF-AE68-00AA004A34D5}';
IID_SQLObjectList: TGUID = '{10022806-E260-11CF-AE68-00AA004A34D5}';
IID_Keys: TGUID = '{10020F03-E260-11CF-AE68-00AA004A34D5}';
IID__Key: TGUID = '{10020F06-E260-11CF-AE68-00AA004A34D5}';
CLASS_Key: TGUID = '{10020F00-E260-11CF-AE68-00AA004A34D5}';
IID_Names: TGUID = '{10021D03-E260-11CF-AE68-00AA004A34D5}';
IID_Indexes: TGUID = '{10020E03-E260-11CF-AE68-00AA004A34D5}';
IID__Index: TGUID = '{10020E06-E260-11CF-AE68-00AA004A34D5}';
CLASS_Index: TGUID = '{10020E00-E260-11CF-AE68-00AA004A34D5}';
IID_QueryResults: TGUID = '{10022506-E260-11CF-AE68-00AA004A34D5}';
IID_Triggers: TGUID = '{10021003-E260-11CF-AE68-00AA004A34D5}';
IID__Trigger: TGUID = '{10021006-E260-11CF-AE68-00AA004A34D5}';
CLASS_Trigger: TGUID = '{10021000-E260-11CF-AE68-00AA004A34D5}';
IID_Checks: TGUID = '{10021703-E260-11CF-AE68-00AA004A34D5}';
IID__Check: TGUID = '{10021706-E260-11CF-AE68-00AA004A34D5}';
CLASS_Check: TGUID = '{10021700-E260-11CF-AE68-00AA004A34D5}';
IID_BulkCopySink: TGUID = '{10021C09-E260-11CF-AE68-00AA004A34D5}';
IID__BulkCopy: TGUID = '{10021C06-E260-11CF-AE68-00AA004A34D5}';
CLASS_BulkCopy: TGUID = '{10021C00-E260-11CF-AE68-00AA004A34D5}';
IID_NameList: TGUID = '{10022406-E260-11CF-AE68-00AA004A34D5}';
IID_Views: TGUID = '{10020703-E260-11CF-AE68-00AA004A34D5}';
IID__View: TGUID = '{10020706-E260-11CF-AE68-00AA004A34D5}';
CLASS_View: TGUID = '{10020700-E260-11CF-AE68-00AA004A34D5}';
IID_StoredProcedures: TGUID = '{10020D03-E260-11CF-AE68-00AA004A34D5}';
IID__StoredProcedure: TGUID = '{10020D06-E260-11CF-AE68-00AA004A34D5}';
CLASS_StoredProcedure: TGUID = '{10020D00-E260-11CF-AE68-00AA004A34D5}';
IID_Defaults: TGUID = '{10020903-E260-11CF-AE68-00AA004A34D5}';
IID__Default: TGUID = '{10020906-E260-11CF-AE68-00AA004A34D5}';
CLASS_Default: TGUID = '{10020900-E260-11CF-AE68-00AA004A34D5}';
IID_Rules: TGUID = '{10020A03-E260-11CF-AE68-00AA004A34D5}';
IID__Rule: TGUID = '{10020A06-E260-11CF-AE68-00AA004A34D5}';
CLASS_Rule: TGUID = '{10020A00-E260-11CF-AE68-00AA004A34D5}';
IID_UserDefinedDatatypes: TGUID =
'{10020803-E260-11CF-AE68-00AA004A34D5}';
IID__UserDefinedDatatype: TGUID =
'{10020806-E260-11CF-AE68-00AA004A34D5}';
CLASS_UserDefinedDatatype: TGUID =
'{10020800-E260-11CF-AE68-00AA004A34D5}';
IID_Users: TGUID = '{10020B03-E260-11CF-AE68-00AA004A34D5}';
IID__User: TGUID = '{10020B06-E260-11CF-AE68-00AA004A34D5}';
CLASS_User: TGUID = '{10020B00-E260-11CF-AE68-00AA004A34D5}';
IID_Groups: TGUID = '{10020C03-E260-11CF-AE68-00AA004A34D5}';
IID__Group: TGUID = '{10020C06-E260-11CF-AE68-00AA004A34D5}';
CLASS_Group: TGUID = '{10020C00-E260-11CF-AE68-00AA004A34D5}';
IID_SystemDatatypes: TGUID = '{10021A03-E260-11CF-AE68-00AA004A34D5}';
IID_SystemDatatype: TGUID = '{10021A06-E260-11CF-AE68-00AA004A34D5}';
IID_TransactionLog: TGUID = '{10022606-E260-11CF-AE68-00AA004A34D5}';
IID_LogFiles: TGUID = '{10022E03-E260-11CF-AE68-00AA004A34D5}';
IID__LogFile: TGUID = '{10022E06-E260-11CF-AE68-00AA004A34D5}';
CLASS_LogFile: TGUID = '{10022E00-E260-11CF-AE68-00AA004A34D5}';
IID_DBOption: TGUID = '{10022206-E260-11CF-AE68-00AA004A34D5}';
IID_DBObject: TGUID = '{10022106-E260-11CF-AE68-00AA004A34D5}';
IID_TransferSink: TGUID = '{10021E09-E260-11CF-AE68-00AA004A34D5}';
IID__Transfer: TGUID = '{10021E06-E260-11CF-AE68-00AA004A34D5}';
CLASS_Transfer: TGUID = '{10021E00-E260-11CF-AE68-00AA004A34D5}';
IID_FileGroups: TGUID = '{10022C03-E260-11CF-AE68-00AA004A34D5}';
IID__FileGroup: TGUID = '{10022C06-E260-11CF-AE68-00AA004A34D5}';
CLASS_FileGroup: TGUID = '{10022C00-E260-11CF-AE68-00AA004A34D5}';
IID_DBFiles: TGUID = '{10022D03-E260-11CF-AE68-00AA004A34D5}';
IID__DBFile: TGUID = '{10022D06-E260-11CF-AE68-00AA004A34D5}';
CLASS_DBFile: TGUID = '{10022D00-E260-11CF-AE68-00AA004A34D5}';
IID_DatabaseRoles: TGUID = '{10023103-E260-11CF-AE68-00AA004A34D5}';
IID__DatabaseRole: TGUID = '{10023106-E260-11CF-AE68-00AA004A34D5}';
CLASS_DatabaseRole: TGUID = '{10023100-E260-11CF-AE68-00AA004A34D5}';
IID_FullTextCatalogs: TGUID = '{10023503-E260-11CF-AE68-00AA004A34D5}';
IID__FullTextCatalog: TGUID = '{10023506-E260-11CF-AE68-00AA004A34D5}';
CLASS_FullTextCatalog: TGUID = '{10023500-E260-11CF-AE68-00AA004A34D5}';
IID_BackupDevices: TGUID = '{10021103-E260-11CF-AE68-00AA004A34D5}';
IID__BackupDevice: TGUID = '{10021106-E260-11CF-AE68-00AA004A34D5}';
CLASS_BackupDevice: TGUID = '{10021100-E260-11CF-AE68-00AA004A34D5}';
IID_IntegratedSecurity: TGUID = '{10022A06-E260-11CF-AE68-00AA004A34D5}';
IID_Languages: TGUID = '{10021403-E260-11CF-AE68-00AA004A34D5}';
IID__Language: TGUID = '{10021406-E260-11CF-AE68-00AA004A34D5}';
CLASS_Language: TGUID = '{10021400-E260-11CF-AE68-00AA004A34D5}';
IID_RemoteServers: TGUID = '{10021503-E260-11CF-AE68-00AA004A34D5}';
IID__RemoteServer: TGUID = '{10021506-E260-11CF-AE68-00AA004A34D5}';
CLASS_RemoteServer: TGUID = '{10021500-E260-11CF-AE68-00AA004A34D5}';
IID_RemoteLogins: TGUID = '{10021603-E260-11CF-AE68-00AA004A34D5}';
IID__RemoteLogin: TGUID = '{10021606-E260-11CF-AE68-00AA004A34D5}';
CLASS_RemoteLogin: TGUID = '{10021600-E260-11CF-AE68-00AA004A34D5}';
IID_Logins: TGUID = '{10021303-E260-11CF-AE68-00AA004A34D5}';
IID__Login: TGUID = '{10021306-E260-11CF-AE68-00AA004A34D5}';
CLASS_Login: TGUID = '{10021300-E260-11CF-AE68-00AA004A34D5}';
IID_Registry: TGUID = '{10022706-E260-11CF-AE68-00AA004A34D5}';
IID_Configuration: TGUID = '{10022306-E260-11CF-AE68-00AA004A34D5}';
IID_ConfigValues: TGUID = '{10021B03-E260-11CF-AE68-00AA004A34D5}';
IID_ConfigValue: TGUID = '{10021B06-E260-11CF-AE68-00AA004A34D5}';
IID_JobServer: TGUID = '{10040406-E260-11CF-AE68-00AA004A34D5}';
IID_AlertSystem: TGUID = '{10040506-E260-11CF-AE68-00AA004A34D5}';
IID_Operators: TGUID = '{10040203-E260-11CF-AE68-00AA004A34D5}';
IID__Operator: TGUID = '{10040206-E260-11CF-AE68-00AA004A34D5}';
CLASS_Operator: TGUID = '{10040200-E260-11CF-AE68-00AA004A34D5}';
IID_Alerts: TGUID = '{10040603-E260-11CF-AE68-00AA004A34D5}';
IID__Alert: TGUID = '{10040606-E260-11CF-AE68-00AA004A34D5}';
CLASS_Alert: TGUID = '{10040600-E260-11CF-AE68-00AA004A34D5}';
IID_Jobs: TGUID = '{10040803-E260-11CF-AE68-00AA004A34D5}';
IID__Job: TGUID = '{10040806-E260-11CF-AE68-00AA004A34D5}';
CLASS_Job: TGUID = '{10040800-E260-11CF-AE68-00AA004A34D5}';
IID_JobSteps: TGUID = '{10040903-E260-11CF-AE68-00AA004A34D5}';
IID__JobStep: TGUID = '{10040906-E260-11CF-AE68-00AA004A34D5}';
CLASS_JobStep: TGUID = '{10040900-E260-11CF-AE68-00AA004A34D5}';
IID_JobSchedules: TGUID = '{10041603-E260-11CF-AE68-00AA004A34D5}';
IID__JobSchedule: TGUID = '{10041606-E260-11CF-AE68-00AA004A34D5}';
CLASS_JobSchedule: TGUID = '{10041600-E260-11CF-AE68-00AA004A34D5}';
IID_Schedule: TGUID = '{10041206-E260-11CF-AE68-00AA004A34D5}';
IID_TargetServers: TGUID = '{10041003-E260-11CF-AE68-00AA004A34D5}';
IID__TargetServer: TGUID = '{10041006-E260-11CF-AE68-00AA004A34D5}';
CLASS_TargetServer: TGUID = '{10041000-E260-11CF-AE68-00AA004A34D5}';
IID_TargetServerGroups: TGUID = '{10041103-E260-11CF-AE68-00AA004A34D5}';
IID__TargetServerGroup: TGUID = '{10041106-E260-11CF-AE68-00AA004A34D5}';
CLASS_TargetServerGroup: TGUID = '{10041100-E260-11CF-AE68-00AA004A34D5}';
IID_JobFilter: TGUID = '{10041306-E260-11CF-AE68-00AA004A34D5}';
IID_JobHistoryFilter: TGUID = '{10041406-E260-11CF-AE68-00AA004A34D5}';
IID_JobCategories: TGUID = '{10041503-E260-11CF-AE68-00AA004A34D5}';
IID__Category: TGUID = '{10041512-E260-11CF-AE68-00AA004A34D5}';
CLASS_Category: TGUID = '{10041500-E260-11CF-AE68-00AA004A34D5}';
IID_AlertCategories: TGUID = '{10041506-E260-11CF-AE68-00AA004A34D5}';
IID_OperatorCategories: TGUID = '{10041509-E260-11CF-AE68-00AA004A34D5}';
IID_BackupSink: TGUID = '{10021F09-E260-11CF-AE68-00AA004A34D5}';
IID__Backup: TGUID = '{10021F06-E260-11CF-AE68-00AA004A34D5}';
CLASS_Backup: TGUID = '{10021F00-E260-11CF-AE68-00AA004A34D5}';
IID_ReplicationSink: TGUID = '{10031009-E260-11CF-AE68-00AA004A34D5}';
IID__Replication: TGUID = '{10031006-E260-11CF-AE68-00AA004A34D5}';
IID_Publisher: TGUID = '{10030C06-E260-11CF-AE68-00AA004A34D5}';
IID_RegisteredSubscribers: TGUID =
'{10030903-E260-11CF-AE68-00AA004A34D5}';
IID__RegisteredSubscriber: TGUID =
'{10030906-E260-11CF-AE68-00AA004A34D5}';
CLASS_RegisteredSubscriber: TGUID =
'{10030900-E260-11CF-AE68-00AA004A34D5}';
IID__ReplicationSecurity: TGUID =
'{10031206-E260-11CF-AE68-00AA004A34D5}';
CLASS_ReplicationSecurity: TGUID =
'{10031200-E260-11CF-AE68-00AA004A34D5}';
IID_Subscriber: TGUID = '{10030D06-E260-11CF-AE68-00AA004A34D5}';
IID_Distributor: TGUID = '{10030E06-E260-11CF-AE68-00AA004A34D5}';
IID_DistributionPublishers: TGUID =
'{10030703-E260-11CF-AE68-00AA004A34D5}';
IID__DistributionPublisher: TGUID =
'{10030706-E260-11CF-AE68-00AA004A34D5}';
CLASS_DistributionPublisher: TGUID =
'{10030700-E260-11CF-AE68-00AA004A34D5}';
IID_DistributionPublications: TGUID =
'{10032103-E260-11CF-AE68-00AA004A34D5}';
IID__DistributionPublication: TGUID =
'{10032106-E260-11CF-AE68-00AA004A34D5}';
CLASS_DistributionPublication: TGUID =
'{10032100-E260-11CF-AE68-00AA004A34D5}';
IID_DistributionArticles: TGUID =
'{10033103-E260-11CF-AE68-00AA004A34D5}';
IID__DistributionArticle: TGUID =
'{10033106-E260-11CF-AE68-00AA004A34D5}';
CLASS_DistributionArticle: TGUID =
'{10033100-E260-11CF-AE68-00AA004A34D5}';
IID_DistributionSubscriptions: TGUID =
'{10034103-E260-11CF-AE68-00AA004A34D5}';
IID__DistributionSubscription: TGUID =
'{10034106-E260-11CF-AE68-00AA004A34D5}';
CLASS_DistributionSubscription: TGUID =
'{10034100-E260-11CF-AE68-00AA004A34D5}';
IID_DistributionDatabases: TGUID =
'{10031303-E260-11CF-AE68-00AA004A34D5}';
IID__DistributionDatabase: TGUID =
'{10031306-E260-11CF-AE68-00AA004A34D5}';
CLASS_DistributionDatabase: TGUID =
'{10031300-E260-11CF-AE68-00AA004A34D5}';
IID_ReplicationDatabases: TGUID =
'{10030A03-E260-11CF-AE68-00AA004A34D5}';
IID_ReplicationDatabase: TGUID = '{10030A06-E260-11CF-AE68-00AA004A34D5}';
IID_ReplicationTables: TGUID = '{10031403-E260-11CF-AE68-00AA004A34D5}';
IID_ReplicationTable: TGUID = '{10031406-E260-11CF-AE68-00AA004A34D5}';
IID_ReplicationStoredProcedures: TGUID =
'{10031603-E260-11CF-AE68-00AA004A34D5}';
IID_ReplicationStoredProcedure: TGUID =
'{10031606-E260-11CF-AE68-00AA004A34D5}';
IID_TransPublications: TGUID = '{10030103-E260-11CF-AE68-00AA004A34D5}';
IID__TransPublication: TGUID = '{10030106-E260-11CF-AE68-00AA004A34D5}';
CLASS_TransPublication: TGUID = '{10030100-E260-11CF-AE68-00AA004A34D5}';
IID_TransArticles: TGUID = '{10030203-E260-11CF-AE68-00AA004A34D5}';
IID__TransArticle: TGUID = '{10030206-E260-11CF-AE68-00AA004A34D5}';
CLASS_TransArticle: TGUID = '{10030200-E260-11CF-AE68-00AA004A34D5}';
IID_TransSubscriptions: TGUID = '{10030303-E260-11CF-AE68-00AA004A34D5}';
IID__TransSubscription: TGUID = '{10030306-E260-11CF-AE68-00AA004A34D5}';
CLASS_TransSubscription: TGUID = '{10030300-E260-11CF-AE68-00AA004A34D5}';
IID_MergePublications: TGUID = '{10030403-E260-11CF-AE68-00AA004A34D5}';
IID__MergePublication: TGUID = '{10030406-E260-11CF-AE68-00AA004A34D5}';
CLASS_MergePublication: TGUID = '{10030400-E260-11CF-AE68-00AA004A34D5}';
IID_MergeArticles: TGUID = '{10030503-E260-11CF-AE68-00AA004A34D5}';
IID__MergeArticle: TGUID = '{10030506-E260-11CF-AE68-00AA004A34D5}';
CLASS_MergeArticle: TGUID = '{10030500-E260-11CF-AE68-00AA004A34D5}';
IID_MergeSubsetFilters: TGUID = '{10035103-E260-11CF-AE68-00AA004A34D5}';
IID__MergeSubsetFilter: TGUID = '{10035106-E260-11CF-AE68-00AA004A34D5}';
CLASS_MergeSubsetFilter: TGUID = '{10035100-E260-11CF-AE68-00AA004A34D5}';
IID_MergeSubscriptions: TGUID = '{10030603-E260-11CF-AE68-00AA004A34D5}';
IID__MergeSubscription: TGUID = '{10030606-E260-11CF-AE68-00AA004A34D5}';
CLASS_MergeSubscription: TGUID = '{10030600-E260-11CF-AE68-00AA004A34D5}';
IID_TransPullSubscriptions: TGUID =
'{10030B03-E260-11CF-AE68-00AA004A34D5}';
IID__TransPullSubscription: TGUID =
'{10030B06-E260-11CF-AE68-00AA004A34D5}';
CLASS_TransPullSubscription: TGUID =
'{10030B00-E260-11CF-AE68-00AA004A34D5}';
IID_MergePullSubscriptions: TGUID =
'{10031103-E260-11CF-AE68-00AA004A34D5}';
IID__MergePullSubscription: TGUID =
'{10031106-E260-11CF-AE68-00AA004A34D5}';
CLASS_MergePullSubscription: TGUID =
'{10031100-E260-11CF-AE68-00AA004A34D5}';
CLASS_Replication: TGUID = '{10031000-E260-11CF-AE68-00AA004A34D5}';
IID_ServerRoles: TGUID = '{10022F03-E260-11CF-AE68-00AA004A34D5}';
IID__ServerRole: TGUID = '{10022F06-E260-11CF-AE68-00AA004A34D5}';
CLASS_ServerRole: TGUID = '{10022F00-E260-11CF-AE68-00AA004A34D5}';
IID_LinkedServers: TGUID = '{10023303-E260-11CF-AE68-00AA004A34D5}';
IID__LinkedServer: TGUID = '{10023306-E260-11CF-AE68-00AA004A34D5}';
CLASS_LinkedServer: TGUID = '{10023300-E260-11CF-AE68-00AA004A34D5}';
IID_LinkedServerLogins: TGUID = '{10023403-E260-11CF-AE68-00AA004A34D5}';
IID__LinkedServerLogin: TGUID = '{10023406-E260-11CF-AE68-00AA004A34D5}';
CLASS_LinkedServerLogin: TGUID = '{10023400-E260-11CF-AE68-00AA004A34D5}';
IID_FullTextService: TGUID = '{10023606-E260-11CF-AE68-00AA004A34D5}';
CLASS_SQLServer: TGUID = '{10020200-E260-11CF-AE68-00AA004A34D5}';
IID_ServerGroups: TGUID = '{10021803-E260-11CF-AE68-00AA004A34D5}';
IID__ServerGroup: TGUID = '{10021806-E260-11CF-AE68-00AA004A34D5}';
CLASS_ServerGroup: TGUID = '{10021800-E260-11CF-AE68-00AA004A34D5}';
IID_RegisteredServers: TGUID = '{10021903-E260-11CF-AE68-00AA004A34D5}';
IID__RegisteredServer: TGUID = '{10021906-E260-11CF-AE68-00AA004A34D5}';
CLASS_RegisteredServer: TGUID = '{10021900-E260-11CF-AE68-00AA004A34D5}';
IID_Permission: TGUID = '{10022906-E260-11CF-AE68-00AA004A34D5}';
IID__Restore: TGUID = '{10023203-E260-11CF-AE68-00AA004A34D5}';
IID_RestoreSink: TGUID = '{10023206-E260-11CF-AE68-00AA004A34D5}';
CLASS_Restore: TGUID = '{10023200-E260-11CF-AE68-00AA004A34D5}';
// *********************************************************************//
// Declaration of Enumerations defined in Type Library //
// *********************************************************************//
// SQLDMO_OBJECT_TYPE constants
type
SQLDMO_OBJECT_TYPE = TOleEnum;
const
SQLDMOObj_Unknown = $00004000;
SQLDMOObj_Application = $00000000;
SQLDMOObj_UserDefinedDatatype = $00000001;
SQLDMOObj_SystemTable = $00000002;
SQLDMOObj_View = $00000004;
SQLDMOObj_UserTable = $00000008;
SQLDMOObj_StoredProcedure = $00000010;
SQLDMOObj_Default = $00000040;
SQLDMOObj_Rule = $00000080;
SQLDMOObj_Trigger = $00000100;
SQLDMOObj_AllDatabaseUserObjects = $000001FD;
SQLDMOObj_AllDatabaseObjects = $000001FF;
SQLDMOObj_SystemDatatype = $00001000;
SQLDMOObj_User = $00002000;
SQLDMOObj_Group = $00003000;
SQLDMOObj_Index = $00004000;
SQLDMOObj_Key = $00005000;
SQLDMOObj_Column = $00006000;
SQLDMOObj_DBObject = $00007000;
SQLDMOObj_DBOption = $00008000;
SQLDMOObj_ProcedureParameter = $00009000;
SQLDMOObj_Permission = $0000A000;
SQLDMOObj_IntegratedSecurity = $0000B000;
SQLDMOObj_Check = $0000C000;
SQLDMOObj_DRIDefault = $0000D000;
SQLDMOObj_SQLServer = $00020000;
SQLDMOObj_Database = $00021000;
SQLDMOObj_BackupDevice = $00022000;
SQLDMOObj_Login = $00023000;
SQLDMOObj_Language = $00024000;
SQLDMOObj_RemoteServer = $00025000;
SQLDMOObj_RemoteLogin = $00026000;
SQLDMOObj_Configuration = $00027000;
SQLDMOObj_ConfigValue = $00028000;
SQLDMOObj_QueryResults = $00029000;
SQLDMOObj_TransactionLog = $0002A000;
SQLDMOObj_Registry = $0002B000;
SQLDMOObj_Transfer = $0002C000;
SQLDMOObj_Backup = $0002D000;
SQLDMOObj_AutoProperty = $0002E000;
SQLDMOObj_ServerGroup = $0002F000;
SQLDMOObj_RegisteredServer = $00031000;
SQLDMOObj_BulkCopy = $00032000;
SQLDMOObj_FileGroup = $00033000;
SQLDMOObj_DBFile = $00034000;
SQLDMOObj_LogFile = $00035000;
SQLDMOObj_ServerRole = $00036000;
SQLDMOObj_DatabaseRole = $00037000;
SQLDMOObj_Restore = $00038000;
SQLDMOObj_LinkedServer = $00039000;
SQLDMOObj_LinkedServerLogin = $00040000;
SQLDMOObj_FullTextCatalog = $00041000;
SQLDMOObj_FullTextService = $00042000;
SQLDMOObj_TransPublication = $00101000;
SQLDMOObj_TransArticle = $00102000;
SQLDMOObj_TransSubscription = $00103000;
SQLDMOObj_TransPullSubscription = $00104000;
SQLDMOObj_MergePublication = $00105000;
SQLDMOObj_MergeArticle = $00106000;
SQLDMOObj_MergeSubscription = $00107000;
SQLDMOObj_MergePullSubscription = $00108000;
SQLDMOObj_Replication = $00109000;
SQLDMOObj_Publisher = $0010A000;
SQLDMOObj_Subscriber = $0010B000;
SQLDMOObj_Distributor = $0010C000;
SQLDMOObj_ReplicationSecurity = $0010D000;
SQLDMOObj_DistributionPublisher = $0010E000;
SQLDMOObj_RegisteredSubscriber = $0010F000;
SQLDMOObj_ReplicationDatabase = $00110000;
SQLDMOObj_DistributionDatabase = $00111000;
SQLDMOObj_ReplicationTable = $00112000;
SQLDMOObj_ReplicationStoredProcedure = $00113000;
SQLDMOObj_DistributionPublication = $00114000;
SQLDMOObj_DistributionArticle = $00115000;
SQLDMOObj_DistributionSubscription = $00116000;
SQLDMOObj_MergeSubsetFilter = $00117000;
SQLDMOObj_AlertSystem = $00201000;
SQLDMOObj_JobServer = $00202000;
SQLDMOObj_Alert = $00203000;
SQLDMOObj_Operator = $00204000;
SQLDMOObj_Job = $00205000;
SQLDMOObj_JobStep = $00206000;
SQLDMOObj_TargetServer = $00207000;
SQLDMOObj_TargetServerGroup = $00208000;
SQLDMOObj_Category = $00209000;
SQLDMOObj_Schedule = $00210000;
SQLDMOObj_JobFilter = $00211000;
SQLDMOObj_JobHistoryFilter = $00212000;
SQLDMOObj_JobSchedule = $00213000;
SQLDMOObj_Last = $10000000;
// SQLDMO_KEY_TYPE constants
type
SQLDMO_KEY_TYPE = TOleEnum;
const
SQLDMOKey_Unknown = $00000000;
SQLDMOKey_Primary = $00000001;
SQLDMOKey_Unique = $00000002;
SQLDMOKey_Foreign = $00000003;
// SQLDMO_DEVICE_TYPE constants
type
SQLDMO_DEVICE_TYPE = TOleEnum;
const
SQLDMODevice_Unknown = $00000064;
SQLDMODevice_DiskDump = $00000002;
SQLDMODevice_FloppyADump = $00000003;
SQLDMODevice_FloppyBDump = $00000004;
SQLDMODevice_TapeDump = $00000005;
SQLDMODevice_PipeDump = $00000006;
SQLDMODevice_CDROM = $00000007;
// SQLDMO_PRIVILEGE_TYPE constants
type
SQLDMO_PRIVILEGE_TYPE = TOleEnum;
const
SQLDMOPriv_Unknown = $00000000;
SQLDMOPriv_Select = $00000001;
SQLDMOPriv_Insert = $00000002;
SQLDMOPriv_Update = $00000004;
SQLDMOPriv_Delete = $00000008;
SQLDMOPriv_Execute = $00000010;
SQLDMOPriv_References = $00000020;
SQLDMOPriv_AllObjectPrivs = $0000003F;
SQLDMOPriv_CreateTable = $00000080;
SQLDMOPriv_CreateDatabase = $00000100;
SQLDMOPriv_CreateView = $00000200;
SQLDMOPriv_CreateProcedure = $00000400;
SQLDMOPriv_DumpDatabase = $00000800;
SQLDMOPriv_CreateDefault = $00001000;
SQLDMOPriv_DumpTransaction = $00002000;
SQLDMOPriv_CreateRule = $00004000;
SQLDMOPriv_DumpTable = $00008000;
SQLDMOPriv_AllDatabasePrivs = $0000FF80;
// SQLDMO_PROCEDURE_TYPE constants
type
SQLDMO_PROCEDURE_TYPE = TOleEnum;
const
SQLDMOProc_Unknown = $00000000;
SQLDMOProc_Standard = $00000001;
SQLDMOProc_Extended = $00000002;
SQLDMOProc_Macro = $00000003;
SQLDMOProc_ReplicationFilter = $00000004;
// SQLDMO_TRIGGER_TYPE constants
type
SQLDMO_TRIGGER_TYPE = TOleEnum;
const
SQLDMOTrig_Unknown = $00000000;
SQLDMOTrig_Insert = $00000001;
SQLDMOTrig_Update = $00000002;
SQLDMOTrig_Delete = $00000004;
SQLDMOTrig_All = $00000007;
// SQLDMO_INDEX_TYPE constants
type
SQLDMO_INDEX_TYPE = TOleEnum;
const
SQLDMOIndex_Default = $00000000;
SQLDMOIndex_IgnoreDupKey = $00000001;
SQLDMOIndex_Unique = $00000002;
SQLDMOIndex_Clustered = $00000010;
SQLDMOIndex_PadIndex = $00000100;
SQLDMOIndex_SortedData = $00000200;
SQLDMOIndex_SortedDataReorg = $00002000;
SQLDMOIndex_DropExist = $00008000;
SQLDMOIndex_Valid = $0000A313;
SQLDMOIndex_Hypothetical = $00000020;
SQLDMOIndex_DRIPrimaryKey = $00000800;
SQLDMOIndex_DRIUniqueKey = $00001000;
SQLDMOIndex_DRIIndex = $00001800;
// SQLDMO_QUERY_DATATYPE constants
type
SQLDMO_QUERY_DATATYPE = TOleEnum;
const
SQLDMO_DTypeUnknown = $00000000;
SQLDMO_DTypeChar = $00000001;
SQLDMO_DTypeText = $FFFFFFFF;
SQLDMO_DTypeVarchar = $0000000C;
SQLDMO_DTypeVarBinary = $FFFFFFFD;
SQLDMO_DTypeBinary = $FFFFFFFE;
SQLDMO_DTypeImage = $FFFFFFFC;
SQLDMO_DTypeFloat4 = $00000007;
SQLDMO_DTypeFloat8 = $00000008;
SQLDMO_DTypeInt1 = $FFFFFFFA;
SQLDMO_DTypeInt2 = $00000005;
SQLDMO_DTypeInt4 = $00000004;
SQLDMO_DTypeMoney4 = $00000003;
SQLDMO_DTypeMoney = $00000003;
SQLDMO_DTypeDateTime = $FFFFFFFE;
SQLDMO_DTypeDateTime4 = $0000005D;
SQLDMO_DTypeBit = $FFFFFFF9;
SQLDMO_DTypeUChar = $FFFFFFF8;
SQLDMO_DTypeUVarchar = $FFFFFFF7;
SQLDMO_DTypeGUID = $FFFFFFF5;
SQLDMO_DTypeNText = $FFFFFFF6;
// SQLDMO_AUDIT_TYPE constants
type
SQLDMO_AUDIT_TYPE = TOleEnum;
const
SQLDMOAudit_None = $00000000;
SQLDMOAudit_Success = $00000001;
SQLDMOAudit_Failure = $00000002;
SQLDMOAudit_All = $00000003;
// SQLDMO_SECURITY_TYPE constants
type
SQLDMO_SECURITY_TYPE = TOleEnum;
const
SQLDMOSecurity_Min = $00000000;
SQLDMOSecurity_Normal = $00000000;
SQLDMOSecurity_Integrated = $00000001;
SQLDMOSecurity_Mixed = $00000002;
SQLDMOSecurity_Max = $00000002;
// SQLDMO_MEDIA_TYPE constants
type
SQLDMO_MEDIA_TYPE = TOleEnum;
const
SQLDMOMedia_Floppy = $00000001;
SQLDMOMedia_FixedDisk = $00000002;
SQLDMOMedia_Tape = $00000004;
SQLDMOMedia_CDROM = $00000008;
SQLDMOMedia_All = $0000000F;
// SQLDMO_PERFMON_TYPE constants
type
SQLDMO_PERFMON_TYPE = TOleEnum;
const
SQLDMOPerfmon_None = $000003E8;
SQLDMOPerfmon_MinSet = $00000000;
SQLDMOPerfmon_Continuous = $00000000;
SQLDMOPerfmon_OnDemand = $00000001;
SQLDMOPerfmon_MaxSet = $00000001;
// SQLDMO_DBSTATUS_TYPE constants
type
SQLDMO_DBSTATUS_TYPE = TOleEnum;
const
SQLDMODBStat_Normal = $00000000;
SQLDMODBStat_Loading = $00000020;
SQLDMODBStat_Recovering = $000000C0;
SQLDMODBStat_Suspect = $00000100;
SQLDMODBStat_Offline = $00000200;
SQLDMODBStat_Inaccessible = $000003E0;
SQLDMODBStat_EmergencyMode = $00008000;
SQLDMODBStat_All = $000083E0;
// SQLDMO_COPYDATA_TYPE constants
type
SQLDMO_COPYDATA_TYPE = TOleEnum;
const
SQLDMOCopyData_False = $00000000;
SQLDMOCopyData_Replace = $00000001;
SQLDMOCopyData_Append = $00000002;
// SQLDMO_DATAFILE_TYPE constants
type
SQLDMO_DATAFILE_TYPE = TOleEnum;
const
SQLDMODataFile_CommaDelimitedChar = $00000001;
SQLDMODataFile_Default = $00000001;
SQLDMODataFile_TabDelimitedChar = $00000002;
SQLDMODataFile_SpecialDelimitedChar = $00000003;
SQLDMODataFile_NativeFormat = $00000004;
SQLDMODataFile_UseFormatFile = $00000005;
// SQLDMO_STATUSINFO_TYPE constants
type
SQLDMO_STATUSINFO_TYPE = TOleEnum;
const
SQLDMOStatInfo_Unknown = $00000000;
SQLDMOStatInfo_DatabaseStatus = $00000001;
SQLDMOStatInfo_DatabaseSpace = $00000002;
SQLDMOStatInfo_AutoVerifyConnection = $00000004;
SQLDMOStatInfo_All = $00000007;
// SQLDMO_SCRIPT_TYPE constants
type
SQLDMO_SCRIPT_TYPE = TOleEnum;
const
SQLDMOScript_Default = $00000004;
SQLDMOScript_Drops = $00000001;
SQLDMOScript_ObjectPermissions = $00000002;
SQLDMOScript_PrimaryObject = $00000004;
SQLDMOScript_ClusteredIndexes = $00000008;
SQLDMOScript_Triggers = $00000010;
SQLDMOScript_DatabasePermissions = $00000020;
SQLDMOScript_Permissions = $00000022;
SQLDMOScript_ToFileOnly = $00000040;
SQLDMOScript_Bindings = $00000080;
SQLDMOScript_AppendToFile = $00000100;
SQLDMOScript_NoDRI = $00000200;
SQLDMOScript_UDDTsToBaseType = $00000400;
SQLDMOScript_IncludeIfNotExists = $00001000;
SQLDMOScript_NonClusteredIndexes = $00002000;
SQLDMOScript_Indexes = $00012008;
SQLDMOScript_Aliases = $00004000;
SQLDMOScript_NoCommandTerm = $00008000;
SQLDMOScript_DRIIndexes = $00010000;
SQLDMOScript_IncludeHeaders = $00020000;
SQLDMOScript_OwnerQualify = $00040000;
SQLDMOScript_TimestampToBinary = $00080000;
SQLDMOScript_SortedData = $00100000;
SQLDMOScript_SortedDataReorg = $00200000;
SQLDMOScript_TransferDefault = $000670FF;
SQLDMOScript_DRI_NonClustered = $00400000;
SQLDMOScript_DRI_Clustered = $00800000;
SQLDMOScript_DRI_Checks = $01000000;
SQLDMOScript_DRI_Defaults = $02000000;
SQLDMOScript_DRI_UniqueKeys = $04000000;
SQLDMOScript_DRI_ForeignKeys = $08000000;
SQLDMOScript_DRI_PrimaryKey = $10000000;
SQLDMOScript_DRI_AllKeys = $1C000000;
SQLDMOScript_DRI_AllConstraints = $1F000000;
SQLDMOScript_DRI_All = $1FC00000;
SQLDMOScript_DRIWithNoCheck = $20000000;
SQLDMOScript_NoIdentity = $40000000;
SQLDMOScript_UseQuotedIdentifiers = $80000000;
// SQLDMO_SCRIPT2_TYPE constants
type
SQLDMO_SCRIPT2_TYPE = TOleEnum;
const
SQLDMOScript2_Default = $00000000;
SQLDMOScript2_AnsiPadding = $00000001;
SQLDMOScript2_AnsiFile = $00000002;
SQLDMOScript2_UnicodeFile = $00000004;
SQLDMOScript2_NonStop = $00000008;
SQLDMOScript2_NoFG = $00000010;
SQLDMOScript2_MarkTriggers = $00000020;
SQLDMOScript2_OnlyUserTriggers = $00000040;
SQLDMOScript2_EncryptPWD = $00000080;
SQLDMOScript2_SeparateXPs = $00000100;
// SQLDMO_XFRSCRIPTMODE_TYPE constants
type
SQLDMO_XFRSCRIPTMODE_TYPE = TOleEnum;
const
SQLDMOXfrFile_Default = $00000001;
SQLDMOXfrFile_SummaryFiles = $00000001;
SQLDMOXfrFile_SingleFile = $00000002;
SQLDMOXfrFile_SingleFilePerObject = $00000004;
// SQLDMO_DEPENDENCY_TYPE constants
type
SQLDMO_DEPENDENCY_TYPE = TOleEnum;
const
SQLDMODep_Parents = $00000000;
SQLDMODep_FullHierarchy = $00010000;
SQLDMODep_OrderDescending = $00020000;
SQLDMODep_Children = $00040000;
SQLDMODep_ReturnInputObject = $00080000;
SQLDMODep_FirstLevelOnly = $00100000;
SQLDMODep_DRIOnly = $00200000;
SQLDMODep_Valid = $003F0000;
// SQLDMO_OBJSORT_TYPE constants
type
SQLDMO_OBJSORT_TYPE = TOleEnum;
const
SQLDMOObjSort_Name = $00000000;
SQLDMOObjSort_Type = $00000001;
SQLDMOObjSort_Owner = $00000002;
SQLDMOObjSort_Date = $00000003;
// SQLDMO_SVCSTATUS_TYPE constants
type
SQLDMO_SVCSTATUS_TYPE = TOleEnum;
const
SQLDMOSvc_Unknown = $00000000;
SQLDMOSvc_Running = $00000001;
SQLDMOSvc_Paused = $00000002;
SQLDMOSvc_Stopped = $00000003;
SQLDMOSvc_Starting = $00000004;
SQLDMOSvc_Stopping = $00000005;
SQLDMOSvc_Continuing = $00000006;
SQLDMOSvc_Pausing = $00000007;
// SQLDMO_SRVOPTION_TYPE constants
type
SQLDMO_SRVOPTION_TYPE = TOleEnum;
const
SQLDMOSrvOpt_Unknown = $00000000;
SQLDMOSrvOpt_RPC = $00000001;
SQLDMOSrvOpt_Publisher = $00000002;
SQLDMOSrvOpt_Subscriber = $00000004;
SQLDMOSrvOpt_Distributor = $00000008;
SQLDMOSrvOpt_DistPublisher = $00000010;
SQLDMOSrvOpt_RPC_out = $00000040;
SQLDMOSrvOpt_DataAccess = $00000080;
SQLDMOSrvOpt_CollationCompatible = $00000100;
SQLDMOSrvOpt_NonTransacted = $00000200;
SQLDMOSrvOpt_InProcess = $00000400;
SQLDMOSrvOpt_IndexAsAccessPath = $00000800;
SQLDMOSrvOpt_LevelZeroOnly = $00001000;
SQLDMOSrvOpt_NestedQueries = $00002000;
SQLDMOSrvOpt_DynamicParameters = $00004000;
// SQLDMO_TABLEATT_TYPE constants
type
SQLDMO_TABLEATT_TYPE = TOleEnum;
const
SQLDMOTabAtt_Identity = $00000001;
SQLDMOTabAtt_SystemObject = $00000002;
SQLDMOTabAtt_ForeignKey = $00000004;
SQLDMOTabAtt_Referenced = $00000008;
SQLDMOTabAtt_Published = $00000020;
SQLDMOTabAtt_Replicated = $00000040;
SQLDMOTabAtt_Check = $00000080;
SQLDMOTabAtt_Replica = $00000100;
SQLDMOTabAtt_PrimaryKey = $00000200;
SQLDMOTabAtt_Unique = $00000400;
SQLDMOTabAtt_Default = $00000800;
SQLDMOTabAtt_ReplCheck = $00001000;
SQLDMOTabAtt_HasConstraint = $00001C84;
// SQLDMO_INTSECLOGIN_TYPE constants
type
SQLDMO_INTSECLOGIN_TYPE = TOleEnum;
const
SQLDMOIntSecLogin_Unknown = $00000000;
SQLDMOIntSecLogin_Min = $00000001;
SQLDMOIntSecLogin_Admin = $00000001;
SQLDMOIntSecLogin_User = $00000002;
SQLDMOIntSecLogin_Replication = $00000003;
SQLDMOIntSecLogin_Max = $00000003;
// SQLDMO_VERIFYCONN_TYPE constants
type
SQLDMO_VERIFYCONN_TYPE = TOleEnum;
const
SQLDMOConn_LastState = $00000001;
SQLDMOConn_CurrentState = $00000002;
SQLDMOConn_ReconnectIfDead = $00000006;
SQLDMOConn_Valid = $00000007;
// SQLDMO_EXEC_TYPE constants
type
SQLDMO_EXEC_TYPE = TOleEnum;
const
SQLDMOExec_Default = $00000000;
SQLDMOExec_NoCommandTerm = $00000001;
SQLDMOExec_ContinueOnError = $00000002;
SQLDMOExec_NoExec = $00000004;
SQLDMOExec_ParseOnly = $00000008;
SQLDMOExec_QI_ON = $00000010;
// SQLDMO_CONFIGVALUE_TYPE constants
type
SQLDMO_CONFIGVALUE_TYPE = TOleEnum;
const
SQLDMOConfig_RecoveryInterval = $00000065;
SQLDMOConfig_AllowUpdates = $00000066;
SQLDMOConfig_UserConnections = $00000067;
SQLDMOConfig_Locks = $0000006A;
SQLDMOConfig_OpenObjects = $0000006B;
SQLDMOConfig_FillFactor = $0000006D;
SQLDMOConfig_NestedTriggers = $00000073;
SQLDMOConfig_RemoteAccess = $00000075;
SQLDMOConfig_DefaultLanguage = $0000007C;
SQLDMOConfig_LanguageInCache = $0000007D;
SQLDMOConfig_MaxAsyncIO = $000001F6;
SQLDMOConfig_MaxWorkerThreads = $000001F7;
SQLDMOConfig_NetworkPacketSize = $000001F9;
SQLDMOConfig_ShowAdvancedOption = $00000206;
SQLDMOConfig_RemoteProcTrans = $0000021E;
SQLDMOConfig_RemoteConnTimeout = $0000021F;
SQLDMOConfig_TimeSlice = $00000456;
SQLDMOConfig_DefaultSortorderId = $00000463;
SQLDMOConfig_SpinCounter = $000005EA;
SQLDMOConfig_PriorityBoost = $000005ED;
SQLDMOConfig_RemoteLoginTimeout = $000005EF;
SQLDMOConfig_RemoteQueryTimeout = $000005F0;
SQLDMOConfig_CursorThreshold = $000005FB;
SQLDMOConfig_SetWorkingSetSize = $000005FC;
SQLDMOConfig_ResourceTimeout = $000005FD;
SQLDMOConfig_UserOptions = $000005FE;
SQLDMOConfig_ProcessorAffinityMask = $000005FF;
SQLDMOConfig_MaxTextReplSize = $00000600;
SQLDMOConfig_UnicodeLocalID = $00000464;
SQLDMOConfig_UnicodeComparisonStyle = $00000465;
SQLDMOConfig_IndexCreateMem = $000005E1;
SQLDMOConfig_MediaRetention = $00000601;
SQLDMOConfig_CostThresholdForParallelism = $00000602;
SQLDMOConfig_MaxDegreeOfParallelism = $00000603;
SQLDMOConfig_MimMemoryPerQuery = $00000604;
SQLDMOConfig_MaxQueryWait = $00000605;
SQLDMOConfig_VLMSize = $00000606;
SQLDMOConfig_MinMemory = $00000607;
SQLDMOConfig_MaxMemory = $00000608;
SQLDMOConfig_QueryMaxTime = $00000609;
SQLDMOConfig_LightweightPooling = $0000060A;
// SQLDMO_SRVUSERPROFILE_TYPE constants
type
SQLDMO_SRVUSERPROFILE_TYPE = TOleEnum;
const
SQLDMOSrvUserProf_None = $00000000;
SQLDMOSrvUserProf_SaLogin = $00000001;
SQLDMOSrvUserProf_CreateDatabase = $00000002;
SQLDMOSrvUserProf_CreateXP = $00000004;
SQLDMOSrvUserProf_AllProfileBits = $00000007;
// SQLDMO_DBUSERPROFILE_TYPE constants
type
SQLDMO_DBUSERPROFILE_TYPE = TOleEnum;
const
SQLDMODbUserProf_None = $00000000;
SQLDMODbUserProf_DboLogin = $00000001;
SQLDMODbUserProf_CreateTable = $00000002;
SQLDMODbUserProf_CreateView = $00000004;
SQLDMODbUserProf_CreateProcedure = $00000008;
SQLDMODbUserProf_DumpDatabase = $00000010;
SQLDMODbUserProf_CreateDefault = $00000020;
SQLDMODbUserProf_DumpTransaction = $00000040;
SQLDMODbUserProf_CreateRule = $00000080;
SQLDMODbUserProf_DumpTable = $00000100;
SQLDMODbUserProf_AllProfileBits = $000001FF;
SQLDMODbUserProf_InvalidLogin = $40000000;
SQLDMODbUserProf_InaccessibleDb = $80000000;
SQLDMODbUserProf_DbNotAvailable = $C0000000;
// SQLDMO_OS_TYPE constants
type
SQLDMO_OS_TYPE = TOleEnum;
const
SQLDMO_WIN95 = $00000001;
SQLDMO_WINNT = $00000002;
// SQLDMO_PACKAGE_TYPE constants
type
SQLDMO_PACKAGE_TYPE = TOleEnum;
const
SQLDMO_Unknown = $00000000;
SQLDMO_DESKTOP = $00000001;
SQLDMO_STANDARD = $00000002;
SQLDMO_ENTERPRISE = $00000003;
// SQLDMO_CONSTANTS_TYPE constants
type
SQLDMO_CONSTANTS_TYPE = TOleEnum;
const
SQLDMO_NOENDDATE = $05F5BEBF;
SQLDMO_NOENDTIME = $000399B7;
SQLDMO_USEEXISTINGFILLFACTOR = $00000000;
// SQLDMO_LOGIN_TYPE constants
type
SQLDMO_LOGIN_TYPE = TOleEnum;
const
SQLDMOLogin_NTUser = $00000000;
SQLDMOLogin_NTGroup = $00000001;
SQLDMOLogin_Standard = $00000002;
// SQLDMO_ROLE_TYPE constants
type
SQLDMO_ROLE_TYPE = TOleEnum;
const
SQLDMORole_Server = $00000001;
SQLDMORole_Database = $00000002;
SQLDMORole_All = $00000003;
// SQLDMO_GRANTED_TYPE constants
type
SQLDMO_GRANTED_TYPE = TOleEnum;
const
SQLDMOGranted_GrantGrant = $000000CC;
SQLDMOGranted_Grant = $000000CD;
SQLDMOGranted_Deny = $000000CE;
// SQLDMO_BACKUP_LOG_TYPE constants
type
SQLDMO_BACKUP_LOG_TYPE = TOleEnum;
const
SQLDMOBackup_Log_NoTruncate = $00000000;
SQLDMOBackup_Log_Truncate = $00000001;
SQLDMOBackup_Log_TruncateNoLog = $00000002;
// SQLDMO_BACKUP_TYPE constants
type
SQLDMO_BACKUP_TYPE = TOleEnum;
const
SQLDMOBackup_Database = $00000000;
SQLDMOBackup_Incremental = $00000001;
SQLDMOBackup_Files = $00000002;
SQLDMOBackup_Log = $00000003;
// SQLDMO_RESTORE_TYPE constants
type
SQLDMO_RESTORE_TYPE = TOleEnum;
const
SQLDMORestore_Database = $00000000;
SQLDMORestore_Files = $00000001;
SQLDMORestore_Log = $00000002;
// SQLDMO_DBUSERROLE_TYPE constants
type
SQLDMO_DBUSERROLE_TYPE = TOleEnum;
const
SQLDMORole_db_None = $00000000;
SQLDMORole_dbcreator = $00000001;
SQLDMORole_diskadmin = $00000002;
SQLDMORole_processadmin = $00000004;
SQLDMORole_securityadmin = $00000008;
SQLDMORole_serveradmin = $00000010;
SQLDMORole_setupadmin = $00000020;
SQLDMORole_sysadmin = $00000040;
SQLDMORole_db_accessadmin = $00000080;
SQLDMORole_db_datareader = $00000100;
SQLDMORole_db_ddladmin = $00000200;
SQLDMORole_db_denydatareader = $00000400;
SQLDMORole_db_denydatawriter = $00000800;
SQLDMORole_db_backupoperator = $00001000;
SQLDMORole_db_owner = $00002000;
SQLDMORole_db_securityadmin = $00004000;
SQLDMORole_db_datawriter = $00008000;
// SQLDMO_GROWTH_TYPE constants
type
SQLDMO_GROWTH_TYPE = TOleEnum;
const
SQLDMOGrowth_MB = $00000000;
SQLDMOGrowth_Percent = $00000001;
SQLDMOGrowth_Invalid = $00000063;
// SQLDMO_STAT_SCAN_TYPE constants
type
SQLDMO_STAT_SCAN_TYPE = TOleEnum;
const
SQLDMOStatistic_Sample = $00000000;
SQLDMOStatistic_Percent = $00000001;
SQLDMOStatistic_Rows = $00000002;
SQLDMOStatistic_FullScan = $00000003;
// SQLDMO_STAT_AFFECT_TYPE constants
type
SQLDMO_STAT_AFFECT_TYPE = TOleEnum;
const
SQLDMOStatistic_AffectIndex = $00000000;
SQLDMOStatistic_AffectColumn = $00000001;
SQLDMOStatistic_AffectAll = $00000002;
// SQLDMO_FULLTEXTSTATUS_TYPE constants
type
SQLDMO_FULLTEXTSTATUS_TYPE = TOleEnum;
const
SQLDMOFullText_Idle = $00000000;
SQLDMOFullText_CrawlinProgress = $00000001;
SQLDMOFullText_Paused = $00000002;
SQLDMOFullText_Throttled = $00000003;
SQLDMOFullText_Recovering = $00000004;
SQLDMOFullText_Shutdown = $00000005;
SQLDMOFullText_Incremental = $00000006;
SQLDMOFullText_UpdatingIndex = $00000007;
// SQLDMO_FULLTEXT_START_TYPE constants
type
SQLDMO_FULLTEXT_START_TYPE = TOleEnum;
const
SQLDMOFullText_Full = $00000000;
SQLDMOFullText_Inc = $00000001;
// SQLDMO_LINKEDTABLE_TYPE constants
type
SQLDMO_LINKEDTABLE_TYPE = TOleEnum;
const
SQLDMOLinkedTable_Default = $00000000;
SQLDMOLinkedTable_Alias = $00000001;
SQLDMOLinkedTable_GlobalTemporary = $00000002;
SQLDMOLinkedTable_LocalTemporary = $00000003;
SQLDMOLinkedTable_SystemTable = $00000004;
SQLDMOLinkedTable_Table = $00000005;
SQLDMOLinkedTable_View = $00000006;
// SQLDMO_SQL_VER constants
type
SQLDMO_SQL_VER = TOleEnum;
const
SQLDMOSQLVer_Unknown = $00000000;
SQLDMOSQLVer_Pre_60 = $00000001;
SQLDMOSQLVer_60 = $00000002;
SQLDMOSQLVer_65 = $00000004;
SQLDMOSQLVer_70 = $00000008;
// SQLDMO_DBCC_REPAIR_TYPE constants
type
SQLDMO_DBCC_REPAIR_TYPE = TOleEnum;
const
SQLDMORepair_None = $00000000;
SQLDMORepair_Fast = $00000001;
SQLDMORepair_Rebuild = $00000002;
SQLDMORepair_Allow_DataLoss = $00000003;
// SQLDMO_BCP_CODEPAGE_TYPE constants
type
SQLDMO_BCP_CODEPAGE_TYPE = TOleEnum;
const
SQLDMOBCP_RAW = $FFFFFFFF;
SQLDMOBCP_ACP = $00000000;
SQLDMOBCP_OEM = $00000001;
SQLDMOBCP_User = $00000002;
// SQLDMO_SERVERBCP_DATAFILE_TYPE constants
type
SQLDMO_SERVERBCP_DATAFILE_TYPE = TOleEnum;
const
SQLDMOBCPDataFile_Char = $00000001;
SQLDMOBCPDataFile_Default = $00000001;
SQLDMOBCPDataFile_Native = $00000002;
SQLDMOBCPDataFile_WideChar = $00000004;
SQLDMOBCPDataFile_WideNative = $00000008;
// SQLDMO_COMP_LEVEL_TYPE constants
type
SQLDMO_COMP_LEVEL_TYPE = TOleEnum;
const
SQLDMOCompLevel_70 = $00000001;
SQLDMOCompLevel_65 = $00000002;
SQLDMOCompLevel_60 = $00000003;
SQLDMOCompLevel_Unknown = $00000009;
// SQLDMO_SUBSCRIBER_TYPE constants
type
SQLDMO_SUBSCRIBER_TYPE = TOleEnum;
const
SQLDMOSubInfo_SQLServer = $00000000;
SQLDMOSubInfo_ODBCDatasource = $00000001;
SQLDMOSubInfo_JetDatabase = $00000002;
SQLDMOSubInfo_OLEDBDatasource = $00000003;
// SQLDMO_INITIALSYNC_TYPE constants
type
SQLDMO_INITIALSYNC_TYPE = TOleEnum;
const
SQLDMOInitSync_Unknown = $0000000A;
SQLDMOInitSync_Min = $00000000;
SQLDMOInitSync_Default = $00000000;
SQLDMOInitSync_BCPNative = $00000000;
SQLDMOInitSync_BCPChar = $00000001;
SQLDMOInitSync_Max = $00000001;
// SQLDMO_REPFREQ_TYPE constants
type
SQLDMO_REPFREQ_TYPE = TOleEnum;
const
SQLDMORepFreq_Unknown = $000003E8;
SQLDMORepFreq_Min = $00000000;
SQLDMORepFreq_Continuous = $00000000;
SQLDMORepFreq_Snapshot = $00000001;
SQLDMORepFreq_Max = $00000001;
// SQLDMO_PUBLICATION_TYPE constants
type
SQLDMO_PUBLICATION_TYPE = TOleEnum;
const
SQLDMOPublication_Unknown = $000003E8;
SQLDMOPublication_Min = $00000000;
SQLDMOPublication_Transactional = $00000000;
SQLDMOPublication_Snapshot = $00000001;
SQLDMOPublication_Merge = $00000002;
SQLDMOPublication_Max = $00000001;
// SQLDMO_ARTICLE_TYPE constants
type
SQLDMO_ARTICLE_TYPE = TOleEnum;
const
SQLDMORep_Min = $00000000;
SQLDMORep_LogBased = $00000001;
SQLDMORep_ManualFilterProc = $00000002;
SQLDMORep_LogBasedManualFilterProc = $00000003;
SQLDMORep_ManualSyncView = $00000004;
SQLDMORep_LogBasedManualSyncView = $00000005;
SQLDMORep_LogBasedVerticalPartition = $00000006;
SQLDMORep_LogBasedManualBoth = $00000007;
SQLDMORep_ProcExecution = $00000008;
SQLDMORep_SerializableProcExecution = $00000018;
SQLDMORep_TableBased = $0000000A;
SQLDMORep_Max = $00000018;
// SQLDMO_SUBSYNC_TYPE constants
type
SQLDMO_SUBSYNC_TYPE = TOleEnum;
const
SQLDMOSubSync_Unknown = $000003E8;
SQLDMOSubSync_Manual = $00000000;
SQLDMOSubSync_Min = $00000001;
SQLDMOSubSync_Auto = $00000001;
SQLDMOSubSync_Default = $00000001;
SQLDMOSubSync_None = $00000002;
SQLDMOSubSync_Max = $00000002;
// SQLDMO_PREARTICLE_TYPE constants
type
SQLDMO_PREARTICLE_TYPE = TOleEnum;
const
SQLDMOPreArt_Min = $00000000;
SQLDMOPreArt_None = $00000000;
SQLDMOPreArt_DropTable = $00000001;
SQLDMOPreArt_DeleteRows = $00000002;
SQLDMOPreArt_TruncateTable = $00000003;
SQLDMOPreArt_Max = $00000003;
// SQLDMO_ARTSTATUS_TYPE constants
type
SQLDMO_ARTSTATUS_TYPE = TOleEnum;
const
SQLDMOArtStat_Min = $00000000;
SQLDMOArtStat_Inactive = $00000000;
SQLDMOArtStat_Unsynced = $00000001;
SQLDMOArtStat_Active = $00000002;
SQLDMOArtStat_Conflicts = $00000003;
SQLDMOArtStat_Errors = $00000004;
SQLDMOArtStat_Max = $00000004;
// SQLDMO_SUBSTATUS_TYPE constants
type
SQLDMO_SUBSTATUS_TYPE = TOleEnum;
const
SQLDMOSubStat_Unknown = $000003E8;
SQLDMOSubStat_Default = $000003E8;
SQLDMOSubStat_Min = $00000000;
SQLDMOSubStat_Inactive = $00000000;
SQLDMOSubStat_Unsynced = $00000001;
SQLDMOSubStat_Active = $00000002;
SQLDMOSubStat_Max = $00000002;
// SQLDMO_PUBSTATUS_TYPE constants
type
SQLDMO_PUBSTATUS_TYPE = TOleEnum;
const
SQLDMOPubStat_Unknown = $000003E8;
SQLDMOPubStat_Default = $000003E8;
SQLDMOPubStat_Min = $00000000;
SQLDMOPubStat_Inactive = $00000000;
SQLDMOPubStat_Active = $00000001;
SQLDMOPubStat_Max = $00000001;
// SQLDMO_REPLICATION_TYPE constants
type
SQLDMO_REPLICATION_TYPE = TOleEnum;
const
SQLDMORepType_Unknown = $00000100;
SQLDMORepType_Transactional = $00000001;
SQLDMORepType_Merge = $00000002;
SQLDMORepType_TransactionalMerge = $00000003;
SQLDMORepType_Default = $00000001;
// SQLDMO_RESOLVECONFLICT_TYPE constants
type
SQLDMO_RESOLVECONFLICT_TYPE = TOleEnum;
const
SQLDMOResolveConflict_Unknown = $00000100;
SQLDMOResolveConflict_Resubmit = $00000001;
SQLDMOResolveConflict_Discard = $00000002;
SQLDMOResolveConflict_Default = $00000001;
// SQLDMO_TRANSUBSCRIBER_TYPE constants
type
SQLDMO_TRANSUBSCRIBER_TYPE = TOleEnum;
const
SQLDMOTranSubscriber_Unknown = $00000100;
SQLDMOTranSubscriber_Min = $00000000;
SQLDMOTranSubscriber_ReadOnly = $00000000;
SQLDMOTranSubscriber_Synchronous = $00000001;
SQLDMOTranSubscriber_Default = $00000000;
SQLDMOTranSubscriber_Max = $00000001;
// SQLDMO_MERGESUBSCRIBER_TYPE constants
type
SQLDMO_MERGESUBSCRIBER_TYPE = TOleEnum;
const
SQLDMOMergeSubscriber_Unknown = $00000100;
SQLDMOMergeSubscriber_Min = $00000001;
SQLDMOMergeSubscriber_Global = $00000001;
SQLDMOMergeSubscriber_Local = $00000002;
SQLDMOMergeSubscriber_Anonymous = $00000003;
SQLDMOMergeSubscriber_Republishing = $00000004;
SQLDMOMergeSubscriber_Default = $00000002;
SQLDMOMergeSubscriber_Max = $00000004;
// SQLDMO_REPSCRIPT_TYPE constants
type
SQLDMO_REPSCRIPT_TYPE = TOleEnum;
const
SQLDMORepScript_Default = $00000100;
SQLDMORepScript_NoSubscription = $00000080;
SQLDMORepScript_InstallDistributor = $00000100;
SQLDMORepScript_UninstallDistributor = $00000200;
SQLDMORepScript_InstallPublisher = $00000400;
SQLDMORepScript_UninstallPublisher = $00000800;
SQLDMORepScript_ToFileOnly = $00001000;
SQLDMORepScript_AppendToFile = $00002000;
SQLDMORepScript_Creation = $00004000;
SQLDMORepScript_Deletion = $00008000;
SQLDMORepScript_PublicationCreation = $00010000;
SQLDMORepScript_PublicationDeletion = $00020000;
SQLDMORepScript_SubscriptionCreation = $00040000;
SQLDMORepScript_SubscriptionDeletion = $00080000;
SQLDMORepScript_InstallReplication = $00100000;
SQLDMORepScript_UninstallReplication = $00200000;
SQLDMORepScript_EnableReplication = $00400000;
SQLDMORepScript_DisableReplication = $00800000;
SQLDMORepScript_AnsiFile = $01000000;
SQLDMORepScript_UnicodeFile = $02000000;
SQLDMORepScript_EnableReplicationDB = $04000000;
SQLDMORepScript_DisableReplicationDB = $08000000;
SQLDMORepScript_NoCommandTerm = $10000000;
// SQLDMO_CREATIONSCRIPT_TYPE constants
type
SQLDMO_CREATIONSCRIPT_TYPE = TOleEnum;
const
SQLDMOCreationScript_DisableScripting = $00000000;
SQLDMOCreationScript_PrimaryObject = $00000001;
SQLDMOCreationScript_CustomProcs = $00000002;
SQLDMOCreationScript_ClusteredIndexes = $00000010;
SQLDMOCreationScript_UDDTsToBaseTypes = $00000020;
SQLDMOCreationScript_NonClusteredIndexes = $00000040;
SQLDMOCreationScript_DRI_PrimaryKey = $00000080;
// SQLDMO_COMMANDOPTION_TYPE constants
type
SQLDMO_COMMANDOPTION_TYPE = TOleEnum;
const
SQLDMOCommandOption_IncludeInsertColumnNames = $00000008;
SQLDMOCommandOption_BinaryParameters = $00000010;
// SQLDMO_SUBSCRIPTION_TYPE constants
type
SQLDMO_SUBSCRIPTION_TYPE = TOleEnum;
const
SQLDMOSubscription_Unknown = $00000100;
SQLDMOSubscription_Min = $00000000;
SQLDMOSubscription_Push = $00000000;
SQLDMOSubscription_Pull = $00000001;
SQLDMOSubscription_Anonymous = $00000002;
SQLDMOSubscription_All = $00000003;
SQLDMOSubscription_Default = $00000000;
SQLDMOSubscription_Max = $00000002;
// SQLDMO_PUBATTRIB_TYPE constants
type
SQLDMO_PUBATTRIB_TYPE = TOleEnum;
const
SQLDMOPubAttrib_Unknown = $00000100;
SQLDMOPubAttrib_Min = $00000000;
SQLDMOPubAttrib_AllowPush = $00000001;
SQLDMOPubAttrib_AllowPull = $00000002;
SQLDMOPubAttrib_AllowAnonymous = $00000004;
SQLDMOPubAttrib_InternetEnabled = $00000008;
SQLDMOPubAttrib_ImmediateSync = $00000010;
SQLDMOPubAttrib_IndependentAgent = $00000020;
SQLDMOPubAttrib_Default = $00000001;
SQLDMOPubAttrib_Valid = $0000003F;
// SQLDMO_TASKSTATUS_TYPE constants
type
SQLDMO_TASKSTATUS_TYPE = TOleEnum;
const
SQLDMOTask_Pending = $00000000;
SQLDMOTask_Starting = $00000001;
SQLDMOTask_Succeeded = $00000002;
SQLDMOTask_Running = $00000003;
SQLDMOTask_Idle = $00000004;
SQLDMOTask_Retry = $00000005;
SQLDMOTask_Failed = $00000006;
// SQLDMO_SESSION_TYPE constants
type
SQLDMO_SESSION_TYPE = TOleEnum;
const
SQLDMOSession_Unknown = $00000100;
SQLDMOSession_All = $00000001;
SQLDMOSession_Errors = $00000002;
// SQLDMO_REPLAGENT_TYPE constants
type
SQLDMO_REPLAGENT_TYPE = TOleEnum;
const
SQLDMOReplAgent_Default = $00000000;
SQLDMOReplAgent_All = $00000000;
SQLDMOReplAgent_Snapshot = $00000001;
SQLDMOReplAgent_LogReader = $00000002;
SQLDMOReplAgent_Distribution = $00000003;
SQLDMOReplAgent_Merge = $00000004;
// SQLDMO_REPLSECURITY_TYPE constants
type
SQLDMO_REPLSECURITY_TYPE = TOleEnum;
const
SQLDMOReplSecurity_Min = $00000000;
SQLDMOReplSecurity_Normal = $00000000;
SQLDMOReplSecurity_Integrated = $00000001;
SQLDMOReplSecurity_PredefinedServer = $00000002;
SQLDMOReplSecurity_Max = $00000002;
// SQLDMO_REPLCONSTANTS_TYPE constants
type
SQLDMO_REPLCONSTANTS_TYPE = TOleEnum;
const
SQLDMO_DEFAULTRETENTION = $0000003C;
// SQLDMO_COMPLETION_TYPE constants
type
SQLDMO_COMPLETION_TYPE = TOleEnum;
const
SQLDMOComp_Unknown = $00001000;
SQLDMOComp_None = $00000000;
SQLDMOComp_Success = $00000001;
SQLDMOComp_Failure = $00000002;
SQLDMOComp_Always = $00000003;
SQLDMOComp_All = $00000006;
// SQLDMO_JOBOUTCOME_TYPE constants
type
SQLDMO_JOBOUTCOME_TYPE = TOleEnum;
const
SQLDMOJobOutcome_Failed = $00000000;
SQLDMOJobOutcome_Succeeded = $00000001;
SQLDMOJobOutcome_Cancelled = $00000003;
SQLDMOJobOutcome_InProgress = $00000004;
SQLDMOJobOutcome_Unknown = $00000005;
// SQLDMO_EVENT_TYPE constants
type
SQLDMO_EVENT_TYPE = TOleEnum;
const
SQLDMOEvent_Unknown = $00000000;
SQLDMOEvent_Info = $00000001;
SQLDMOEvent_Warning = $00000002;
SQLDMOEvent_Error = $00000004;
SQLDMOEvent_AuditSuccess = $00000008;
SQLDMOEvent_AuditFailure = $00000010;
SQLDMOEvent_All = $0000001F;
// SQLDMO_FREQUENCY_TYPE constants
type
SQLDMO_FREQUENCY_TYPE = TOleEnum;
const
SQLDMOFreq_Unknown = $00000000;
SQLDMOFreq_OneTime = $00000001;
SQLDMOFreq_Daily = $00000004;
SQLDMOFreq_Weekly = $00000008;
SQLDMOFreq_Monthly = $00000010;
SQLDMOFreq_MonthlyRelative = $00000020;
SQLDMOFreq_Autostart = $00000040;
SQLDMOFreq_OnIdle = $00000080;
SQLDMOFreq_Valid = $000000FF;
// SQLDMO_FREQSUB_TYPE constants
type
SQLDMO_FREQSUB_TYPE = TOleEnum;
const
SQLDMOFreqSub_Unknown = $00000000;
SQLDMOFreqSub_Once = $00000001;
SQLDMOFreqSub_Minute = $00000004;
SQLDMOFreqSub_Hour = $00000008;
SQLDMOFreqSub_Valid = $0000000D;
// SQLDMO_FREQRELATIVE_TYPE constants
type
SQLDMO_FREQRELATIVE_TYPE = TOleEnum;
const
SQLDMOFreqRel_Unknown = $00000000;
SQLDMOFreqRel_First = $00000001;
SQLDMOFreqRel_Second = $00000002;
SQLDMOFreqRel_Third = $00000004;
SQLDMOFreqRel_Fourth = $00000008;
SQLDMOFreqRel_Last = $00000010;
SQLDMOFreqRel_Valid = $0000001F;
// SQLDMO_WEEKDAY_TYPE constants
type
SQLDMO_WEEKDAY_TYPE = TOleEnum;
const
SQLDMOWeek_Unknown = $00000000;
SQLDMOWeek_Sunday = $00000001;
SQLDMOWeek_Monday = $00000002;
SQLDMOWeek_Tuesday = $00000004;
SQLDMOWeek_Wednesday = $00000008;
SQLDMOWeek_Thursday = $00000010;
SQLDMOWeek_Friday = $00000020;
SQLDMOWeek_Saturday = $00000040;
SQLDMOWeek_WeekDays = $0000003E;
SQLDMOWeek_WeekEnds = $00000041;
SQLDMOWeek_EveryDay = $0000007F;
// SQLDMO_MONTHDAY_TYPE constants
type
SQLDMO_MONTHDAY_TYPE = TOleEnum;
const
SQLDMOMonth_Unknown = $00000000;
SQLDMOMonth_MinValid = $00000001;
SQLDMOMonth_Sunday = $00000001;
SQLDMOMonth_Monday = $00000002;
SQLDMOMonth_Tuesday = $00000003;
SQLDMOMonth_Wednesday = $00000004;
SQLDMOMonth_Thursday = $00000005;
SQLDMOMonth_Friday = $00000006;
SQLDMOMonth_Saturday = $00000007;
SQLDMOMonth_Day = $00000008;
SQLDMOMonth_WeekDay = $00000009;
SQLDMOMonth_WeekEndDay = $0000000A;
SQLDMOMonth_MaxValid = $0000000A;
// SQLDMO_RUNPRIORITY_TYPE constants
type
SQLDMO_RUNPRIORITY_TYPE = TOleEnum;
const
SQLDMORunPri_Unknown = $00000064;
SQLDMORunPri_Min = $00000001;
SQLDMORunPri_Idle = $FFFFFFF1;
SQLDMORunPri_Lowest = $FFFFFFFE;
SQLDMORunPri_BelowNormal = $FFFFFFFF;
SQLDMORunPri_Normal = $00000000;
SQLDMORunPri_AboveNormal = $00000001;
SQLDMORunPri_Highest = $00000002;
SQLDMORunPri_TimeCritical = $0000000F;
// SQLDMO_NOTIFY_TYPE constants
type
SQLDMO_NOTIFY_TYPE = TOleEnum;
const
SQLDMONotify_None = $00000000;
SQLDMONotify_Email = $00000001;
SQLDMONotify_Pager = $00000002;
SQLDMONotify_NetSend = $00000004;
SQLDMONotify_All = $00000007;
// SQLDMO_ENUMNOTIFY_TYPE constants
type
SQLDMO_ENUMNOTIFY_TYPE = TOleEnum;
const
SQLDMOEnumNotify_Min = $00000001;
SQLDMOEnumNotify_All = $00000001;
SQLDMOEnumNotify_Actual = $00000002;
SQLDMOEnumNotify_Target = $00000003;
SQLDMOEnumNotify_Max = $00000003;
// SQLDMO_JOBEXECUTION_STATUS constants
type
SQLDMO_JOBEXECUTION_STATUS = TOleEnum;
const
SQLDMOJobExecution_Unknown = $00000000;
SQLDMOJobExecution_Executing = $00000001;
SQLDMOJobExecution_WaitingForWorkerThread = $00000002;
SQLDMOJobExecution_BetweenRetries = $00000003;
SQLDMOJobExecution_Idle = $00000004;
SQLDMOJobExecution_Suspended = $00000005;
SQLDMOJobExecution_WaitingForStepToFinish = $00000006;
SQLDMOJobExecution_PerformingCompletionActions = $00000007;
// SQLDMO_FIND_OPERAND constants
type
SQLDMO_FIND_OPERAND = TOleEnum;
const
SQLDMOFindOperand_Unknown = $00000000;
SQLDMOFindOperand_EqualTo = $00000001;
SQLDMOFindOperand_GreaterThan = $00000002;
SQLDMOFindOperand_LessThan = $00000003;
// SQLDMO_JOBSTEPACTION_TYPE constants
type
SQLDMO_JOBSTEPACTION_TYPE = TOleEnum;
const
SQLDMOJobStepAction_Unknown = $00000000;
SQLDMOJobStepAction_QuitWithSuccess = $00000001;
SQLDMOJobStepAction_QuitWithFailure = $00000002;
SQLDMOJobStepAction_GotoNextStep = $00000003;
SQLDMOJobStepAction_GotoStep = $00000004;
// SQLDMO_CATEgoryTYPE_TYPE constants
type
SQLDMO_CATEgoryTYPE_TYPE = TOleEnum;
const
SQLDMOCategoryType_Unknown = $00000000;
SQLDMOCategoryType_LocalJob = $00000001;
SQLDMOCategoryType_MultiServerJob = $00000002;
SQLDMOCategoryType_None = $00000003;
// SQLDMO_TARGETSERVERSTATUS_TYPE constants
type
SQLDMO_TARGETSERVERSTATUS_TYPE = TOleEnum;
const
SQLDMOTargetServerStatus_Unknown = $00000000;
SQLDMOTargetServerStatus_Normal = $00000001;
SQLDMOTargetServerStatus_SuspectedOffline = $00000002;
// SQLDMO_JOB_TYPE constants
type
SQLDMO_JOB_TYPE = TOleEnum;
const
SQLDMOJob_Unknown = $00000000;
SQLDMOJob_Local = $00000001;
SQLDMOJob_MultiServer = $00000002;
// SQLDMO_JOBSERVER_TYPE constants
type
SQLDMO_JOBSERVER_TYPE = TOleEnum;
const
SQLDMOJobServer_StandAlone = $00000001;
SQLDMOJobServer_TSX = $00000002;
SQLDMOJobServer_MSX = $00000003;
SQLDMOJobServer_Unknown = $00000000;
// SQLDMO_ALERT_TYPE constants
type
SQLDMO_ALERT_TYPE = TOleEnum;
const
SQLDMOAlert_SQLServerEvent = $00000001;
SQLDMOAlert_SQLServerPerformanceCondition = $00000002;
SQLDMOAlert_NonSQLServerEvent = $00000003;
// SQLDMO_ERROR_TYPE constants
type
SQLDMO_ERROR_TYPE = TOleEnum;
const
SQLDMO_E_DBLIBFIRSTERROR = $00002710;
SQLDMO_E_DBLIBLASTERROR = $000027D8;
SQLDMO_E_FIRSTERROR = $00005000;
SQLDMO_ECAT_MASK = $00005F00;
SQLDMO_ECAT_INVALIDCONTEXT = $00005000;
SQLDMO_E_ALREADYCONN = $00005000;
SQLDMO_E_ALREADYCOLL = $00005001;
SQLDMO_E_NOTCONN = $00005002;
SQLDMO_E_CANTDROPSERVER = $00005003;
SQLDMO_E_NOCOMPLEXALTER = $00005004;
SQLDMO_E_PROPNEEDSCREATE = $00005005;
SQLDMO_E_COLTYPEFIXED = $00005006;
SQLDMO_E_COLTYPENONNULL = $00005007;
SQLDMO_E_CANTCHANGEUDDT = $00005008;
SQLDMO_E_BASETYPEFIXED = $00005009;
SQLDMO_E_BASETYPENONNULL = $0000500A;
SQLDMO_E_ENUMORDINAL = $0000500B;
SQLDMO_E_CANTRENAMEUSER = $0000500C;
SQLDMO_E_CANTRENAMEGROUP = $0000500D;
SQLDMO_E_CANTRENAMELOGIN = $0000500E;
SQLDMO_E_CANTRENAMEDEVICE = $0000500F;
SQLDMO_E_NOTDUMPPROP = $00005010;
SQLDMO_E_NOSERVERASSOC = $00005011;
SQLDMO_E_NOTCOLLTYPE = $00005012;
SQLDMO_E_CANTMODIFYDRIINDEX = $00005013;
SQLDMO_E_CANTCHANGEPROCTYPE = $00005014;
SQLDMO_E_CANTMODIFYINDEX = $00005015;
SQLDMO_E_INVALIDPRIVOBJ = $00005016;
SQLDMO_E_CANTCHANGETRIGTYPE = $00005017;
SQLDMO_E_NOVIEWCOLALTER = $00005018;
SQLDMO_E_CANTRENAMELANGUAGE = $00005019;
SQLDMO_E_CANTRENAMERSERVER = $0000501A;
SQLDMO_E_CANTRENAMERLOGIN = $0000501B;
SQLDMO_E_MUSTBEDBDEV = $0000501C;
SQLDMO_E_NOINACTIVEMIRROR = $0000501D;
SQLDMO_E_NOACTIVEMIRROR = $0000501E;
SQLDMO_E_NOMIRROR = $0000501F;
SQLDMO_E_SERVERDISCONNECTED = $00005020;
SQLDMO_E_CANTRENAMESERVER = $00005021;
SQLDMO_E_CANTMODIFYTEXT = $00005022;
SQLDMO_E_CANTMODIFYSYstabLE = $00005023;
SQLDMO_E_LOGINALREADYALIASED = $00005024;
SQLDMO_E_LOGINALREADYUSER = $00005025;
SQLDMO_E_CACHENORESULTS = $00005026;
SQLDMO_E_ALREADYCREATED = $00005027;
SQLDMO_E_NOTDISCONN = $00005028;
SQLDMO_E_CANTMODIFYARTTABLE = $00005029;
SQLDMO_E_PROPERTYCANNOTBEMODIFIED = $0000502A;
SQLDMO_E_BASETYPENOTNUMERIC = $0000502B;
SQLDMO_E_TOFILEBUTNOFILENAME = $0000502C;
SQLDMO_E_MUSTBEDISTSERVER = $0000502D;
SQLDMO_E_CANTMODIFYKEY = $0000502E;
SQLDMO_E_LISTCANTREFRESH = $0000502F;
SQLDMO_E_NOCOLTABLE = $00005030;
SQLDMO_E_MUSTBEINALTER = $00005031;
SQLDMO_E_CANTUNDEDICATELOGDEVICE = $00005032;
SQLDMO_E_CANTRENAMESERVERGROUP = $00005033;
SQLDMO_E_CANTRENAMEREGISTEREDSERVER = $00005034;
SQLDMO_E_INDEXREBUILDKEYTYPE = $00005035;
SQLDMO_E_REBUILDINDEXOPTIONS = $00005036;
SQLDMO_E_IMPERSONATEXPONLY = $00005037;
SQLDMO_E_CANTRENAMEPUBLICATION = $00005038;
SQLDMO_E_CANTMODIFYSPARTTYPE = $00005039;
SQLDMO_E_INVALIDDISTDB = $0000503A;
SQLDMO_E_CANTMODIFYTABLE = $0000503B;
SQLDMO_E_CANTDROPFILEGROUP = $0000503C;
SQLDMO_E_DEFAULTFILEGROUP = $0000503D;
SQLDMO_E_NOTDEFAULTFILEGROUP = $0000503E;
SQLDMO_E_CANTRESETLOGINTYPE = $0000503F;
SQLDMO_E_CANTRESETPASSWORD = $00005040;
SQLDMO_E_PRESQL70 = $00005041;
SQLDMO_E_PROPBEFORECREATE = $00005042;
SQLDMO_E_CANTRENAMEROLE = $00005043;
SQLDMO_E_CANTDROPFIXEDROLE = $00005044;
SQLDMO_E_CANTADDTOAPPROLE = $00005045;
SQLDMO_E_CANTGETROLE = $00005046;
SQLDMO_E_USERDBROLE = $00005047;
SQLDMO_E_FIXEDDBROLE = $00005048;
SQLDMO_E_CANTMODIFYFILTER = $00005049;
SQLDMO_E_INVALIDACTION = $0000504A;
SQLDMO_E_DBOPTION = $0000504B;
SQLDMO_E_USEALTER = $0000504C;
SQLDMO_E_CREATEDBPERM = $0000504D;
SQLDMO_E_CANTCHECKFK = $0000504E;
SQLDMO_E_NOTINMB = $0000504F;
SQLDMO_E_CANTRENAMELSERVER = $00005050;
SQLDMO_E_CANTRENAMELLOGIN = $00005051;
SQLDMO_E_CANTRENAMEFULLTEXT = $00005052;
SQLDMO_E_NOFULLTEXT = $00005053;
SQLDMO_E_ACTIVATEFULLTEXT = $00005054;
SQLDMO_E_NOTFULLTEXTENABLED = $00005055;
SQLDMO_E_CANTDROPLOGFILE = $00005056;
SQLDMO_E_CANTDROPLSLOGIN = $00005057;
SQLDMO_E_SCRIPTPWD = $00005058;
SQLDMO_E_DISTRIBUTORNOTINSTALLED = $00005059;
SQLDMO_E_INVALIDPROPDISTNOTLOCAL = $00005060;
SQLDMO_ECAT_INVALIDOBJECT = $00005100;
SQLDMO_E_OBJECTDROPPED = $00005100;
SQLDMO_E_NOTSQLDMOOBJECT = $00005101;
SQLDMO_E_OBJECTDETACHED = $00005102;
SQLDMO_E_SERVERCLOSED = $00005103;
SQLDMO_ECAT_INVALIDOBJECTDEFINITION = $00005200;
SQLDMO_E_NOCOLUMNSADDED = $00005200;
SQLDMO_E_COLUMNINCOMPLETE = $00005201;
SQLDMO_E_TABLEINCOMPLETE = $00005202;
SQLDMO_E_UDDTINCOMPLETE = $00005203;
SQLDMO_E_RULEINCOMPLETE = $00005204;
SQLDMO_E_DEFAULTINCOMPLETE = $00005205;
SQLDMO_E_VIEWINCOMPLETE = $00005206;
SQLDMO_E_USERINCOMPLETE = $00005207;
SQLDMO_E_GROUPINCOMPLETE = $00005208;
SQLDMO_E_PROCINCOMPLETE = $00005209;
SQLDMO_E_USERALREADYEXISTS = $0000520A;
SQLDMO_E_GROUPALREADYEXISTS = $0000520B;
SQLDMO_E_COLUMNALREADYEXISTS = $0000520C;
SQLDMO_E_OBJECTALREADYEXISTS = $0000520D;
SQLDMO_E_INDEXALREADYEXISTS = $0000520E;
SQLDMO_E_DBALREADYEXISTS = $0000520F;
SQLDMO_E_LOGINALREADYEXISTS = $00005210;
SQLDMO_E_DEVICEALREADYEXISTS = $00005211;
SQLDMO_E_SKIPONLYTAPE = $00005212;
SQLDMO_E_DEVICEINCOMPLETE = $00005213;
SQLDMO_E_PROCALREADYEXISTS = $00005214;
SQLDMO_E_UDDTALREADYEXISTS = $00005215;
SQLDMO_E_TABLEALREADYEXISTS = $00005216;
SQLDMO_E_RULEALREADYEXISTS = $00005217;
SQLDMO_E_DEFAULTALREADYEXISTS = $00005218;
SQLDMO_E_VIEWALREADYEXISTS = $00005219;
SQLDMO_E_INDEXINCOMPLETE = $0000521A;
SQLDMO_E_TRIGINCOMPLETE = $0000521B;
SQLDMO_E_TRIGALREADYEXISTS = $0000521C;
SQLDMO_E_LANGUAGEINCOMPLETE = $0000521D;
SQLDMO_E_LANGUAGEALREADYEXISTS = $0000521E;
SQLDMO_E_LOGININCOMPLETE = $0000521F;
SQLDMO_E_RSERVERINCOMPLETE = $00005220;
SQLDMO_E_RSERVERALREADYEXISTS = $00005221;
SQLDMO_E_NULLRLOGINALREADYEXISTS = $00005222;
SQLDMO_E_RLOGINALREADYEXISTS = $00005223;
SQLDMO_E_REMOTENEEDSLOCAL = $00005224;
SQLDMO_E_BACKUPNEEDSDEVICE = $00005225;
SQLDMO_E_NEEDMANUALFILTERNAME = $00005226;
SQLDMO_E_TASKINCOMPLETE = $00005227;
SQLDMO_E_ARTINCOMPLETE = $00005228;
SQLDMO_E_PUBINCOMPLETE = $00005229;
SQLDMO_E_SUBINCOMPLETE = $0000522A;
SQLDMO_E_ALERTINCOMPLETE = $0000522B;
SQLDMO_E_OPERATORINCOMPLETE = $0000522C;
SQLDMO_E_NAMEMUSTMATCH = $0000522D;
SQLDMO_E_TRIGREQTABLENAME = $0000522E;
SQLDMO_E_MUSTBESYNCTASK = $0000522F;
SQLDMO_E_NOEVENTCOMPLETION = $00005230;
SQLDMO_E_FKEYINCOMPLETE = $00005231;
SQLDMO_E_KEYINCOMPLETE = $00005232;
SQLDMO_E_KEYALREADYEXISTS = $00005233;
SQLDMO_E_CHECKINCOMPLETE = $00005234;
SQLDMO_E_DRIDEFAULTINCOMPLETE = $00005235;
SQLDMO_E_CHECKALREADYEXISTS = $00005236;
SQLDMO_E_ONLYONEPRIMARYKEY = $00005237;
SQLDMO_E_NEEDMANUALVIEWNAME = $00005238;
SQLDMO_E_SERVERGROUPINCOMPLETE = $00005239;
SQLDMO_E_REGISTEREDSERVERINCOMPLETE = $0000523A;
SQLDMO_E_SERVERGROUPALREADYEXISTS = $0000523B;
SQLDMO_E_REGISTEREDSERVERALREADYEXISTS = $0000523C;
SQLDMO_E_NEEDLOADTABLENAME = $0000523D;
SQLDMO_E_DISTDBALREADYEXISTS = $0000523E;
SQLDMO_E_DISTPUBALREADYEXISTS = $0000523F;
SQLDMO_E_JOBSTEPINCOMPLETE = $00005240;
SQLDMO_E_TARGETSERVERINCOMPLETE = $00005241;
SQLDMO_E_TARGETSERVERGROUPINCOMPLETE = $00005242;
SQLDMO_E_JOBINCOMPLETE = $00005243;
SQLDMO_E_MUSTBESYNCJOB = $00005244;
SQLDMO_E_JOBCATEgoryINCOMPLETE = $00005245;
SQLDMO_E_REGPUBINCOMPLETE = $00005246;
SQLDMO_E_REGSUBINCOMPLETE = $00005247;
SQLDMO_E_DISTPUBINCOMPLETE = $00005248;
SQLDMO_E_DISTDBINCOMPLETE = $00005249;
SQLDMO_E_FILEGROUPINCOMPLETE = $0000524A;
SQLDMO_E_DBFILEINCOMPLETE = $0000524B;
SQLDMO_E_LOGFILEINCOMPLETE = $0000524C;
SQLDMO_E_FILEGROUPALREADYEXISTS = $0000524D;
SQLDMO_E_DATABASEINCOMPLETE = $00005250;
SQLDMO_E_DATABASEROLEALREADYEXISTS = $00005251;
SQLDMO_E_DATABASEROLEINCOMPLETE = $00005252;
SQLDMO_E_SERVERROLEINCOMPLETE = $00005253;
SQLDMO_E_DSNINFOINCOMPLETE = $00005254;
SQLDMO_E_FILTERINCOMPLETE = $00005255;
SQLDMO_E_OWNERMUSTMATCH = $00005256;
SQLDMO_E_BACKUPNEEDSFILE = $00005257;
SQLDMO_E_BACKUPNEEDSMEDIA = $00005258;
SQLDMO_E_COLUMNCOMPUTEDINCOMPLETE = $00005259;
SQLDMO_E_REMAPFILEINCOMPLETE = $0000525A;
SQLDMO_E_SMALLMAXSIZE = $0000525B;
SQLDMO_E_FILEALREADYEXISTS = $0000525C;
SQLDMO_E_BADFILEGROUPNAME = $0000525D;
SQLDMO_E_LINKEDSERVERINCOMPLETE = $0000525E;
SQLDMO_E_LINKEDPROVIDERINCOMPLETE = $0000525F;
SQLDMO_E_FULLTEXTINCOMPLETE = $00005260;
SQLDMO_E_CATALOGALREADYEXISTS = $00005261;
SQLDMO_E_CATALOGINCOMPLETE = $00005262;
SQLDMO_E_BACKUPINIT = $00005263;
SQLDMO_E_LINKEDSERVERLOGININCOMPLETE = $00005264;
SQLDMO_E_NOSERVERBCP6 = $00005265;
SQLDMO_ECAT_INVALIDPARAMETER = $00005300;
SQLDMO_E_BADCOLLEN = $00005300;
SQLDMO_E_INVALIDPERFMONSET = $00005301;
SQLDMO_E_BADDEVICETYPE = $00005302;
SQLDMO_E_SIZEGREATERTHAN0 = $00005303;
SQLDMO_E_RESULTSETOUTOFRANGE = $00005304;
SQLDMO_E_OUTPUTPARAMREQUIRED = $00005305;
SQLDMO_E_PROPTEXTNONNULL = $00005306;
SQLDMO_E_BADPROCTYPE = $00005307;
SQLDMO_E_BADFILLFACTOR = $00005308;
SQLDMO_E_INVALIDINDEXTYPE = $00005309;
SQLDMO_E_INVALIDPRIVTYPE = $0000530A;
SQLDMO_E_BADTRIGTYPE = $0000530B;
SQLDMO_E_INVALIDDAYOFWEEK = $0000530C;
SQLDMO_E_INVALIDMONTH = $0000530D;
SQLDMO_E_BADDAYCOUNT = $0000530E;
SQLDMO_E_BADMONTHCOUNT = $0000530F;
SQLDMO_E_BADCONFIGVALUE = $00005310;
SQLDMO_E_INVALIDPARAMINDEX = $00005311;
SQLDMO_E_INVALIDPARAMRANGE = $00005312;
SQLDMO_E_INVALIDDBOBJTYPE = $00005313;
SQLDMO_E_ROWCOLOUTOFRANGE = $00005314;
SQLDMO_E_NONUNIQUENAME = $00005315;
SQLDMO_E_NOTIMESTAMPUDDT = $00005316;
SQLDMO_E_INVALIDNAME = $00005317;
SQLDMO_E_INVALIDCOMPLETION = $00005318;
SQLDMO_E_NAMETOOLONG = $00005319;
SQLDMO_E_INVALIDFREQTYPE = $0000531A;
SQLDMO_E_INVALIDFREQSUBDAY = $0000531B;
SQLDMO_E_INVALIDFREQRELINTERVAL = $0000531C;
SQLDMO_E_BADWEEKLYINTERVAL = $0000531D;
SQLDMO_E_BADMONTHLYINTERVAL = $0000531E;
SQLDMO_E_BADMONTHLYRELINTERVAL = $0000531F;
SQLDMO_E_INVALIDSRVOPTION = $00005320;
SQLDMO_E_INVALIDRUNPRIORITY = $00005321;
SQLDMO_E_DBNAMEREQUIRED = $00005322;
SQLDMO_E_PUBNAMEREQUIRED = $00005323;
SQLDMO_E_PROPINDEXOUTOFRANGE = $00005324;
SQLDMO_E_INVALIDNOTIFYTYPE = $00005325;
SQLDMO_E_INVALIDENUMNOTIFYTYPE = $00005326;
SQLDMO_E_INVALIDWEEKDAY = $00005327;
SQLDMO_E_INVALIDOBJECTTYPE = $00005328;
SQLDMO_E_OBJECTREQUIRED = $00005329;
SQLDMO_E_INVALIDEVENTTYPE = $0000532A;
SQLDMO_E_INVALIDCOMPLETIONTYPE = $0000532B;
SQLDMO_E_INVALIDKEYTYPE = $0000532C;
SQLDMO_E_TABLEMUSTBECREATED = $0000532D;
SQLDMO_E_INVALIDPREARTICLE = $0000532E;
SQLDMO_E_INVALIDSECURITYMODE = $0000532F;
SQLDMO_E_INVALIDPREC = $00005330;
SQLDMO_E_INVALIDDEPENDENCYTYPE = $00005331;
SQLDMO_E_INVALIDVERIFYCONNTYPE = $00005332;
SQLDMO_E_INVALIDSTATUSINFOTYPE = $00005333;
SQLDMO_E_INVALIDFORWARDINGSEVERITY = $00005334;
SQLDMO_E_INVALIDFORWARDINGSERVER = $00005335;
SQLDMO_E_INVALIDRESTARTINTERVAL = $00005336;
SQLDMO_E_INVALIDHISTORYROWSMAX = $00005337;
SQLDMO_E_NAMETOOSHORT = $00005338;
SQLDMO_E_UNEXPECTED = $00005339;
SQLDMO_E_INVALIDHISTORYROWSPERTASKMAX = $0000533A;
SQLDMO_E_INVALIDOBJSORTTYPE = $0000533B;
SQLDMO_E_INVALIDEXECTYPE = $0000533C;
SQLDMO_E_INVALIDSUBSETFILTER = $0000533D;
SQLDMO_E_INCOMPATIBLEPROPS = $0000533E;
SQLDMO_E_FILEPATHREQUIRED = $0000533F;
SQLDMO_E_INVALIDPROPALTER = $00005340;
SQLDMO_E_INVALIDALTERDISTINSTALLED = $00005341;
SQLDMO_E_SERVERNAMEREQUIRED = $00005342;
SQLDMO_E_DISTSERVERNAMEREQUIRED = $00005343;
SQLDMO_E_WORKINGDIRREQUIRED = $00005344;
SQLDMO_E_DISTDBREQUIRED = $00005345;
SQLDMO_E_DISTPUBREQUIRED = $00005346;
SQLDMO_E_INVALIDHISTORYROWSPERJOBMAX = $00005348;
SQLDMO_E_INVALIDPUBATTRIB = $00005349;
SQLDMO_E_INVALIDREPLICATIONTYPE = $0000534A;
SQLDMO_E_INVALIDSCHEMAOPTION = $0000534B;
SQLDMO_E_INVALIDFORREMDISTRIBUTOR = $0000534C;
SQLDMO_E_INVALIDARTICLETYPE = $0000534D;
SQLDMO_E_SIZEGREATERTHANNEG = $0000534E;
SQLDMO_E_INVALIDLOGINTYPE = $0000534F;
SQLDMO_E_CANTMODIFYAFTERCREATE = $00005350;
SQLDMO_E_INVALIDDSN = $00005351;
SQLDMO_E_INVALIDNAME70 = $00005352;
SQLDMO_E_MUSTEVEN = $00005353;
SQLDMO_E_MISSINGALTER = $00005354;
SQLDMO_E_NOTGUID = $00005355;
SQLDMO_E_DESTSERVERREQUIRED = $00005356;
SQLDMO_E_CANTSHRINK = $00005357;
SQLDMO_E_CANTDEFAULTOFF = $00005358;
SQLDMO_E_INVALIDNTNAME = $00005359;
SQLDMO_ECAT_INVALIDPLATFORM = $00005400;
SQLDMO_E_BACKUPSQL60ONLY = $00005400;
SQLDMO_E_MS SQLONLY = $00005401;
SQLDMO_E_WIN95REQUIRESCONN = $00005402;
SQLDMO_E_NOTONWIN95 = $00005403;
SQLDMO_E_SQL60ONLY = $00005404;
SQLDMO_E_REPLSQL60ONLY = $00005405;
SQLDMO_E_STARTUPPROCSQL60ONLY = $00005406;
SQLDMO_E_NEEDSQLDMOPROCS = $00005407;
SQLDMO_E_ALTERSQL60ONLY = $00005408;
SQLDMO_E_SORTEDDATAREORGSQL60ONLY = $00005409;
SQLDMO_E_MS SQLNTONLY = $0000540A;
SQLDMO_E_WIN95REQUIRESSQL60 = $0000540B;
SQLDMO_E_BACKUPSQL65ONLY = $0000540C;
SQLDMO_E_SQL65ONLY = $0000540D;
SQLDMO_E_ALERTSQL65ONLY = $0000540E;
SQLDMO_E_REMOTESQL65ONLY = $0000540F;
SQLDMO_E_PIPEDEVSQL60ONLY = $00005410;
SQLDMO_E_FKEYSQL65ONLY = $00005411;
SQLDMO_E_XPIMPERSONATESQL65ONLY = $00005412;
SQLDMO_E_SQL70ONLY = $00005413;
SQLDMO_E_FKEYSQL70ONLY = $00005414;
SQLDMO_E_BACKUPSQL70ONLY = $00005415;
SQLDMO_E_NEEDSQLDMOUPGRADE = $00005416;
SQLDMO_ECAT_ITEMNOTFOUND = $00005500;
SQLDMO_E_RULENOTFOUND = $00005500;
SQLDMO_E_DEFAULTNOTFOUND = $00005501;
SQLDMO_E_TYPENOTFOUND = $00005502;
SQLDMO_E_LOGINNOTFOUND = $00005503;
SQLDMO_E_GROUPNOTFOUND = $00005504;
SQLDMO_E_LANGNOTFOUND = $00005505;
SQLDMO_E_DBNOTFOUND = $00005506;
SQLDMO_E_DEVICENOTFOUND = $00005507;
SQLDMO_E_COLUMNNOTFOUND = $00005508;
SQLDMO_E_ORDOUTOFRANGE = $00005509;
SQLDMO_E_NAMENOTFOUND = $0000550A;
SQLDMO_E_USERNOTFOUND = $0000550B;
SQLDMO_E_NAMENOTINCACHE = $0000550C;
SQLDMO_E_PROPNAMENOTFOUND = $0000550D;
SQLDMO_E_IDNOTFOUND = $0000550E;
SQLDMO_E_DATABASEROLENOTFOUND = $0000550F;
SQLDMO_E_NAMENOTFOUNDQI = $00005510;
SQLDMO_ECAT_UNPRIVILEGEDLOGIN = $00005600;
SQLDMO_E_MUSTBESAORDBO = $00005600;
SQLDMO_E_MUSTBESAORLOGIN = $00005601;
SQLDMO_E_MUSTBESA = $00005602;
SQLDMO_ECAT_EXECUTION = $00005700;
SQLDMO_E_SYSPROCERROR = $00005700;
SQLDMO_E_CACHEEXECERROR = $00005701;
SQLDMO_E_INACCESSIBLEDB = $00005702;
SQLDMO_E_BATCHCOMPLETEWITHERRORS = $00005703;
SQLDMO_E_BCPCOLFMTFAILED = $00005704;
SQLDMO_E_SUSPENDINDEX = $00005705;
SQLDMO_E_RESUMEINDEX = $00005706;
SQLDMO_E_BCPEXECFAILED = $00005707;
SQLDMO_E_BCPINITFAILED = $00005708;
SQLDMO_E_BCPCONTROLFAILED = $00005709;
SQLDMO_E_USERABORTED = $0000570A;
SQLDMO_E_QIERROR = $0000570B;
SQLDMO_E_REGIONALERROR = $0000570C;
SQLDMO_E_SINGLEUSERDB = $0000570D;
SQLDMO_ECAT_CONNECTION = $00005800;
SQLDMO_E_CANTRECONNDEADCONN = $00005800;
SQLDMO_ECAT_RESOURCE = $00005900;
SQLDMO_E_OUTOFMEMORY = $00005900;
SQLDMO_E_NOMOREDEVNOS = $00005901;
SQLDMO_E_SERVERLOCKTIMEDOUT = $00005902;
SQLDMO_E_APPLOCKTIMEDOUT = $00005903;
SQLDMO_E_LASTERROR = $00005AFF;
type
// *********************************************************************//
// Forward declaration of interfaces defined in Type Library //
// *********************************************************************//
_IVSQLDMOStdObject = interface;
_IVSQLDMOStdObjectDisp = dispinterface;
_Application = interface;
_ApplicationDisp = dispinterface;
Properties = interface;
PropertiesDisp = dispinterface;
Property_ = interface;
Property_Disp = dispinterface;
SQLServers = interface;
SQLServersDisp = dispinterface;
ServerSink = interface;
_SQLServer = interface;
_SQLServerDisp = dispinterface;
Databases = interface;
DatabasesDisp = dispinterface;
_Database = interface;
_DatabaseDisp = dispinterface;
Tables = interface;
TablesDisp = dispinterface;
_Table = interface;
_TableDisp = dispinterface;
Columns = interface;
ColumnsDisp = dispinterface;
_Column = interface;
_ColumnDisp = dispinterface;
DRIDefault = interface;
DRIDefaultDisp = dispinterface;
SQLObjectList = interface;
SQLObjectListDisp = dispinterface;
Keys = interface;
KeysDisp = dispinterface;
_Key = interface;
_KeyDisp = dispinterface;
Names = interface;
NamesDisp = dispinterface;
Indexes = interface;
IndexesDisp = dispinterface;
_Index = interface;
_IndexDisp = dispinterface;
QueryResults = interface;
QueryResultsDisp = dispinterface;
Triggers = interface;
TriggersDisp = dispinterface;
_Trigger = interface;
_TriggerDisp = dispinterface;
Checks = interface;
ChecksDisp = dispinterface;
_Check = interface;
_CheckDisp = dispinterface;
BulkCopySink = interface;
_BulkCopy = interface;
_BulkCopyDisp = dispinterface;
NameList = interface;
NameListDisp = dispinterface;
Views = interface;
ViewsDisp = dispinterface;
_View = interface;
_ViewDisp = dispinterface;
StoredProcedures = interface;
StoredProceduresDisp = dispinterface;
_StoredProcedure = interface;
_StoredProcedureDisp = dispinterface;
Defaults = interface;
DefaultsDisp = dispinterface;
_Default = interface;
_DefaultDisp = dispinterface;
Rules = interface;
RulesDisp = dispinterface;
_Rule = interface;
_RuleDisp = dispinterface;
UserDefinedDatatypes = interface;
UserDefinedDatatypesDisp = dispinterface;
_UserDefinedDatatype = interface;
_UserDefinedDatatypeDisp = dispinterface;
Users = interface;
UsersDisp = dispinterface;
_User = interface;
_UserDisp = dispinterface;
Groups = interface;
GroupsDisp = dispinterface;
_Group = interface;
_GroupDisp = dispinterface;
SystemDatatypes = interface;
SystemDatatypesDisp = dispinterface;
SystemDatatype = interface;
SystemDatatypeDisp = dispinterface;
TransactionLog = interface;
TransactionLogDisp = dispinterface;
LogFiles = interface;
LogFilesDisp = dispinterface;
_LogFile = interface;
_LogFileDisp = dispinterface;
DBOption = interface;
DBOptionDisp = dispinterface;
DBObject = interface;
DBObjectDisp = dispinterface;
TransferSink = interface;
_Transfer = interface;
_TransferDisp = dispinterface;
FileGroups = interface;
FileGroupsDisp = dispinterface;
_FileGroup = interface;
_FileGroupDisp = dispinterface;
DBFiles = interface;
DBFilesDisp = dispinterface;
_DBFile = interface;
_DBFileDisp = dispinterface;
DatabaseRoles = interface;
DatabaseRolesDisp = dispinterface;
_DatabaseRole = interface;
_DatabaseRoleDisp = dispinterface;
FullTextCatalogs = interface;
FullTextCatalogsDisp = dispinterface;
_FullTextCatalog = interface;
_FullTextCatalogDisp = dispinterface;
BackupDevices = interface;
BackupDevicesDisp = dispinterface;
_BackupDevice = interface;
_BackupDeviceDisp = dispinterface;
IntegratedSecurity = interface;
IntegratedSecurityDisp = dispinterface;
Languages = interface;
LanguagesDisp = dispinterface;
_Language = interface;
_LanguageDisp = dispinterface;
RemoteServers = interface;
RemoteServersDisp = dispinterface;
_RemoteServer = interface;
_RemoteServerDisp = dispinterface;
RemoteLogins = interface;
RemoteLoginsDisp = dispinterface;
_RemoteLogin = interface;
_RemoteLoginDisp = dispinterface;
Logins = interface;
LoginsDisp = dispinterface;
_Login = interface;
_LoginDisp = dispinterface;
Registry = interface;
RegistryDisp = dispinterface;
Configuration = interface;
ConfigurationDisp = dispinterface;
ConfigValues = interface;
ConfigValuesDisp = dispinterface;
ConfigValue = interface;
ConfigValueDisp = dispinterface;
JobServer = interface;
JobServerDisp = dispinterface;
AlertSystem = interface;
AlertSystemDisp = dispinterface;
Operators = interface;
OperatorsDisp = dispinterface;
_Operator = interface;
_OperatorDisp = dispinterface;
Alerts = interface;
AlertsDisp = dispinterface;
_Alert = interface;
_AlertDisp = dispinterface;
Jobs = interface;
JobsDisp = dispinterface;
_Job = interface;
_JobDisp = dispinterface;
JobSteps = interface;
JobStepsDisp = dispinterface;
_JobStep = interface;
_JobStepDisp = dispinterface;
JobSchedules = interface;
JobSchedulesDisp = dispinterface;
_JobSchedule = interface;
_JobScheduleDisp = dispinterface;
Schedule = interface;
ScheduleDisp = dispinterface;
TargetServers = interface;
TargetServersDisp = dispinterface;
_TargetServer = interface;
_TargetServerDisp = dispinterface;
TargetServerGroups = interface;
TargetServerGroupsDisp = dispinterface;
_TargetServerGroup = interface;
_TargetServerGroupDisp = dispinterface;
JobFilter = interface;
JobFilterDisp = dispinterface;
JobHistoryFilter = interface;
JobHistoryFilterDisp = dispinterface;
JobCategories = interface;
JobCategoriesDisp = dispinterface;
_Category = interface;
_CategoryDisp = dispinterface;
AlertCategories = interface;
AlertCategoriesDisp = dispinterface;
OperatorCategories = interface;
OperatorCategoriesDisp = dispinterface;
BackupSink = interface;
_Backup = interface;
_BackupDisp = dispinterface;
ReplicationSink = interface;
_Replication = interface;
_ReplicationDisp = dispinterface;
Publisher = interface;
PublisherDisp = dispinterface;
RegisteredSubscribers = interface;
RegisteredSubscribersDisp = dispinterface;
_RegisteredSubscriber = interface;
_RegisteredSubscriberDisp = dispinterface;
_ReplicationSecurity = interface;
_ReplicationSecurityDisp = dispinterface;
Subscriber = interface;
SubscriberDisp = dispinterface;
Distributor = interface;
DistributorDisp = dispinterface;
DistributionPublishers = interface;
DistributionPublishersDisp = dispinterface;
_DistributionPublisher = interface;
_DistributionPublisherDisp = dispinterface;
DistributionPublications = interface;
DistributionPublicationsDisp = dispinterface;
_DistributionPublication = interface;
_DistributionPublicationDisp = dispinterface;
DistributionArticles = interface;
DistributionArticlesDisp = dispinterface;
_DistributionArticle = interface;
_DistributionArticleDisp = dispinterface;
DistributionSubscriptions = interface;
DistributionSubscriptionsDisp = dispinterface;
_DistributionSubscription = interface;
_DistributionSubscriptionDisp = dispinterface;
DistributionDatabases = interface;
DistributionDatabasesDisp = dispinterface;
_DistributionDatabase = interface;
_DistributionDatabaseDisp = dispinterface;
ReplicationDatabases = interface;
ReplicationDatabasesDisp = dispinterface;
ReplicationDatabase = interface;
ReplicationDatabaseDisp = dispinterface;
ReplicationTables = interface;
ReplicationTablesDisp = dispinterface;
ReplicationTable = interface;
ReplicationTableDisp = dispinterface;
ReplicationStoredProcedures = interface;
ReplicationStoredProceduresDisp = dispinterface;
ReplicationStoredProcedure = interface;
ReplicationStoredProcedureDisp = dispinterface;
TransPublications = interface;
TransPublicationsDisp = dispinterface;
_TransPublication = interface;
_TransPublicationDisp = dispinterface;
TransArticles = interface;
TransArticlesDisp = dispinterface;
_TransArticle = interface;
_TransArticleDisp = dispinterface;
TransSubscriptions = interface;
TransSubscriptionsDisp = dispinterface;
_TransSubscription = interface;
_TransSubscriptionDisp = dispinterface;
MergePublications = interface;
MergePublicationsDisp = dispinterface;
_MergePublication = interface;
_MergePublicationDisp = dispinterface;
MergeArticles = interface;
MergeArticlesDisp = dispinterface;
_MergeArticle = interface;
_MergeArticleDisp = dispinterface;
MergeSubsetFilters = interface;
MergeSubsetFiltersDisp = dispinterface;
_MergeSubsetFilter = interface;
_MergeSubsetFilterDisp = dispinterface;
MergeSubscriptions = interface;
MergeSubscriptionsDisp = dispinterface;
_MergeSubscription = interface;
_MergeSubscriptionDisp = dispinterface;
TransPullSubscriptions = interface;
TransPullSubscriptionsDisp = dispinterface;
_TransPullSubscription = interface;
_TransPullSubscriptionDisp = dispinterface;
MergePullSubscriptions = interface;
MergePullSubscriptionsDisp = dispinterface;
_MergePullSubscription = interface;
_MergePullSubscriptionDisp = dispinterface;
ServerRoles = interface;
ServerRolesDisp = dispinterface;
_ServerRole = interface;
_ServerRoleDisp = dispinterface;
LinkedServers = interface;
LinkedServersDisp = dispinterface;
_LinkedServer = interface;
_LinkedServerDisp = dispinterface;
LinkedServerLogins = interface;
LinkedServerLoginsDisp = dispinterface;
_LinkedServerLogin = interface;
_LinkedServerLoginDisp = dispinterface;
FullTextService = interface;
FullTextServiceDisp = dispinterface;
ServerGroups = interface;
ServerGroupsDisp = dispinterface;
_ServerGroup = interface;
_ServerGroupDisp = dispinterface;
RegisteredServers = interface;
RegisteredServersDisp = dispinterface;
_RegisteredServer = interface;
_RegisteredServerDisp = dispinterface;
Permission = interface;
PermissionDisp = dispinterface;
_Restore = interface;
_RestoreDisp = dispinterface;
RestoreSink = interface;
// *********************************************************************//
// Declaration of CoClasses defined in Type Library //
// (NOTE: Here we map each CoClass to its Default Interface) //
// *********************************************************************//
Application_ = _Application;
Database = _Database;
Table = _Table;
Column = _Column;
Key = _Key;
Index = _Index;
Trigger = _Trigger;
Check = _Check;
BulkCopy = _BulkCopy;
View = _View;
StoredProcedure = _StoredProcedure;
Default = _Default;
Rule = _Rule;
UserDefinedDatatype = _UserDefinedDatatype;
User = _User;
Group = _Group;
LogFile = _LogFile;
Transfer = _Transfer;
FileGroup = _FileGroup;
DBFile = _DBFile;
DatabaseRole = _DatabaseRole;
FullTextCatalog = _FullTextCatalog;
BackupDevice = _BackupDevice;
Language = _Language;
RemoteServer = _RemoteServer;
RemoteLogin = _RemoteLogin;
Login = _Login;
Operator = _Operator;
Alert = _Alert;
Job = _Job;
JobStep = _JobStep;
JobSchedule = _JobSchedule;
TargetServer = _TargetServer;
TargetServerGroup = _TargetServerGroup;
Category = _Category;
Backup = _Backup;
RegisteredSubscriber = _RegisteredSubscriber;
ReplicationSecurity = _ReplicationSecurity;
DistributionPublisher = _DistributionPublisher;
DistributionPublication = _DistributionPublication;
DistributionArticle = _DistributionArticle;
DistributionSubscription = _DistributionSubscription;
DistributionDatabase = _DistributionDatabase;
TransPublication = _TransPublication;
TransArticle = _TransArticle;
TransSubscription = _TransSubscription;
MergePublication = _MergePublication;
MergeArticle = _MergeArticle;
MergeSubsetFilter = _MergeSubsetFilter;
MergeSubscription = _MergeSubscription;
TransPullSubscription = _TransPullSubscription;
MergePullSubscription = _MergePullSubscription;
Replication = _Replication;
ServerRole = _ServerRole;
LinkedServer = _LinkedServer;
LinkedServerLogin = _LinkedServerLogin;
SQLServer = _SQLServer;
ServerGroup = _ServerGroup;
RegisteredServer = _RegisteredServer;
Restore = _Restore;
// *********************************************************************//
// Interface: _IVSQLDMOStdObject
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10010007-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_IVSQLDMOStdObject = interface(IDispatch)
['{10010007-E260-11CF-AE68-00AA004A34D5}']
end;
// *********************************************************************//
// DispIntf: _IVSQLDMOStdObjectDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10010007-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_IVSQLDMOStdObjectDisp = dispinterface
['{10010007-E260-11CF-AE68-00AA004A34D5}']
end;
// *********************************************************************//
// Interface: _Application
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10020106-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_Application = interface(_IVSQLDMOStdObject)
['{10020106-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_Name: WideString; safecall;
function Get_FullName: WideString; safecall;
function Get_SQLServers: SQLServers; safecall;
function Get_ODBCVersionString: WideString; safecall;
function Get_VersionMajor: Integer; safecall;
function Get_VersionMinor: Integer; safecall;
procedure Quit; safecall;
function Get_GroupRegistrationServer: WideString; safecall;
procedure Set_GroupRegistrationServer(const pRetVal: WideString);
safecall;
function Get_ServerGroups: ServerGroups; safecall;
function Get_GroupRegistrationVersion: Integer; safecall;
function Get_VersionBuild: Integer; safecall;
function Get_UseCurrentUserServerGroups: WordBool; safecall;
procedure Set_UseCurrentUserServerGroups(pRetVal: WordBool); safecall;
function ListAvailableSQLServers: NameList; safecall;
function Get_BlockingTimeout: Integer; safecall;
procedure Set_BlockingTimeout(pRetVal: Integer); safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property Name: WideString read Get_Name;
property FullName: WideString read Get_FullName;
property SQLServers: SQLServers read Get_SQLServers;
property ODBCVersionString: WideString read Get_ODBCVersionString;
property VersionMajor: Integer read Get_VersionMajor;
property VersionMinor: Integer read Get_VersionMinor;
property GroupRegistrationServer: WideString read
Get_GroupRegistrationServer write Set_GroupRegistrationServer;
property ServerGroups: ServerGroups read Get_ServerGroups;
property GroupRegistrationVersion: Integer read
Get_GroupRegistrationVersion;
property VersionBuild: Integer read Get_VersionBuild;
property UseCurrentUserServerGroups: WordBool read
Get_UseCurrentUserServerGroups write Set_UseCurrentUserServerGroups;
property BlockingTimeout: Integer read Get_BlockingTimeout write
Set_BlockingTimeout;
end;
// *********************************************************************//
// DispIntf: _ApplicationDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10020106-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_ApplicationDisp = dispinterface
['{10020106-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property Name: WideString readonly dispid 0;
property FullName: WideString readonly dispid 10;
property SQLServers: SQLServers readonly dispid 11;
property ODBCVersionString: WideString readonly dispid 12;
property VersionMajor: Integer readonly dispid 13;
property VersionMinor: Integer readonly dispid 14;
procedure Quit; dispid 100;
property GroupRegistrationServer: WideString dispid 15;
property ServerGroups: ServerGroups readonly dispid 16;
property GroupRegistrationVersion: Integer readonly dispid 17;
property VersionBuild: Integer readonly dispid 18;
property UseCurrentUserServerGroups: WordBool dispid 19;
function ListAvailableSQLServers: NameList; dispid 102;
property BlockingTimeout: Integer dispid 20;
end;
// *********************************************************************//
// Interface: Properties
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10020001-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
Properties = interface(_IVSQLDMOStdObject)
['{10020001-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Item(Index: OleVariant): Property_; safecall;
function Get__NewEnum: IUnknown; safecall;
function Get_Count: Integer; safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property _NewEnum: IUnknown read Get__NewEnum;
property Count: Integer read Get_Count;
end;
// *********************************************************************//
// DispIntf: PropertiesDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10020001-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
PropertiesDisp = dispinterface
['{10020001-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
function Item(Index: OleVariant): Property_; dispid 0;
property _NewEnum: IUnknown readonly dispid -4;
property Count: Integer readonly dispid 5;
end;
// *********************************************************************//
// Interface: Property_
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10020002-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
Property_ = interface(_IVSQLDMOStdObject)
['{10020002-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Value: OleVariant; safecall;
procedure Set_Value(pRetVal: OleVariant); safecall;
function Get_Properties: Properties; safecall;
function Get_Name: WideString; safecall;
function Get_Type_: Integer; safecall;
function Get_Get: WordBool; safecall;
function Get_Set_: WordBool; safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Value: OleVariant read Get_Value write Set_Value;
property Properties: Properties read Get_Properties;
property Name: WideString read Get_Name;
property Type_: Integer read Get_Type_;
property Get: WordBool read Get_Get;
property Set_: WordBool read Get_Set_;
end;
// *********************************************************************//
// DispIntf: Property_Disp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10020002-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
Property_Disp = dispinterface
['{10020002-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Value: OleVariant dispid 0;
property Properties: Properties readonly dispid 7;
property Name: WideString readonly dispid 11;
property Type_: Integer readonly dispid 12;
property Get: WordBool readonly dispid 13;
property Set_: WordBool readonly dispid 14;
end;
// *********************************************************************//
// Interface: SQLServers
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10020203-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
SQLServers = interface(_IVSQLDMOStdObject)
['{10020203-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Item(Index: OleVariant): SQLServer; safecall;
function Get__NewEnum: IUnknown; safecall;
function Get_Count: Integer; safecall;
function ItemByID(ID: Integer): SQLServer; safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property _NewEnum: IUnknown read Get__NewEnum;
property Count: Integer read Get_Count;
end;
// *********************************************************************//
// DispIntf: SQLServersDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10020203-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
SQLServersDisp = dispinterface
['{10020203-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
function Item(Index: OleVariant): SQLServer; dispid 0;
property _NewEnum: IUnknown readonly dispid -4;
property Count: Integer readonly dispid 5;
function ItemByID(ID: Integer): SQLServer; dispid 6;
end;
// *********************************************************************//
// Interface: ServerSink
// Flags: (256) OleAutomation
// GUID: {10020209-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
ServerSink = interface(IUnknown)
['{10020209-E260-11CF-AE68-00AA004A34D5}']
function QueryTimeout(const Message: WideString; out Continue:
WordBool): HResult; stdcall;
function ServerMessage(Severity: Integer; MessageNumber: Integer;
MessageState: Integer;
const Message: WideString): HResult; stdcall;
function ConnectionBroken(const Message: WideString; out Retry:
WordBool): HResult; stdcall;
function RemoteLoginFailed(Severity: Integer; MessageNumber: Integer;
MessageState: Integer;
const Message: WideString): HResult; stdcall;
function CommandSent(const SQLCommand: WideString): HResult; stdcall;
end;
// *********************************************************************//
// Interface: _SQLServer
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10020206-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_SQLServer = interface(_IVSQLDMOStdObject)
['{10020206-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_Databases: Databases; safecall;
function Get_Password: WideString; safecall;
procedure Set_Password(const pRetVal: WideString); safecall;
function Get_Name: WideString; safecall;
procedure Set_Name(const pRetVal: WideString); safecall;
function Get_Login: WideString; safecall;
procedure Set_Login(const pRetVal: WideString); safecall;
function Get_VersionString: WideString; safecall;
function Get_BackupDevices: BackupDevices; safecall;
function Get_VersionMajor: Integer; safecall;
function Get_VersionMinor: Integer; safecall;
function Get_CommandTerminator: WideString; safecall;
procedure Set_CommandTerminator(const pRetVal: WideString); safecall;
function Get_TrueName: WideString; safecall;
function Get_ConnectionID: Integer; safecall;
function Get_TrueLogin: WideString; safecall;
function Get_IntegratedSecurity: IntegratedSecurity; safecall;
function Get_Languages: Languages; safecall;
function Get_RemoteServers: RemoteServers; safecall;
function Get_Logins: Logins; safecall;
function Get_UserProfile: SQLDMO_SRVUSERPROFILE_TYPE; safecall;
function Get_MaxNumericPrecision: Integer; safecall;
function Get_NextDeviceNumber: Integer; safecall;
function Get_QueryTimeout: Integer; safecall;
procedure Set_QueryTimeout(pRetVal: Integer); safecall;
function Get_LoginTimeout: Integer; safecall;
procedure Set_LoginTimeout(pRetVal: Integer); safecall;
function Get_NetPacketSize: Integer; safecall;
procedure Set_NetPacketSize(pRetVal: Integer); safecall;
function Get_HostName: WideString; safecall;
procedure Set_HostName(const pRetVal: WideString); safecall;
function Get_ApplicationName: WideString; safecall;
procedure Set_ApplicationName(const pRetVal: WideString); safecall;
function Get_LoginSecure: WordBool; safecall;
procedure Set_LoginSecure(pRetVal: WordBool); safecall;
function Get_ProcessID: Integer; safecall;
function Get_Status: SQLDMO_SVCSTATUS_TYPE; safecall;
function Get_Registry: Registry; safecall;
function Get_Configuration: Configuration; safecall;
function Get_JobServer: JobServer; safecall;
function Get_ProcessInputBuffer(ProcessID: Integer): WideString;
safecall;
function Get_ProcessOutputBuffer(ProcessID: Integer): WideString;
safecall;
function Get_Language: WideString; safecall;
procedure Set_Language(const pRetVal: WideString); safecall;
function Get_AutoReConnect: WordBool; safecall;
procedure Set_AutoReConnect(pRetVal: WordBool); safecall;
function Get_StatusInfoRefetchInterval(StatusInfoType:
SQLDMO_STATUSINFO_TYPE): Integer; safecall;
procedure Set_StatusInfoRefetchInterval(StatusInfoType:
SQLDMO_STATUSINFO_TYPE; pRetVal: Integer); safecall;
function Get_SaLogin: WordBool; safecall;
function Get_AnsiNulls: WordBool; safecall;
procedure Set_AnsiNulls(pRetVal: WordBool); safecall;
procedure Connect(ServerName: OleVariant; Login: OleVariant; Password:
OleVariant); safecall;
procedure Close; safecall;
procedure DisConnect; safecall;
procedure KillProcess(lProcessID: Integer); safecall;
procedure ExecuteImmediate(const Command: WideString; ExecType:
OleVariant; Length: OleVariant); safecall;
procedure ReConnect; safecall;
procedure Shutdown(Wait: OleVariant); safecall;
procedure Start(StartMode: WordBool; Server: OleVariant; Login:
OleVariant; Password: OleVariant); safecall;
procedure UnloadODSDLL(const DLLName: WideString); safecall;
procedure KillDatabase(const DatabaseName: WideString); safecall;
function ExecuteWithResults(const Command: WideString; Length:
OleVariant): QueryResults; safecall;
function ListStartupProcedures: SQLObjectList; safecall;
procedure BeginTransaction(TransactionName: OleVariant); safecall;
procedure CommitTransaction(TransactionName: OleVariant); safecall;
procedure SaveTransaction(const SavepointName: WideString); safecall;
procedure RollbackTransaction(TransactionOrSavepointName: OleVariant);
safecall;
procedure CommandShellImmediate(const Command: WideString); safecall;
function ReadErrorLog(LogNumber: OleVariant): QueryResults; safecall;
function EnumErrorLogs: QueryResults; safecall;
function EnumAvailableMedia(MediaType: OleVariant): QueryResults;
safecall;
function EnumDirectories(const PathName: WideString): QueryResults;
safecall;
function EnumServerAttributes: QueryResults; safecall;
function EnumVersionInfo(Prefixes: OleVariant): QueryResults; safecall;
function EnumLocks(WhoByID: OleVariant): QueryResults; safecall;
function CommandShellWithResults(const Command: WideString):
QueryResults; safecall;
function ReadBackupHeader(const LoadSpec: Backup): QueryResults;
safecall;
function EnumProcesses(WhoByNameOrID: OleVariant): QueryResults;
safecall;
procedure Pause; safecall;
procedure Continue; safecall;
function VerifyConnection(ReconnectIfDead: OleVariant): WordBool;
safecall;
function IsOS(lType: SQLDMO_OS_TYPE): WordBool; safecall;
procedure AddStartParameter(const NewParam: WideString); safecall;
function Get_NetName: WideString; safecall;
function ExecuteWithResultsAndMessages(const Command: WideString;
Length: OleVariant;
out Messages: WideString):
QueryResults; safecall;
function EnumLoginMappings: QueryResults; safecall;
function Get_Replication: Replication; safecall;
function Get_EnableBcp: WordBool; safecall;
procedure Set_EnableBcp(pRetVal: WordBool); safecall;
function Get_BlockingTimeout: Integer; safecall;
procedure Set_BlockingTimeout(pRetVal: Integer); safecall;
function Get_ServerRoles: ServerRoles; safecall;
function Get_Isdbcreator: WordBool; safecall;
function Get_Isdiskadmin: WordBool; safecall;
function Get_Isprocessadmin: WordBool; safecall;
function Get_Issecurityadmin: WordBool; safecall;
function Get_Isserveradmin: WordBool; safecall;
function Get_Issetupadmin: WordBool; safecall;
function Get_Issysadmin: WordBool; safecall;
function EnumNTDomainGroups(Domain: OleVariant): QueryResults; safecall;
function EnumAccountInfo(Account: OleVariant; ListAll: OleVariant):
QueryResults; safecall;
function ListMembers(Type_: SQLDMO_ROLE_TYPE): NameList; safecall;
function IsLogin(const LoginName: WideString): WordBool; safecall;
procedure Abort; safecall;
function DetachDB(const DBName: WideString): WideString; safecall;
function AttachDB(const DBName: WideString; const PrimaryFile:
WideString): WideString; safecall;
function RemapFile(const DBName: WideString; const LogicalName:
WideString;
const NewPhysicalPath: WideString): WideString;
safecall;
function ClearMap: WideString; safecall;
function Get_QuotedIdentifier: WordBool; safecall;
procedure Set_QuotedIdentifier(pRetVal: WordBool); safecall;
function Get_LinkedServers: LinkedServers; safecall;
procedure Set_CodePageOverride(Param1: Integer); safecall;
function Get_FullTextService: FullTextService; safecall;
function Get_ODBCPrefix: WordBool; safecall;
procedure Set_ODBCPrefix(pRetVal: WordBool); safecall;
procedure Stop; safecall;
function PingSQLServerVersion(ServerName: OleVariant; Login: OleVariant;
Password: OleVariant): SQLDMO_SQL_VER; safecall;
function IsPackage: SQLDMO_PACKAGE_TYPE; safecall;
function Get_RegionalSetting: WordBool; safecall;
procedure Set_RegionalSetting(pRetVal: WordBool); safecall;
function Get_CodePage: Integer; safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property Databases: Databases read Get_Databases;
property Password: WideString read Get_Password write Set_Password;
property Name: WideString read Get_Name write Set_Name;
property Login: WideString read Get_Login write Set_Login;
property VersionString: WideString read Get_VersionString;
property BackupDevices: BackupDevices read Get_BackupDevices;
property VersionMajor: Integer read Get_VersionMajor;
property VersionMinor: Integer read Get_VersionMinor;
property CommandTerminator: WideString read Get_CommandTerminator write
Set_CommandTerminator;
property TrueName: WideString read Get_TrueName;
property ConnectionID: Integer read Get_ConnectionID;
property TrueLogin: WideString read Get_TrueLogin;
property IntegratedSecurity: IntegratedSecurity read
Get_IntegratedSecurity;
property Languages: Languages read Get_Languages;
property RemoteServers: RemoteServers read Get_RemoteServers;
property Logins: Logins read Get_Logins;
property UserProfile: SQLDMO_SRVUSERPROFILE_TYPE read Get_UserProfile;
property MaxNumericPrecision: Integer read Get_MaxNumericPrecision;
property NextDeviceNumber: Integer read Get_NextDeviceNumber;
property QueryTimeout: Integer read Get_QueryTimeout write
Set_QueryTimeout;
property LoginTimeout: Integer read Get_LoginTimeout write
Set_LoginTimeout;
property NetPacketSize: Integer read Get_NetPacketSize write
Set_NetPacketSize;
property HostName: WideString read Get_HostName write Set_HostName;
property ApplicationName: WideString read Get_ApplicationName write
Set_ApplicationName;
property LoginSecure: WordBool read Get_LoginSecure write
Set_LoginSecure;
property ProcessID: Integer read Get_ProcessID;
property Status: SQLDMO_SVCSTATUS_TYPE read Get_Status;
property Registry: Registry read Get_Registry;
property Configuration: Configuration read Get_Configuration;
property JobServer: JobServer read Get_JobServer;
property ProcessInputBuffer[ProcessID: Integer]: WideString read
Get_ProcessInputBuffer;
property ProcessOutputBuffer[ProcessID: Integer]: WideString read
Get_ProcessOutputBuffer;
property Language: WideString read Get_Language write Set_Language;
property AutoReConnect: WordBool read Get_AutoReConnect write
Set_AutoReConnect;
property StatusInfoRefetchInterval[StatusInfoType:
SQLDMO_STATUSINFO_TYPE]: Integer read Get_StatusInfoRefetchInterval write
Set_StatusInfoRefetchInterval;
property SaLogin: WordBool read Get_SaLogin;
property AnsiNulls: WordBool read Get_AnsiNulls write Set_AnsiNulls;
property NetName: WideString read Get_NetName;
property Replication: Replication read Get_Replication;
property EnableBcp: WordBool read Get_EnableBcp write Set_EnableBcp;
property BlockingTimeout: Integer read Get_BlockingTimeout write
Set_BlockingTimeout;
property ServerRoles: ServerRoles read Get_ServerRoles;
property Isdbcreator: WordBool read Get_Isdbcreator;
property Isdiskadmin: WordBool read Get_Isdiskadmin;
property Isprocessadmin: WordBool read Get_Isprocessadmin;
property Issecurityadmin: WordBool read Get_Issecurityadmin;
property Isserveradmin: WordBool read Get_Isserveradmin;
property Issetupadmin: WordBool read Get_Issetupadmin;
property Issysadmin: WordBool read Get_Issysadmin;
property QuotedIdentifier: WordBool read Get_QuotedIdentifier write
Set_QuotedIdentifier;
property LinkedServers: LinkedServers read Get_LinkedServers;
property CodePageOverride: Integer write Set_CodePageOverride;
property FullTextService: FullTextService read Get_FullTextService;
property ODBCPrefix: WordBool read Get_ODBCPrefix write Set_ODBCPrefix;
property RegionalSetting: WordBool read Get_RegionalSetting write
Set_RegionalSetting;
property CodePage: Integer read Get_CodePage;
end;
// *********************************************************************//
// DispIntf: _SQLServerDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10020206-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_SQLServerDisp = dispinterface
['{10020206-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property Databases: Databases readonly dispid 0;
property Password: WideString dispid 12;
property Name: WideString dispid 13;
property Login: WideString dispid 14;
property VersionString: WideString readonly dispid 15;
property BackupDevices: BackupDevices readonly dispid 16;
property VersionMajor: Integer readonly dispid 17;
property VersionMinor: Integer readonly dispid 18;
property CommandTerminator: WideString dispid 19;
property TrueName: WideString readonly dispid 20;
property ConnectionID: Integer readonly dispid 21;
property TrueLogin: WideString readonly dispid 22;
property IntegratedSecurity: IntegratedSecurity readonly dispid 26;
property Languages: Languages readonly dispid 27;
property RemoteServers: RemoteServers readonly dispid 28;
property Logins: Logins readonly dispid 29;
property UserProfile: SQLDMO_SRVUSERPROFILE_TYPE readonly dispid 30;
property MaxNumericPrecision: Integer readonly dispid 31;
property NextDeviceNumber: Integer readonly dispid 32;
property QueryTimeout: Integer dispid 33;
property LoginTimeout: Integer dispid 34;
property NetPacketSize: Integer dispid 35;
property HostName: WideString dispid 36;
property ApplicationName: WideString dispid 37;
property LoginSecure: WordBool dispid 38;
property ProcessID: Integer readonly dispid 39;
property Status: SQLDMO_SVCSTATUS_TYPE readonly dispid 40;
property Registry: Registry readonly dispid 43;
property Configuration: Configuration readonly dispid 44;
property JobServer: JobServer readonly dispid 45;
property ProcessInputBuffer[ProcessID: Integer]: WideString readonly
dispid 46;
property ProcessOutputBuffer[ProcessID: Integer]: WideString readonly
dispid 47;
property Language: WideString dispid 49;
property AutoReConnect: WordBool dispid 50;
property StatusInfoRefetchInterval[StatusInfoType:
SQLDMO_STATUSINFO_TYPE]: Integer dispid 51;
property SaLogin: WordBool readonly dispid 52;
property AnsiNulls: WordBool dispid 57;
procedure Connect(ServerName: OleVariant; Login: OleVariant; Password:
OleVariant); dispid 100;
procedure Close; dispid 101;
procedure DisConnect; dispid 102;
procedure KillProcess(lProcessID: Integer); dispid 103;
procedure ExecuteImmediate(const Command: WideString; ExecType:
OleVariant; Length: OleVariant); dispid 104;
procedure ReConnect; dispid 107;
procedure Shutdown(Wait: OleVariant); dispid 108;
procedure Start(StartMode: WordBool; Server: OleVariant; Login:
OleVariant; Password: OleVariant); dispid 109;
procedure UnloadODSDLL(const DLLName: WideString); dispid 110;
procedure KillDatabase(const DatabaseName: WideString); dispid 111;
function ExecuteWithResults(const Command: WideString; Length:
OleVariant): QueryResults; dispid 112;
function ListStartupProcedures: SQLObjectList; dispid 113;
procedure BeginTransaction(TransactionName: OleVariant); dispid 114;
procedure CommitTransaction(TransactionName: OleVariant); dispid 115;
procedure SaveTransaction(const SavepointName: WideString); dispid 116;
procedure RollbackTransaction(TransactionOrSavepointName: OleVariant);
dispid 117;
procedure CommandShellImmediate(const Command: WideString); dispid 118;
function ReadErrorLog(LogNumber: OleVariant): QueryResults; dispid 119;
function EnumErrorLogs: QueryResults; dispid 120;
function EnumAvailableMedia(MediaType: OleVariant): QueryResults; dispid
121;
function EnumDirectories(const PathName: WideString): QueryResults;
dispid 122;
function EnumServerAttributes: QueryResults; dispid 123;
function EnumVersionInfo(Prefixes: OleVariant): QueryResults; dispid
124;
function EnumLocks(WhoByID: OleVariant): QueryResults; dispid 125;
function CommandShellWithResults(const Command: WideString):
QueryResults; dispid 126;
function ReadBackupHeader(const LoadSpec: Backup): QueryResults; dispid
127;
function EnumProcesses(WhoByNameOrID: OleVariant): QueryResults; dispid
130;
procedure Pause; dispid 131;
procedure Continue; dispid 132;
function VerifyConnection(ReconnectIfDead: OleVariant): WordBool; dispid
136;
function IsOS(lType: SQLDMO_OS_TYPE): WordBool; dispid 137;
procedure AddStartParameter(const NewParam: WideString); dispid 138;
property NetName: WideString readonly dispid 53;
function ExecuteWithResultsAndMessages(const Command: WideString;
Length: OleVariant;
out Messages: WideString):
QueryResults; dispid 139;
function EnumLoginMappings: QueryResults; dispid 140;
property Replication: Replication readonly dispid 54;
property EnableBcp: WordBool dispid 55;
property BlockingTimeout: Integer dispid 56;
property ServerRoles: ServerRoles readonly dispid 58;
property Isdbcreator: WordBool readonly dispid 59;
property Isdiskadmin: WordBool readonly dispid 60;
property Isprocessadmin: WordBool readonly dispid 61;
property Issecurityadmin: WordBool readonly dispid 62;
property Isserveradmin: WordBool readonly dispid 63;
property Issetupadmin: WordBool readonly dispid 64;
property Issysadmin: WordBool readonly dispid 65;
function EnumNTDomainGroups(Domain: OleVariant): QueryResults; dispid
142;
function EnumAccountInfo(Account: OleVariant; ListAll: OleVariant):
QueryResults; dispid 143;
function ListMembers(Type_: SQLDMO_ROLE_TYPE): NameList; dispid 144;
function IsLogin(const LoginName: WideString): WordBool; dispid 145;
procedure Abort; dispid 146;
function DetachDB(const DBName: WideString): WideString; dispid 147;
function AttachDB(const DBName: WideString; const PrimaryFile:
WideString): WideString; dispid 148;
function RemapFile(const DBName: WideString; const LogicalName:
WideString;
const NewPhysicalPath: WideString): WideString;
dispid 149;
function ClearMap: WideString; dispid 150;
property QuotedIdentifier: WordBool dispid 66;
property LinkedServers: LinkedServers readonly dispid 67;
property CodePageOverride: Integer writeonly dispid 68;
property FullTextService: FullTextService readonly dispid 69;
property ODBCPrefix: WordBool dispid 70;
procedure Stop; dispid 151;
function PingSQLServerVersion(ServerName: OleVariant; Login: OleVariant;
Password: OleVariant): SQLDMO_SQL_VER; dispid 152;
function IsPackage: SQLDMO_PACKAGE_TYPE; dispid 153;
property RegionalSetting: WordBool dispid 71;
property CodePage: Integer readonly dispid 72;
end;
// *********************************************************************//
// Interface: Databases
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10020303-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
Databases = interface(_IVSQLDMOStdObject)
['{10020303-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Item(Index: OleVariant; Owner: OleVariant): Database; safecall;
function Get__NewEnum: IUnknown; safecall;
function Get_Count: Integer; safecall;
function ItemByID(ID: Integer): Database; safecall;
procedure Add(const Object_: Database); safecall;
procedure Remove(Index: OleVariant; Owner: OleVariant); safecall;
procedure Refresh(ReleaseMemberObjects: OleVariant); safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property _NewEnum: IUnknown read Get__NewEnum;
property Count: Integer read Get_Count;
end;
// *********************************************************************//
// DispIntf: DatabasesDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10020303-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
DatabasesDisp = dispinterface
['{10020303-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
function Item(Index: OleVariant; Owner: OleVariant): Database; dispid 0;
property _NewEnum: IUnknown readonly dispid -4;
property Count: Integer readonly dispid 5;
function ItemByID(ID: Integer): Database; dispid 6;
procedure Add(const Object_: Database); dispid 100;
procedure Remove(Index: OleVariant; Owner: OleVariant); dispid 101;
procedure Refresh(ReleaseMemberObjects: OleVariant); dispid 102;
end;
// *********************************************************************//
// Interface: _Database
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10020306-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_Database = interface(_IVSQLDMOStdObject)
['{10020306-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_Name: WideString; safecall;
procedure Set_Name(const pRetVal: WideString); safecall;
function Get_Tables: Tables; safecall;
function Get_SystemObject: WordBool; safecall;
function Get_ID: Integer; safecall;
function Get_UserProfile: SQLDMO_DBUSERPROFILE_TYPE; safecall;
function Get_CreateForAttach: WordBool; safecall;
procedure Set_CreateForAttach(pRetVal: WordBool); safecall;
function Get_Owner: WideString; safecall;
function Get_Version: Integer; safecall;
function Get_CreateDate: WideString; safecall;
function Get_DataSpaceUsage: Single; safecall;
function Get_UserName: WideString; safecall;
procedure Set_UserName(const pRetVal: WideString); safecall;
function Get_Status: SQLDMO_DBSTATUS_TYPE; safecall;
function Get_Size: Integer; safecall;
function Get_SpaceAvailable: Integer; safecall;
function Get_IndexSpaceUsage: Single; safecall;
function Get_SpaceAvailableInMB: Single; safecall;
function Get_Views: Views; safecall;
function Get_StoredProcedures: StoredProcedures; safecall;
function Get_Defaults: Defaults; safecall;
function Get_Rules: Rules; safecall;
function Get_UserDefinedDatatypes: UserDefinedDatatypes; safecall;
function Get_Users: Users; safecall;
function Get_Groups: Groups; safecall;
function Get_SystemDatatypes: SystemDatatypes; safecall;
function Get_TransactionLog: TransactionLog; safecall;
function Get_DBOption: DBOption; safecall;
function Get_DboLogin: WordBool; safecall;
procedure Grant(Privileges: SQLDMO_PRIVILEGE_TYPE; const Gran{*word*249}ames:
WideString); safecall;
procedure Revoke(Privileges: SQLDMO_PRIVILEGE_TYPE; const RevokeeNames:
WideString); safecall;
procedure ExecuteImmediate(const Command: WideString; ExecType:
OleVariant; Length: OleVariant); safecall;
function GetObjectByName(const ObjectName: WideString; ObjectType:
OleVariant; Owner: OleVariant): DBObject; safecall;
procedure Checkpoint; safecall;
function CheckTables(RepairType: OleVariant): WideString; safecall;
function CheckAllocations(RepairType: OleVariant): WideString; safecall;
function CheckCatalog: WideString; safecall;
function GetMemoryUsage: WideString; safecall;
function ExecuteWithResults(const Command: WideString; Length:
OleVariant): QueryResults; safecall;
function ListObjectPermissions(PrivilegeTypes: OleVariant):
SQLObjectList; safecall;
function EnumLocks(Who: OleVariant): QueryResults; safecall;
function ListObjects(ObjectTypes: OleVariant; SortBy: OleVariant):
SQLObjectList; safecall;
function EnumDependencies(DependencyType: OleVariant): QueryResults;
safecall;
procedure SetOwner(const LoginName: WideString; TransferAliases:
OleVariant;
OverrideIfAlreadyUser: OleVariant); safecall;
function ListDatabasePermissions(PrivilegeTypes: OleVariant):
SQLObjectList; safecall;
procedure Remove; safecall;
procedure RecalcSpaceUsage; safecall;
function EnumCandidateKeys: QueryResults; safecall;
function IsValidKeyDatatype(const KeyColType: WideString;
ReferencingColType: OleVariant): WordBool; safecall;
function GetDatatypeByName(const TypeName: WideString):
_IVSQLDMOStdObject; safecall;
procedure Transfer(const TransferSpec: Transfer); safecall;
function ScriptTransfer(const TransferSpec: Transfer; ScriptFileMode:
OleVariant;
ScriptFilePath: OleVariant): WideString;
safecall;
procedure CheckIdentityValues; safecall;
function ExecuteWithResultsAndMessages(const Command: WideString;
Length: OleVariant;
out Messages: WideString):
QueryResults; safecall;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant;
Script2Type: OleVariant): WideString; safecall;
function CheckTablesDataOnly: WideString; safecall;
function CheckAllocationsDataOnly: WideString; safecall;
procedure UpdateIndexStatistics; safecall;
function EnumLoginMappings: QueryResults; safecall;
function Get_PrimaryFilePath: WideString; safecall;
function Get_FileGroups: FileGroups; safecall;
function Get_DatabaseRoles: DatabaseRoles; safecall;
function Get_Permissions: HResult; safecall;
function Get_Isdb_accessadmin: WordBool; safecall;
function Get_Isdb_datareader: WordBool; safecall;
function Get_Isdb_ddladmin: WordBool; safecall;
function Get_Isdb_denydatareader: WordBool; safecall;
function Get_Isdb_denydatawriter: WordBool; safecall;
function Get_Isdb_backupoperator: WordBool; safecall;
function Get_Isdb_owner: WordBool; safecall;
function Get_Isdb_securityadmin: WordBool; safecall;
function Get_Isdb_datawriter: WordBool; safecall;
function EnumFiles: QueryResults; safecall;
function EnumFileGroups: QueryResults; safecall;
function EnumUsers(Who: OleVariant): QueryResults; safecall;
function EnumNTGroups(Who: OleVariant): QueryResults; safecall;
procedure Deny(Privileges: SQLDMO_PRIVILEGE_TYPE; const DenyeeNames:
WideString); safecall;
function IsUser(const UserName: WideString): WordBool; safecall;
function GenerateSQL: WideString; safecall;
procedure Shrink(NewSizeInPercent: Integer; Truncate: WordBool);
safecall;
function CheckTextAllocsFast: WideString; safecall;
function CheckTextAllocsFull: WideString; safecall;
function EnumMatchingSPs(const Text: WideString; IncludeSystemSP:
OleVariant): QueryResults; safecall;
procedure EnableFullTextCatalogs; safecall;
procedure RemoveFullTextCatalogs; safecall;
function FullTextIndexScript: WideString; safecall;
function Get_IsFullTextEnabled: WordBool; safecall;
function Get_FullTextCatalogs: FullTextCatalogs; safecall;
procedure DisableFullTextCatalogs; safecall;
function Get_CompatibilityLevel: SQLDMO_COMP_LEVEL_TYPE; safecall;
procedure Set_CompatibilityLevel(pRetVal: SQLDMO_COMP_LEVEL_TYPE);
safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property Name: WideString read Get_Name write Set_Name;
property Tables: Tables read Get_Tables;
property SystemObject: WordBool read Get_SystemObject;
property ID: Integer read Get_ID;
property UserProfile: SQLDMO_DBUSERPROFILE_TYPE read Get_UserProfile;
property CreateForAttach: WordBool read Get_CreateForAttach write
Set_CreateForAttach;
property Owner: WideString read Get_Owner;
property Version: Integer read Get_Version;
property CreateDate: WideString read Get_CreateDate;
property DataSpaceUsage: Single read Get_DataSpaceUsage;
property UserName: WideString read Get_UserName write Set_UserName;
property Status: SQLDMO_DBSTATUS_TYPE read Get_Status;
property Size: Integer read Get_Size;
property SpaceAvailable: Integer read Get_SpaceAvailable;
property IndexSpaceUsage: Single read Get_IndexSpaceUsage;
property SpaceAvailableInMB: Single read Get_SpaceAvailableInMB;
property Views: Views read Get_Views;
property StoredProcedures: StoredProcedures read Get_StoredProcedures;
property Defaults: Defaults read Get_Defaults;
property Rules: Rules read Get_Rules;
property UserDefinedDatatypes: UserDefinedDatatypes read
Get_UserDefinedDatatypes;
property Users: Users read Get_Users;
property Groups: Groups read Get_Groups;
property SystemDatatypes: SystemDatatypes read Get_SystemDatatypes;
property TransactionLog: TransactionLog read Get_TransactionLog;
property DBOption: DBOption read Get_DBOption;
property DboLogin: WordBool read Get_DboLogin;
property PrimaryFilePath: WideString read Get_PrimaryFilePath;
property FileGroups: FileGroups read Get_FileGroups;
property DatabaseRoles: DatabaseRoles read Get_DatabaseRoles;
property Permissions: HResult read Get_Permissions;
property Isdb_accessadmin: WordBool read Get_Isdb_accessadmin;
property Isdb_datareader: WordBool read Get_Isdb_datareader;
property Isdb_ddladmin: WordBool read Get_Isdb_ddladmin;
property Isdb_denydatareader: WordBool read Get_Isdb_denydatareader;
property Isdb_denydatawriter: WordBool read Get_Isdb_denydatawriter;
property Isdb_backupoperator: WordBool read Get_Isdb_backupoperator;
property Isdb_owner: WordBool read Get_Isdb_owner;
property Isdb_securityadmin: WordBool read Get_Isdb_securityadmin;
property Isdb_datawriter: WordBool read Get_Isdb_datawriter;
property IsFullTextEnabled: WordBool read Get_IsFullTextEnabled;
property FullTextCatalogs: FullTextCatalogs read Get_FullTextCatalogs;
property CompatibilityLevel: SQLDMO_COMP_LEVEL_TYPE read
Get_CompatibilityLevel write Set_CompatibilityLevel;
end;
// *********************************************************************//
// DispIntf: _DatabaseDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10020306-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_DatabaseDisp = dispinterface
['{10020306-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property Name: WideString dispid 9;
property Tables: Tables readonly dispid 0;
property SystemObject: WordBool readonly dispid 10;
property ID: Integer readonly dispid 11;
property UserProfile: SQLDMO_DBUSERPROFILE_TYPE readonly dispid 12;
property CreateForAttach: WordBool dispid 13;
property Owner: WideString readonly dispid 14;
property Version: Integer readonly dispid 15;
property CreateDate: WideString readonly dispid 16;
property DataSpaceUsage: Single readonly dispid 17;
property UserName: WideString dispid 18;
property Status: SQLDMO_DBSTATUS_TYPE readonly dispid 19;
property Size: Integer readonly dispid 20;
property SpaceAvailable: Integer readonly dispid 21;
property IndexSpaceUsage: Single readonly dispid 22;
property SpaceAvailableInMB: Single readonly dispid 24;
property Views: Views readonly dispid 25;
property StoredProcedures: StoredProcedures readonly dispid 26;
property Defaults: Defaults readonly dispid 27;
property Rules: Rules readonly dispid 28;
property UserDefinedDatatypes: UserDefinedDatatypes readonly dispid 29;
property Users: Users readonly dispid 30;
property Groups: Groups readonly dispid 31;
property SystemDatatypes: SystemDatatypes readonly dispid 32;
property TransactionLog: TransactionLog readonly dispid 35;
property DBOption: DBOption readonly dispid 36;
property DboLogin: WordBool readonly dispid 39;
procedure Grant(Privileges: SQLDMO_PRIVILEGE_TYPE; const Gran{*word*249}ames:
WideString); dispid 100;
procedure Revoke(Privileges: SQLDMO_PRIVILEGE_TYPE; const RevokeeNames:
WideString); dispid 101;
procedure ExecuteImmediate(const Command: WideString; ExecType:
OleVariant; Length: OleVariant); dispid 102;
function GetObjectByName(const ObjectName: WideString; ObjectType:
OleVariant; Owner: OleVariant): DBObject; dispid 104;
procedure Checkpoint; dispid 105;
function CheckTables(RepairType: OleVariant): WideString; dispid 106;
function CheckAllocations(RepairType: OleVariant): WideString; dispid
107;
function CheckCatalog: WideString; dispid 108;
function GetMemoryUsage: WideString; dispid 111;
function ExecuteWithResults(const Command: WideString; Length:
OleVariant): QueryResults; dispid 112;
function ListObjectPermissions(PrivilegeTypes: OleVariant):
SQLObjectList; dispid 113;
function EnumLocks(Who: OleVariant): QueryResults; dispid 114;
function ListObjects(ObjectTypes: OleVariant; SortBy: OleVariant):
SQLObjectList; dispid 116;
function EnumDependencies(DependencyType: OleVariant): QueryResults;
dispid 117;
procedure SetOwner(const LoginName: WideString; TransferAliases:
OleVariant;
OverrideIfAlreadyUser: OleVariant); dispid 118;
function ListDatabasePermissions(PrivilegeTypes: OleVariant):
SQLObjectList; dispid 119;
procedure Remove; dispid 120;
procedure RecalcSpaceUsage; dispid 121;
function EnumCandidateKeys: QueryResults; dispid 127;
function IsValidKeyDatatype(const KeyColType: WideString;
ReferencingColType: OleVariant): WordBool; dispid 128;
function GetDatatypeByName(const TypeName: WideString):
_IVSQLDMOStdObject; dispid 129;
procedure Transfer(const TransferSpec: Transfer); dispid 131;
function ScriptTransfer(const TransferSpec: Transfer; ScriptFileMode:
OleVariant;
ScriptFilePath: OleVariant): WideString; dispid
132;
procedure CheckIdentityValues; dispid 133;
function ExecuteWithResultsAndMessages(const Command: WideString;
Length: OleVariant;
out Messages: WideString):
QueryResults; dispid 134;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant;
Script2Type: OleVariant): WideString; dispid 135;
function CheckTablesDataOnly: WideString; dispid 136;
function CheckAllocationsDataOnly: WideString; dispid 137;
procedure UpdateIndexStatistics; dispid 138;
function EnumLoginMappings: QueryResults; dispid 139;
property PrimaryFilePath: WideString readonly dispid 41;
property FileGroups: FileGroups readonly dispid 42;
property DatabaseRoles: DatabaseRoles readonly dispid 43;
property Permissions: HResult readonly dispid 44;
property Isdb_accessadmin: WordBool readonly dispid 45;
property Isdb_datareader: WordBool readonly dispid 46;
property Isdb_ddladmin: WordBool readonly dispid 47;
property Isdb_denydatareader: WordBool readonly dispid 48;
property Isdb_denydatawriter: WordBool readonly dispid 49;
property Isdb_backupoperator: WordBool readonly dispid 50;
property Isdb_owner: WordBool readonly dispid 51;
property Isdb_securityadmin: WordBool readonly dispid 52;
property Isdb_datawriter: WordBool readonly dispid 53;
function EnumFiles: QueryResults; dispid 140;
function EnumFileGroups: QueryResults; dispid 141;
function EnumUsers(Who: OleVariant): QueryResults; dispid 142;
function EnumNTGroups(Who: OleVariant): QueryResults; dispid 143;
procedure Deny(Privileges: SQLDMO_PRIVILEGE_TYPE; const DenyeeNames:
WideString); dispid 144;
function IsUser(const UserName: WideString): WordBool; dispid 145;
function GenerateSQL: WideString; dispid 146;
procedure Shrink(NewSizeInPercent: Integer; Truncate: WordBool); dispid
147;
function CheckTextAllocsFast: WideString; dispid 148;
function CheckTextAllocsFull: WideString; dispid 149;
function EnumMatchingSPs(const Text: WideString; IncludeSystemSP:
OleVariant): QueryResults; dispid 150;
procedure EnableFullTextCatalogs; dispid 151;
procedure RemoveFullTextCatalogs; dispid 152;
function FullTextIndexScript: WideString; dispid 153;
property IsFullTextEnabled: WordBool readonly dispid 54;
property FullTextCatalogs: FullTextCatalogs readonly dispid 55;
procedure DisableFullTextCatalogs; dispid 154;
property CompatibilityLevel: SQLDMO_COMP_LEVEL_TYPE dispid 56;
end;
// *********************************************************************//
// Interface: Tables
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10020403-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
Tables = interface(_IVSQLDMOStdObject)
['{10020403-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Item(Index: OleVariant; Owner: OleVariant): Table; safecall;
function Get__NewEnum: IUnknown; safecall;
function Get_Count: Integer; safecall;
function ItemByID(ID: Integer): Table; safecall;
procedure Add(const Object_: Table); safecall;
procedure Remove(Index: OleVariant; Owner: OleVariant); safecall;
procedure Refresh(ReleaseMemberObjects: OleVariant); safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property _NewEnum: IUnknown read Get__NewEnum;
property Count: Integer read Get_Count;
end;
// *********************************************************************//
// DispIntf: TablesDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10020403-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
TablesDisp = dispinterface
['{10020403-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
function Item(Index: OleVariant; Owner: OleVariant): Table; dispid 0;
property _NewEnum: IUnknown readonly dispid -4;
property Count: Integer readonly dispid 5;
function ItemByID(ID: Integer): Table; dispid 6;
procedure Add(const Object_: Table); dispid 100;
procedure Remove(Index: OleVariant; Owner: OleVariant); dispid 101;
procedure Refresh(ReleaseMemberObjects: OleVariant); dispid 102;
end;
// *********************************************************************//
// Interface: _Table
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10020406-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_Table = interface(_IVSQLDMOStdObject)
['{10020406-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_Name: WideString; safecall;
procedure Set_Name(const pRetVal: WideString); safecall;
function Get_Columns: Columns; safecall;
function Get_DataSpaceUsed: Integer; safecall;
function Get_IndexSpaceUsed: Integer; safecall;
function Get_Attributes: SQLDMO_TABLEATT_TYPE; safecall;
function Get_Keys: Keys; safecall;
function Get_Owner: WideString; safecall;
procedure Set_Owner(const pRetVal: WideString); safecall;
function Get_ID: Integer; safecall;
function Get_CreateDate: WideString; safecall;
function Get_PrimaryKey: Key; safecall;
function Get_Indexes: Indexes; safecall;
function Get_Triggers: Triggers; safecall;
function Get_Checks: Checks; safecall;
function Get_ClusteredIndex: Index; safecall;
function Get_SystemObject: WordBool; safecall;
function Get_Rows: Integer; safecall;
procedure BeginAlter; safecall;
procedure DoAlter; safecall;
procedure CancelAlter; safecall;
procedure ReCompileReferences; safecall;
procedure Grant(Privileges: SQLDMO_PRIVILEGE_TYPE; const Gran{*word*249}ames:
WideString;
ColumnNames: OleVariant; GrantGrant: OleVariant; AsRole:
OleVariant); safecall;
procedure Revoke(Privileges: SQLDMO_PRIVILEGE_TYPE; const RevokeeNames:
WideString;
ColumnNames: OleVariant; GrantGrant: OleVariant;
RevokeGrantOption: OleVariant; AsRole: OleVariant);
safecall;
function ListPermissions(PrivilegeTypes: OleVariant): SQLObjectList;
safecall;
function ListUserPermissions(const UserName: WideString): SQLObjectList;
safecall;
function CheckTable: WideString; safecall;
procedure TruncateData; safecall;
procedure UpdateStatistics; safecall;
procedure Remove; safecall;
function EnumReferencedKeys(ReferencedTableName: OleVariant;
IncludeAllCandidates: OleVariant): QueryResults; safecall;
function EnumReferencedTables(IncludeAllCandidates: OleVariant):
QueryResults; safecall;
function EnumReferencingKeys(ReferencingTableName: OleVariant;
IncludeAllCandidates: OleVariant): QueryResults; safecall;
function EnumReferencingTables(IncludeAllCandidates: OleVariant):
QueryResults; safecall;
function EnumDependencies(DependencyType: OleVariant): QueryResults;
safecall;
procedure InsertColumn(const NewColumn: Column; const BeforeColumnName:
WideString); safecall;
procedure RecalcSpaceUsage; safecall;
function EnumLastStatisticsUpdates(IndexName: OleVariant): QueryResults;
safecall;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant;
NewName: OleVariant;
Script2Type: OleVariant): WideString; safecall;
procedure DoAlterWithNoCheck; safecall;
procedure Refresh; safecall;
function ImportData(const Bcp: BulkCopy): Integer; safecall;
function ExportData(const Bcp: BulkCopy): Integer; safecall;
procedure RebuildIndexes(SortedDataType: OleVariant; FillFactor:
OleVariant); safecall;
procedure CheckIdentityValue; safecall;
function CheckTableDataOnly: WideString; safecall;
function Get_InAlter: WordBool; safecall;
function Get_FileGroup: WideString; safecall;
procedure Set_FileGroup(const pRetVal: WideString); safecall;
function Get_TextFileGroup: WideString; safecall;
procedure Set_TextFileGroup(const pRetVal: WideString); safecall;
procedure Deny(Privileges: SQLDMO_PRIVILEGE_TYPE; const DenyeeNames:
WideString;
ColumnNames: OleVariant; GrantGrant: OleVariant);
safecall;
function GenerateSQL(const pDB: Database): WideString; safecall;
function CheckTextAllocsFast: WideString; safecall;
function CheckTextAllocsFull: WideString; safecall;
procedure UpdateStatisticsWith(AffectType: SQLDMO_STAT_AFFECT_TYPE;
ScanType: SQLDMO_STAT_SCAN_TYPE;
ScanNumber: OleVariant;
ReCompute: OleVariant); safecall;
function Get_FullTextIndex: WordBool; safecall;
procedure Set_FullTextIndex(pRetVal: WordBool); safecall;
function Get_UniqueIndexForFullText: WideString; safecall;
procedure Set_UniqueIndexForFullText(const pRetVal: WideString);
safecall;
function Get_FullTextCatalogName: WideString; safecall;
procedure Set_FullTextCatalogName(const pRetVal: WideString); safecall;
function Get_FullTextIndexActive: WordBool; safecall;
procedure Set_FullTextIndexActive(pRetVal: WordBool); safecall;
function Get_FullTextKeyColumn: Integer; safecall;
function ListAvailableUniqueIndexesForFullText: NameList; safecall;
function FullTextIndexScript: WideString; safecall;
function Get_HasClusteredIndex: WordBool; safecall;
function Get_HasIndex: WordBool; safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property Name: WideString read Get_Name write Set_Name;
property Columns: Columns read Get_Columns;
property DataSpaceUsed: Integer read Get_DataSpaceUsed;
property IndexSpaceUsed: Integer read Get_IndexSpaceUsed;
property Attributes: SQLDMO_TABLEATT_TYPE read Get_Attributes;
property Keys: Keys read Get_Keys;
property Owner: WideString read Get_Owner write Set_Owner;
property ID: Integer read Get_ID;
property CreateDate: WideString read Get_CreateDate;
property PrimaryKey: Key read Get_PrimaryKey;
property Indexes: Indexes read Get_Indexes;
property Triggers: Triggers read Get_Triggers;
property Checks: Checks read Get_Checks;
property ClusteredIndex: Index read Get_ClusteredIndex;
property SystemObject: WordBool read Get_SystemObject;
property Rows: Integer read Get_Rows;
property InAlter: WordBool read Get_InAlter;
property FileGroup: WideString read Get_FileGroup write Set_FileGroup;
property TextFileGroup: WideString read Get_TextFileGroup write
Set_TextFileGroup;
property FullTextIndex: WordBool read Get_FullTextIndex write
Set_FullTextIndex;
property UniqueIndexForFullText: WideString read
Get_UniqueIndexForFullText write Set_UniqueIndexForFullText;
property FullTextCatalogName: WideString read Get_FullTextCatalogName
write Set_FullTextCatalogName;
property FullTextIndexActive: WordBool read Get_FullTextIndexActive
write Set_FullTextIndexActive;
property FullTextKeyColumn: Integer read Get_FullTextKeyColumn;
property HasClusteredIndex: WordBool read Get_HasClusteredIndex;
property HasIndex: WordBool read Get_HasIndex;
end;
// *********************************************************************//
// DispIntf: _TableDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10020406-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_TableDisp = dispinterface
['{10020406-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property Name: WideString dispid 9;
property Columns: Columns readonly dispid 0;
property DataSpaceUsed: Integer readonly dispid 10;
property IndexSpaceUsed: Integer readonly dispid 11;
property Attributes: SQLDMO_TABLEATT_TYPE readonly dispid 12;
property Keys: Keys readonly dispid 13;
property Owner: WideString dispid 14;
property ID: Integer readonly dispid 15;
property CreateDate: WideString readonly dispid 16;
property PrimaryKey: Key readonly dispid 17;
property Indexes: Indexes readonly dispid 18;
property Triggers: Triggers readonly dispid 19;
property Checks: Checks readonly dispid 20;
property ClusteredIndex: Index readonly dispid 21;
property SystemObject: WordBool readonly dispid 22;
property Rows: Integer readonly dispid 23;
procedure BeginAlter; dispid 100;
procedure DoAlter; dispid 101;
procedure CancelAlter; dispid 102;
procedure ReCompileReferences; dispid 103;
procedure Grant(Privileges: SQLDMO_PRIVILEGE_TYPE; const Gran{*word*249}ames:
WideString;
ColumnNames: OleVariant; GrantGrant: OleVariant; AsRole:
OleVariant); dispid 104;
procedure Revoke(Privileges: SQLDMO_PRIVILEGE_TYPE; const RevokeeNames:
WideString;
ColumnNames: OleVariant; GrantGrant: OleVariant;
RevokeGrantOption: OleVariant; AsRole: OleVariant);
dispid 105;
function ListPermissions(PrivilegeTypes: OleVariant): SQLObjectList;
dispid 106;
function ListUserPermissions(const UserName: WideString): SQLObjectList;
dispid 107;
function CheckTable: WideString; dispid 108;
procedure TruncateData; dispid 111;
procedure UpdateStatistics; dispid 112;
procedure Remove; dispid 113;
function EnumReferencedKeys(ReferencedTableName: OleVariant;
IncludeAllCandidates: OleVariant): QueryResults; dispid 115;
function EnumReferencedTables(IncludeAllCandidates: OleVariant):
QueryResults; dispid 116;
function EnumReferencingKeys(ReferencingTableName: OleVariant;
IncludeAllCandidates: OleVariant): QueryResults; dispid 117;
function EnumReferencingTables(IncludeAllCandidates: OleVariant):
QueryResults; dispid 118;
function EnumDependencies(DependencyType: OleVariant): QueryResults;
dispid 119;
procedure InsertColumn(const NewColumn: Column; const BeforeColumnName:
WideString); dispid 120;
procedure RecalcSpaceUsage; dispid 121;
function EnumLastStatisticsUpdates(IndexName: OleVariant): QueryResults;
dispid 122;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant;
NewName: OleVariant;
Script2Type: OleVariant): WideString; dispid 123;
procedure DoAlterWithNoCheck; dispid 124;
procedure Refresh; dispid 125;
function ImportData(const Bcp: BulkCopy): Integer; dispid 127;
function ExportData(const Bcp: BulkCopy): Integer; dispid 128;
procedure RebuildIndexes(SortedDataType: OleVariant; FillFactor:
OleVariant); dispid 129;
procedure CheckIdentityValue; dispid 130;
function CheckTableDataOnly: WideString; dispid 131;
property InAlter: WordBool readonly dispid 24;
property FileGroup: WideString dispid 25;
property TextFileGroup: WideString dispid 26;
procedure Deny(Privileges: SQLDMO_PRIVILEGE_TYPE; const DenyeeNames:
WideString;
ColumnNames: OleVariant; GrantGrant: OleVariant); dispid
132;
function GenerateSQL(const pDB: Database): WideString; dispid 133;
function CheckTextAllocsFast: WideString; dispid 134;
function CheckTextAllocsFull: WideString; dispid 135;
procedure UpdateStatisticsWith(AffectType: SQLDMO_STAT_AFFECT_TYPE;
ScanType: SQLDMO_STAT_SCAN_TYPE;
ScanNumber: OleVariant;
ReCompute: OleVariant); dispid 136;
property FullTextIndex: WordBool dispid 27;
property UniqueIndexForFullText: WideString dispid 28;
property FullTextCatalogName: WideString dispid 29;
property FullTextIndexActive: WordBool dispid 30;
property FullTextKeyColumn: Integer readonly dispid 31;
function ListAvailableUniqueIndexesForFullText: NameList; dispid 137;
function FullTextIndexScript: WideString; dispid 138;
property HasClusteredIndex: WordBool readonly dispid 32;
property HasIndex: WordBool readonly dispid 33;
end;
// *********************************************************************//
// Interface: Columns
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10020503-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
Columns = interface(_IVSQLDMOStdObject)
['{10020503-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Item(Index: OleVariant): Column; safecall;
function Get__NewEnum: IUnknown; safecall;
function Get_Count: Integer; safecall;
function ItemByID(ID: Integer): Column; safecall;
procedure Add(const Object_: Column); safecall;
procedure Remove(Index: OleVariant); safecall;
procedure Refresh(ReleaseMemberObjects: OleVariant); safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property _NewEnum: IUnknown read Get__NewEnum;
property Count: Integer read Get_Count;
end;
// *********************************************************************//
// DispIntf: ColumnsDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10020503-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
ColumnsDisp = dispinterface
['{10020503-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
function Item(Index: OleVariant): Column; dispid 0;
property _NewEnum: IUnknown readonly dispid -4;
property Count: Integer readonly dispid 5;
function ItemByID(ID: Integer): Column; dispid 6;
procedure Add(const Object_: Column); dispid 100;
procedure Remove(Index: OleVariant); dispid 101;
procedure Refresh(ReleaseMemberObjects: OleVariant); dispid 102;
end;
// *********************************************************************//
// Interface: _Column
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10020506-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_Column = interface(_IVSQLDMOStdObject)
['{10020506-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_Name: WideString; safecall;
procedure Set_Name(const pRetVal: WideString); safecall;
function Get_IdentityIncrement: Integer; safecall;
procedure Set_IdentityIncrement(pRetVal: Integer); safecall;
function Get_IdentitySeed: Integer; safecall;
procedure Set_IdentitySeed(pRetVal: Integer); safecall;
function Get_DRIDefault: DRIDefault; safecall;
function Get_InPrimaryKey: WordBool; safecall;
function Get_Datatype: WideString; safecall;
procedure Set_Datatype(const pRetVal: WideString); safecall;
function Get_PhysicalDatatype: WideString; safecall;
function Get_Length: Integer; safecall;
procedure Set_Length(pRetVal: Integer); safecall;
function Get_Default: WideString; safecall;
procedure Set_Default(const pRetVal: WideString); safecall;
function Get_Rule: WideString; safecall;
procedure Set_Rule(const pRetVal: WideString); safecall;
function Get_AllowNulls: WordBool; safecall;
procedure Set_AllowNulls(pRetVal: WordBool); safecall;
function Get_ID: Integer; safecall;
function Get_Identity: WordBool; safecall;
procedure Set_Identity(pRetVal: WordBool); safecall;
function Get_NumericPrecision: Integer; safecall;
procedure Set_NumericPrecision(pRetVal: Integer); safecall;
function Get_NumericScale: Integer; safecall;
procedure Set_NumericScale(pRetVal: Integer); safecall;
procedure Remove; safecall;
function ListKeys: SQLObjectList; safecall;
function Get_IsRowGuidCol: WordBool; safecall;
procedure Set_IsRowGuidCol(pRetVal: WordBool); safecall;
function Get_IsComputed: WordBool; safecall;
procedure Set_IsComputed(pRetVal: WordBool); safecall;
function Get_ComputedText: WideString; safecall;
procedure Set_ComputedText(const pRetVal: WideString); safecall;
function Get_NotForRepl: WordBool; safecall;
procedure Set_NotForRepl(pRetVal: WordBool); safecall;
procedure UpdateStatisticsWith(ScanType: SQLDMO_STAT_SCAN_TYPE;
ScanNumber: OleVariant;
ReCompute: OleVariant); safecall;
function Get_FullTextIndex: WordBool; safecall;
procedure Set_FullTextIndex(pRetVal: WordBool); safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property Name: WideString read Get_Name write Set_Name;
property IdentityIncrement: Integer read Get_IdentityIncrement write
Set_IdentityIncrement;
property IdentitySeed: Integer read Get_IdentitySeed write
Set_IdentitySeed;
property DRIDefault: DRIDefault read Get_DRIDefault;
property InPrimaryKey: WordBool read Get_InPrimaryKey;
property Datatype: WideString read Get_Datatype write Set_Datatype;
property PhysicalDatatype: WideString read Get_PhysicalDatatype;
property Length: Integer read Get_Length write Set_Length;
property Default: WideString read Get_Default write Set_Default;
property Rule: WideString read Get_Rule write Set_Rule;
property AllowNulls: WordBool read Get_AllowNulls write Set_AllowNulls;
property ID: Integer read Get_ID;
property Identity: WordBool read Get_Identity write Set_Identity;
property NumericPrecision: Integer read Get_NumericPrecision write
Set_NumericPrecision;
property NumericScale: Integer read Get_NumericScale write
Set_NumericScale;
property IsRowGuidCol: WordBool read Get_IsRowGuidCol write
Set_IsRowGuidCol;
property IsComputed: WordBool read Get_IsComputed write Set_IsComputed;
property ComputedText: WideString read Get_ComputedText write
Set_ComputedText;
property NotForRepl: WordBool read Get_NotForRepl write Set_NotForRepl;
property FullTextIndex: WordBool read Get_FullTextIndex write
Set_FullTextIndex;
end;
// *********************************************************************//
// DispIntf: _ColumnDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10020506-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_ColumnDisp = dispinterface
['{10020506-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property Name: WideString dispid 9;
property IdentityIncrement: Integer dispid 10;
property IdentitySeed: Integer dispid 11;
property DRIDefault: DRIDefault readonly dispid 12;
property InPrimaryKey: WordBool readonly dispid 13;
property Datatype: WideString dispid 14;
property PhysicalDatatype: WideString readonly dispid 15;
property Length: Integer dispid 16;
property Default: WideString dispid 17;
property Rule: WideString dispid 18;
property AllowNulls: WordBool dispid 19;
property ID: Integer readonly dispid 20;
property Identity: WordBool dispid 21;
property NumericPrecision: Integer dispid 22;
property NumericScale: Integer dispid 23;
procedure Remove; dispid 100;
function ListKeys: SQLObjectList; dispid 101;
property IsRowGuidCol: WordBool dispid 24;
property IsComputed: WordBool dispid 25;
property ComputedText: WideString dispid 26;
property NotForRepl: WordBool dispid 27;
procedure UpdateStatisticsWith(ScanType: SQLDMO_STAT_SCAN_TYPE;
ScanNumber: OleVariant;
ReCompute: OleVariant); dispid 102;
property FullTextIndex: WordBool dispid 28;
end;
// *********************************************************************//
// Interface: DRIDefault
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10022B06-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
DRIDefault = interface(_IVSQLDMOStdObject)
['{10022B06-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_Name: WideString; safecall;
procedure Set_Name(const pRetVal: WideString); safecall;
function Get_Text: WideString; safecall;
procedure Set_Text(const pRetVal: WideString); safecall;
procedure Remove; safecall;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant;
Script2Type: OleVariant): WideString; safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property Name: WideString read Get_Name write Set_Name;
property Text: WideString read Get_Text write Set_Text;
end;
// *********************************************************************//
// DispIntf: DRIDefaultDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10022B06-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
DRIDefaultDisp = dispinterface
['{10022B06-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property Name: WideString dispid 9;
property Text: WideString dispid 10;
procedure Remove; dispid 100;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant;
Script2Type: OleVariant): WideString; dispid 101;
end;
// *********************************************************************//
// Interface: SQLObjectList
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10022806-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
SQLObjectList = interface(_IVSQLDMOStdObject)
['{10022806-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Item(Index: OleVariant): _IVSQLDMOStdObject; safecall;
function Get__NewEnum: IUnknown; safecall;
function Get_Count: Integer; safecall;
procedure Refresh; safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property _NewEnum: IUnknown read Get__NewEnum;
property Count: Integer read Get_Count;
end;
// *********************************************************************//
// DispIntf: SQLObjectListDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10022806-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
SQLObjectListDisp = dispinterface
['{10022806-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
function Item(Index: OleVariant): _IVSQLDMOStdObject; dispid 0;
property _NewEnum: IUnknown readonly dispid -4;
property Count: Integer readonly dispid 5;
procedure Refresh; dispid 102;
end;
// *********************************************************************//
// Interface: Keys
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10020F03-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
Keys = interface(_IVSQLDMOStdObject)
['{10020F03-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Item(ItemIndex: OleVariant): Key; safecall;
function Get__NewEnum: IUnknown; safecall;
function Get_Count: Integer; safecall;
procedure Add(const Object_: Key); safecall;
procedure Remove(Index: OleVariant); safecall;
procedure Refresh(ReleaseMemberObjects: OleVariant); safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property _NewEnum: IUnknown read Get__NewEnum;
property Count: Integer read Get_Count;
end;
// *********************************************************************//
// DispIntf: KeysDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10020F03-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
KeysDisp = dispinterface
['{10020F03-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
function Item(ItemIndex: OleVariant): Key; dispid 0;
property _NewEnum: IUnknown readonly dispid -4;
property Count: Integer readonly dispid 5;
procedure Add(const Object_: Key); dispid 100;
procedure Remove(Index: OleVariant); dispid 101;
procedure Refresh(ReleaseMemberObjects: OleVariant); dispid 102;
end;
// *********************************************************************//
// Interface: _Key
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10020F06-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_Key = interface(_IVSQLDMOStdObject)
['{10020F06-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_Name: WideString; safecall;
procedure Set_Name(const pRetVal: WideString); safecall;
function Get_Clustered: WordBool; safecall;
procedure Set_Clustered(pRetVal: WordBool); safecall;
function Get_FillFactor: Integer; safecall;
procedure Set_FillFactor(pRetVal: Integer); safecall;
function Get_KeyColumns: Names; safecall;
function Get_ReferencedTable: WideString; safecall;
procedure Set_ReferencedTable(const pRetVal: WideString); safecall;
function Get_ReferencedColumns: Names; safecall;
function Get_Type_: SQLDMO_KEY_TYPE; safecall;
procedure Set_Type_(pRetVal: SQLDMO_KEY_TYPE); safecall;
function Get_ReferencedKey: WideString; safecall;
procedure Remove; safecall;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant;
Script2Type: OleVariant): WideString; safecall;
procedure RebuildIndex; safecall;
function Get_ExcludeReplication: WordBool; safecall;
procedure Set_ExcludeReplication(pRetVal: WordBool); safecall;
function Get_FileGroup: WideString; safecall;
procedure Set_FileGroup(const pRetVal: WideString); safecall;
function Get_Checked: WordBool; safecall;
procedure Set_Checked(pRetVal: WordBool); safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property Name: WideString read Get_Name write Set_Name;
property Clustered: WordBool read Get_Clustered write Set_Clustered;
property FillFactor: Integer read Get_FillFactor write Set_FillFactor;
property KeyColumns: Names read Get_KeyColumns;
property ReferencedTable: WideString read Get_ReferencedTable write
Set_ReferencedTable;
property ReferencedColumns: Names read Get_ReferencedColumns;
property Type_: SQLDMO_KEY_TYPE read Get_Type_ write Set_Type_;
property ReferencedKey: WideString read Get_ReferencedKey;
property ExcludeReplication: WordBool read Get_ExcludeReplication write
Set_ExcludeReplication;
property FileGroup: WideString read Get_FileGroup write Set_FileGroup;
property Checked: WordBool read Get_Checked write Set_Checked;
end;
// *********************************************************************//
// DispIntf: _KeyDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10020F06-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_KeyDisp = dispinterface
['{10020F06-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property Name: WideString dispid 9;
property Clustered: WordBool dispid 10;
property FillFactor: Integer dispid 11;
property KeyColumns: Names readonly dispid 12;
property ReferencedTable: WideString dispid 13;
property ReferencedColumns: Names readonly dispid 14;
property Type_: SQLDMO_KEY_TYPE dispid 15;
property ReferencedKey: WideString readonly dispid 16;
procedure Remove; dispid 100;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant;
Script2Type: OleVariant): WideString; dispid 101;
procedure RebuildIndex; dispid 102;
property ExcludeReplication: WordBool dispid 17;
property FileGroup: WideString dispid 18;
property Checked: WordBool dispid 19;
end;
// *********************************************************************//
// Interface: Names
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10021D03-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
Names = interface(_IVSQLDMOStdObject)
['{10021D03-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Item(Index: OleVariant): WideString; safecall;
function Get__NewEnum: IUnknown; safecall;
function Get_Count: Integer; safecall;
procedure Add(const NewName: WideString); safecall;
procedure Remove(Index: OleVariant); safecall;
procedure Refresh; safecall;
procedure Insert(const NewName: WideString; InsertBeforeItem:
OleVariant); safecall;
procedure Replace(const NewName: WideString; ReplaceItem: OleVariant);
safecall;
function FindName(const Name: WideString): Integer; safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property _NewEnum: IUnknown read Get__NewEnum;
property Count: Integer read Get_Count;
end;
// *********************************************************************//
// DispIntf: NamesDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10021D03-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
NamesDisp = dispinterface
['{10021D03-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
function Item(Index: OleVariant): WideString; dispid 0;
property _NewEnum: IUnknown readonly dispid -4;
property Count: Integer readonly dispid 5;
procedure Add(const NewName: WideString); dispid 100;
procedure Remove(Index: OleVariant); dispid 101;
procedure Refresh; dispid 102;
procedure Insert(const NewName: WideString; InsertBeforeItem:
OleVariant); dispid 103;
procedure Replace(const NewName: WideString; ReplaceItem: OleVariant);
dispid 104;
function FindName(const Name: WideString): Integer; dispid 105;
end;
// *********************************************************************//
// Interface: Indexes
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10020E03-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
Indexes = interface(_IVSQLDMOStdObject)
['{10020E03-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Item(ItemIndex: OleVariant): Index; safecall;
function Get__NewEnum: IUnknown; safecall;
function Get_Count: Integer; safecall;
function ItemByID(ID: Integer): Index; safecall;
procedure Add(const Object_: Index); safecall;
procedure Remove(Index: OleVariant); safecall;
procedure Refresh(ReleaseMemberObjects: OleVariant); safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property _NewEnum: IUnknown read Get__NewEnum;
property Count: Integer read Get_Count;
end;
// *********************************************************************//
// DispIntf: IndexesDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10020E03-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
IndexesDisp = dispinterface
['{10020E03-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
function Item(ItemIndex: OleVariant): Index; dispid 0;
property _NewEnum: IUnknown readonly dispid -4;
property Count: Integer readonly dispid 5;
function ItemByID(ID: Integer): Index; dispid 6;
procedure Add(const Object_: Index); dispid 100;
procedure Remove(Index: OleVariant); dispid 101;
procedure Refresh(ReleaseMemberObjects: OleVariant); dispid 102;
end;
// *********************************************************************//
// Interface: _Index
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10020E06-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_Index = interface(_IVSQLDMOStdObject)
['{10020E06-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_Name: WideString; safecall;
procedure Set_Name(const pRetVal: WideString); safecall;
procedure Set_IndexedColumns(const Param1: WideString); safecall;
function Get_SpaceUsed: Integer; safecall;
function Get_Type_: SQLDMO_INDEX_TYPE; safecall;
procedure Set_Type_(pRetVal: SQLDMO_INDEX_TYPE); safecall;
function Get_ID: Integer; safecall;
function Get_FillFactor: Integer; safecall;
procedure Set_FillFactor(pRetVal: Integer); safecall;
procedure UpdateStatistics; safecall;
function ListIndexedColumns: SQLObjectList; safecall;
procedure Remove; safecall;
procedure Rebuild; safecall;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant;
Script2Type: OleVariant): WideString; safecall;
procedure RecalcSpaceUsage; safecall;
function EnumStatistics: QueryResults; safecall;
function GenerateCreationSQL(const TargetTable: Table): WideString;
safecall;
function CheckIndex: WideString; safecall;
function Get_FileGroup: WideString; safecall;
procedure Set_FileGroup(const pRetVal: WideString); safecall;
function GenerateSQL(const pTable: Table): WideString; safecall;
procedure UpdateStatisticsWith(ScanType: SQLDMO_STAT_SCAN_TYPE;
ScanNumber: OleVariant;
ReCompute: OleVariant); safecall;
function Get_IsFullTextKey: WordBool; safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property Name: WideString read Get_Name write Set_Name;
property IndexedColumns: WideString write Set_IndexedColumns;
property SpaceUsed: Integer read Get_SpaceUsed;
property Type_: SQLDMO_INDEX_TYPE read Get_Type_ write Set_Type_;
property ID: Integer read Get_ID;
property FillFactor: Integer read Get_FillFactor write Set_FillFactor;
property FileGroup: WideString read Get_FileGroup write Set_FileGroup;
property IsFullTextKey: WordBool read Get_IsFullTextKey;
end;
// *********************************************************************//
// DispIntf: _IndexDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10020E06-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_IndexDisp = dispinterface
['{10020E06-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property Name: WideString dispid 9;
property IndexedColumns: WideString writeonly dispid 11;
property SpaceUsed: Integer readonly dispid 12;
property Type_: SQLDMO_INDEX_TYPE dispid 14;
property ID: Integer readonly dispid 15;
property FillFactor: Integer dispid 16;
procedure UpdateStatistics; dispid 100;
function ListIndexedColumns: SQLObjectList; dispid 102;
procedure Remove; dispid 103;
procedure Rebuild; dispid 104;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant;
Script2Type: OleVariant): WideString; dispid 105;
procedure RecalcSpaceUsage; dispid 106;
function EnumStatistics: QueryResults; dispid 107;
function GenerateCreationSQL(const TargetTable: Table): WideString;
dispid 108;
function CheckIndex: WideString; dispid 109;
property FileGroup: WideString dispid 17;
function GenerateSQL(const pTable: Table): WideString; dispid 110;
procedure UpdateStatisticsWith(ScanType: SQLDMO_STAT_SCAN_TYPE;
ScanNumber: OleVariant;
ReCompute: OleVariant); dispid 111;
property IsFullTextKey: WordBool readonly dispid 18;
end;
// *********************************************************************//
// Interface: QueryResults
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10022506-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
QueryResults = interface(_IVSQLDMOStdObject)
['{10022506-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_ResultSets: Integer; safecall;
function Get_CurrentResultSet: Integer; safecall;
procedure Set_CurrentResultSet(pRetVal: Integer); safecall;
function Get_Rows: Integer; safecall;
function Get_Columns: Integer; safecall;
function Get_ColumnName(Column: Integer): WideString; safecall;
function Get_ColumnType(Column: Integer): SQLDMO_QUERY_DATATYPE;
safecall;
function Get_ColumnMaxLength(Column: Integer): Integer; safecall;
function GetColumnLong(Row: Integer; Column: Integer): Integer;
safecall;
function GetColumnBool(Row: Integer; Column: Integer): WordBool;
safecall;
function GetColumnFloat(Row: Integer; Column: Integer): Single;
safecall;
function GetColumnDouble(Row: Integer; Column: Integer): Double;
safecall;
function GetColumnString(Row: Integer; Column: Integer): WideString;
safecall;
function GetRangeString(Top: OleVariant; Left: OleVariant; Bottom:
OleVariant;
Right: OleVariant; RowDelim: OleVariant;
ColDelim: OleVariant;
ColWidths: OleVariant): WideString; safecall;
procedure Refresh; safecall;
function GetColumnDate(Row: Integer; Column: Integer): TDateTime;
safecall;
function GetColumnBinary(Row: Integer; Column: Integer): PSafeArray;
safecall;
function GetColumnBinaryLength(Row: Integer; Column: Integer): Integer;
safecall;
function GetColumnGUID(Row: Integer; Column: Integer): PSafeArray;
safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property ResultSets: Integer read Get_ResultSets;
property CurrentResultSet: Integer read Get_CurrentResultSet write
Set_CurrentResultSet;
property Rows: Integer read Get_Rows;
property Columns: Integer read Get_Columns;
property ColumnName[Column: Integer]: WideString read Get_ColumnName;
property ColumnType[Column: Integer]: SQLDMO_QUERY_DATATYPE read
Get_ColumnType;
property ColumnMaxLength[Column: Integer]: Integer read
Get_ColumnMaxLength;
end;
// *********************************************************************//
// DispIntf: QueryResultsDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10022506-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
QueryResultsDisp = dispinterface
['{10022506-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property ResultSets: Integer readonly dispid 10;
property CurrentResultSet: Integer dispid 11;
property Rows: Integer readonly dispid 12;
property Columns: Integer readonly dispid 13;
property ColumnName[Column: Integer]: WideString readonly dispid 14;
property ColumnType[Column: Integer]: SQLDMO_QUERY_DATATYPE readonly
dispid 15;
property ColumnMaxLength[Column: Integer]: Integer readonly dispid 16;
function GetColumnLong(Row: Integer; Column: Integer): Integer; dispid
100;
function GetColumnBool(Row: Integer; Column: Integer): WordBool; dispid
101;
function GetColumnFloat(Row: Integer; Column: Integer): Single; dispid
102;
function GetColumnDouble(Row: Integer; Column: Integer): Double; dispid
103;
function GetColumnString(Row: Integer; Column: Integer): WideString;
dispid 104;
function GetRangeString(Top: OleVariant; Left: OleVariant; Bottom:
OleVariant;
Right: OleVariant; RowDelim: OleVariant;
ColDelim: OleVariant;
ColWidths: OleVariant): WideString; dispid 105;
procedure Refresh; dispid 106;
function GetColumnDate(Row: Integer; Column: Integer): TDateTime; dispid
107;
function GetColumnBinary(Row: Integer; Column: Integer): {??PSafeArray}
OleVariant; dispid 108;
function GetColumnBinaryLength(Row: Integer; Column: Integer): Integer;
dispid 109;
function GetColumnGUID(Row: Integer; Column: Integer): {??PSafeArray}
OleVariant; dispid 110;
end;
// *********************************************************************//
// Interface: Triggers
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10021003-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
Triggers = interface(_IVSQLDMOStdObject)
['{10021003-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Item(Index: OleVariant; Owner: OleVariant): Trigger; safecall;
function Get__NewEnum: IUnknown; safecall;
function Get_Count: Integer; safecall;
function ItemByID(ID: Integer): Trigger; safecall;
procedure Add(const Object_: Trigger); safecall;
procedure Remove(Index: OleVariant; Owner: OleVariant); safecall;
procedure Refresh(ReleaseMemberObjects: OleVariant); safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property _NewEnum: IUnknown read Get__NewEnum;
property Count: Integer read Get_Count;
end;
// *********************************************************************//
// DispIntf: TriggersDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10021003-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
TriggersDisp = dispinterface
['{10021003-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
function Item(Index: OleVariant; Owner: OleVariant): Trigger; dispid 0;
property _NewEnum: IUnknown readonly dispid -4;
property Count: Integer readonly dispid 5;
function ItemByID(ID: Integer): Trigger; dispid 6;
procedure Add(const Object_: Trigger); dispid 100;
procedure Remove(Index: OleVariant; Owner: OleVariant); dispid 101;
procedure Refresh(ReleaseMemberObjects: OleVariant); dispid 102;
end;
// *********************************************************************//
// Interface: _Trigger
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10021006-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_Trigger = interface(_IVSQLDMOStdObject)
['{10021006-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_Name: WideString; safecall;
procedure Set_Name(const pRetVal: WideString); safecall;
function Get_SystemObject: WordBool; safecall;
function Get_Owner: WideString; safecall;
procedure Set_Owner(const pRetVal: WideString); safecall;
function Get_CreateDate: WideString; safecall;
function Get_ID: Integer; safecall;
function Get_Text: WideString; safecall;
procedure Set_Text(const pRetVal: WideString); safecall;
function Get_Type_: SQLDMO_TRIGGER_TYPE; safecall;
procedure Remove; safecall;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant;
Script2Type: OleVariant): WideString; safecall;
function EnumDependencies(DependencyType: OleVariant): QueryResults;
safecall;
function Get_Enabled: WordBool; safecall;
procedure Set_Enabled(pRetVal: WordBool); safecall;
procedure Alter(const NewText: WideString); safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property Name: WideString read Get_Name write Set_Name;
property SystemObject: WordBool read Get_SystemObject;
property Owner: WideString read Get_Owner write Set_Owner;
property CreateDate: WideString read Get_CreateDate;
property ID: Integer read Get_ID;
property Text: WideString read Get_Text write Set_Text;
property Type_: SQLDMO_TRIGGER_TYPE read Get_Type_;
property Enabled: WordBool read Get_Enabled write Set_Enabled;
end;
// *********************************************************************//
// DispIntf: _TriggerDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10021006-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_TriggerDisp = dispinterface
['{10021006-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property Name: WideString dispid 9;
property SystemObject: WordBool readonly dispid 12;
property Owner: WideString dispid 14;
property CreateDate: WideString readonly dispid 15;
property ID: Integer readonly dispid 16;
property Text: WideString dispid 17;
property Type_: SQLDMO_TRIGGER_TYPE readonly dispid 18;
procedure Remove; dispid 100;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant;
Script2Type: OleVariant): WideString; dispid 101;
function EnumDependencies(DependencyType: OleVariant): QueryResults;
dispid 102;
property Enabled: WordBool dispid 19;
procedure Alter(const NewText: WideString); dispid 103;
end;
// *********************************************************************//
// Interface: Checks
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10021703-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
Checks = interface(_IVSQLDMOStdObject)
['{10021703-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Item(ItemIndex: OleVariant): Check; safecall;
function Get__NewEnum: IUnknown; safecall;
function Get_Count: Integer; safecall;
procedure Add(const Object_: Check); safecall;
procedure Remove(Index: OleVariant); safecall;
procedure Refresh(ReleaseMemberObjects: OleVariant); safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property _NewEnum: IUnknown read Get__NewEnum;
property Count: Integer read Get_Count;
end;
// *********************************************************************//
// DispIntf: ChecksDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10021703-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
ChecksDisp = dispinterface
['{10021703-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
function Item(ItemIndex: OleVariant): Check; dispid 0;
property _NewEnum: IUnknown readonly dispid -4;
property Count: Integer readonly dispid 5;
procedure Add(const Object_: Check); dispid 100;
procedure Remove(Index: OleVariant); dispid 101;
procedure Refresh(ReleaseMemberObjects: OleVariant); dispid 102;
end;
// *********************************************************************//
// Interface: _Check
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10021706-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_Check = interface(_IVSQLDMOStdObject)
['{10021706-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_Name: WideString; safecall;
procedure Set_Name(const pRetVal: WideString); safecall;
function Get_Text: WideString; safecall;
procedure Set_Text(const pRetVal: WideString); safecall;
function Get_ExcludeReplication: WordBool; safecall;
procedure Set_ExcludeReplication(pRetVal: WordBool); safecall;
procedure Remove; safecall;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant;
Script2Type: OleVariant): WideString; safecall;
function Get_Checked: WordBool; safecall;
procedure Set_Checked(pRetVal: WordBool); safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property Name: WideString read Get_Name write Set_Name;
property Text: WideString read Get_Text write Set_Text;
property ExcludeReplication: WordBool read Get_ExcludeReplication write
Set_ExcludeReplication;
property Checked: WordBool read Get_Checked write Set_Checked;
end;
// *********************************************************************//
// DispIntf: _CheckDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10021706-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_CheckDisp = dispinterface
['{10021706-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property Name: WideString dispid 9;
property Text: WideString dispid 10;
property ExcludeReplication: WordBool dispid 11;
procedure Remove; dispid 100;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant;
Script2Type: OleVariant): WideString; dispid 101;
property Checked: WordBool dispid 12;
end;
// *********************************************************************//
// Interface: BulkCopySink
// Flags: (256) OleAutomation
// GUID: {10021C09-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
BulkCopySink = interface(IUnknown)
['{10021C09-E260-11CF-AE68-00AA004A34D5}']
function RowsCopied(const Message: WideString; Rows: Integer): HResult;
stdcall;
function BatchImported(const Message: WideString): HResult; stdcall;
end;
// *********************************************************************//
// Interface: _BulkCopy
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10021C06-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_BulkCopy = interface(_IVSQLDMOStdObject)
['{10021C06-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_DataFilePath: WideString; safecall;
procedure Set_DataFilePath(const pRetVal: WideString); safecall;
function Get_FormatFilePath: WideString; safecall;
procedure Set_FormatFilePath(const pRetVal: WideString); safecall;
function Get_ErrorFilePath: WideString; safecall;
procedure Set_ErrorFilePath(const pRetVal: WideString); safecall;
function Get_LogFilePath: WideString; safecall;
procedure Set_LogFilePath(const pRetVal: WideString); safecall;
function Get_ColumnDelimiter: WideString; safecall;
procedure Set_ColumnDelimiter(const pRetVal: WideString); safecall;
function Get_RowDelimiter: WideString; safecall;
procedure Set_RowDelimiter(const pRetVal: WideString); safecall;
function Get_DataFileType: SQLDMO_DATAFILE_TYPE; safecall;
procedure Set_DataFileType(pRetVal: SQLDMO_DATAFILE_TYPE); safecall;
function Get_FirstRow: Integer; safecall;
procedure Set_FirstRow(pRetVal: Integer); safecall;
function Get_LastRow: Integer; safecall;
procedure Set_LastRow(pRetVal: Integer); safecall;
function Get_MaximumErrorsBeforeAbort: Integer; safecall;
procedure Set_MaximumErrorsBeforeAbort(pRetVal: Integer); safecall;
function Get_IncludeIdentityValues: WordBool; safecall;
procedure Set_IncludeIdentityValues(pRetVal: WordBool); safecall;
function Get_ImportRowsPerBatch: Integer; safecall;
procedure Set_ImportRowsPerBatch(pRetVal: Integer); safecall;
function Get_UseBulkCopyOption: WordBool; safecall;
procedure Set_UseBulkCopyOption(pRetVal: WordBool); safecall;
function Get_SuspendIndexing: WordBool; safecall;
procedure Set_SuspendIndexing(pRetVal: WordBool); safecall;
function Get_TruncateLog: WordBool; safecall;
procedure Set_TruncateLog(pRetVal: WordBool); safecall;
function Get_UseExistingConnection: WordBool; safecall;
procedure Set_UseExistingConnection(pRetVal: WordBool); safecall;
procedure Abort; safecall;
function Get_Use6xCompatible: WordBool; safecall;
procedure Set_Use6xCompatible(pRetVal: WordBool); safecall;
function Get_CodePage: Integer; safecall;
procedure SetCodePage(lNew: SQLDMO_BCP_CODEPAGE_TYPE; UserCodePage:
OleVariant); safecall;
function Get_UseServerSideBCP: WordBool; safecall;
procedure Set_UseServerSideBCP(pRetVal: WordBool); safecall;
function Get_ServerBCPDataFileType: SQLDMO_SERVERBCP_DATAFILE_TYPE;
safecall;
procedure Set_ServerBCPDataFileType(pRetVal:
SQLDMO_SERVERBCP_DATAFILE_TYPE); safecall;
function Get_ServerBCPKeepIdentity: WordBool; safecall;
procedure Set_ServerBCPKeepIdentity(pRetVal: WordBool); safecall;
function Get_ServerBCPKeepNulls: WordBool; safecall;
procedure Set_ServerBCPKeepNulls(pRetVal: WordBool); safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property DataFilePath: WideString read Get_DataFilePath write
Set_DataFilePath;
property FormatFilePath: WideString read Get_FormatFilePath write
Set_FormatFilePath;
property ErrorFilePath: WideString read Get_ErrorFilePath write
Set_ErrorFilePath;
property LogFilePath: WideString read Get_LogFilePath write
Set_LogFilePath;
property ColumnDelimiter: WideString read Get_ColumnDelimiter write
Set_ColumnDelimiter;
property RowDelimiter: WideString read Get_RowDelimiter write
Set_RowDelimiter;
property DataFileType: SQLDMO_DATAFILE_TYPE read Get_DataFileType write
Set_DataFileType;
property FirstRow: Integer read Get_FirstRow write Set_FirstRow;
property LastRow: Integer read Get_LastRow write Set_LastRow;
property MaximumErrorsBeforeAbort: Integer read
Get_MaximumErrorsBeforeAbort write Set_MaximumErrorsBeforeAbort;
property IncludeIdentityValues: WordBool read Get_IncludeIdentityValues
write Set_IncludeIdentityValues;
property ImportRowsPerBatch: Integer read Get_ImportRowsPerBatch write
Set_ImportRowsPerBatch;
property UseBulkCopyOption: WordBool read Get_UseBulkCopyOption write
Set_UseBulkCopyOption;
property SuspendIndexing: WordBool read Get_SuspendIndexing write
Set_SuspendIndexing;
property TruncateLog: WordBool read Get_TruncateLog write
Set_TruncateLog;
property UseExistingConnection: WordBool read Get_UseExistingConnection
write Set_UseExistingConnection;
property Use6xCompatible: WordBool read Get_Use6xCompatible write
Set_Use6xCompatible;
property CodePage: Integer read Get_CodePage;
property UseServerSideBCP: WordBool read Get_UseServerSideBCP write
Set_UseServerSideBCP;
property ServerBCPDataFileType: SQLDMO_SERVERBCP_DATAFILE_TYPE read
Get_ServerBCPDataFileType write Set_ServerBCPDataFileType;
property ServerBCPKeepIdentity: WordBool read Get_ServerBCPKeepIdentity
write Set_ServerBCPKeepIdentity;
property ServerBCPKeepNulls: WordBool read Get_ServerBCPKeepNulls write
Set_ServerBCPKeepNulls;
end;
// *********************************************************************//
// DispIntf: _BulkCopyDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10021C06-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_BulkCopyDisp = dispinterface
['{10021C06-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property DataFilePath: WideString dispid 10;
property FormatFilePath: WideString dispid 11;
property ErrorFilePath: WideString dispid 12;
property LogFilePath: WideString dispid 13;
property ColumnDelimiter: WideString dispid 14;
property RowDelimiter: WideString dispid 15;
property DataFileType: SQLDMO_DATAFILE_TYPE dispid 16;
property FirstRow: Integer dispid 17;
property LastRow: Integer dispid 18;
property MaximumErrorsBeforeAbort: Integer dispid 19;
property IncludeIdentityValues: WordBool dispid 20;
property ImportRowsPerBatch: Integer dispid 21;
property UseBulkCopyOption: WordBool dispid 22;
property SuspendIndexing: WordBool dispid 23;
property TruncateLog: WordBool dispid 24;
property UseExistingConnection: WordBool dispid 25;
procedure Abort; dispid 100;
property Use6xCompatible: WordBool dispid 26;
property CodePage: Integer readonly dispid 27;
procedure SetCodePage(lNew: SQLDMO_BCP_CODEPAGE_TYPE; UserCodePage:
OleVariant); dispid 101;
property UseServerSideBCP: WordBool dispid 28;
property ServerBCPDataFileType: SQLDMO_SERVERBCP_DATAFILE_TYPE dispid
29;
property ServerBCPKeepIdentity: WordBool dispid 30;
property ServerBCPKeepNulls: WordBool dispid 31;
end;
// *********************************************************************//
// Interface: NameList
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10022406-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
NameList = interface(_IVSQLDMOStdObject)
['{10022406-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Item(Index: OleVariant): WideString; safecall;
function Get__NewEnum: IUnknown; safecall;
function Get_Count: Integer; safecall;
procedure Refresh; safecall;
function FindName(const Name: WideString): Integer; safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property _NewEnum: IUnknown read Get__NewEnum;
property Count: Integer read Get_Count;
end;
// *********************************************************************//
// DispIntf: NameListDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10022406-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
NameListDisp = dispinterface
['{10022406-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
function Item(Index: OleVariant): WideString; dispid 0;
property _NewEnum: IUnknown readonly dispid -4;
property Count: Integer readonly dispid 5;
procedure Refresh; dispid 102;
function FindName(const Name: WideString): Integer; dispid 105;
end;
// *********************************************************************//
// Interface: Views
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10020703-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
Views = interface(_IVSQLDMOStdObject)
['{10020703-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Item(Index: OleVariant; Owner: OleVariant): View; safecall;
function Get__NewEnum: IUnknown; safecall;
function Get_Count: Integer; safecall;
function ItemByID(ID: Integer): View; safecall;
procedure Add(const Object_: View); safecall;
procedure Remove(Index: OleVariant; Owner: OleVariant); safecall;
procedure Refresh(ReleaseMemberObjects: OleVariant); safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property _NewEnum: IUnknown read Get__NewEnum;
property Count: Integer read Get_Count;
end;
// *********************************************************************//
// DispIntf: ViewsDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10020703-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
ViewsDisp = dispinterface
['{10020703-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
function Item(Index: OleVariant; Owner: OleVariant): View; dispid 0;
property _NewEnum: IUnknown readonly dispid -4;
property Count: Integer readonly dispid 5;
function ItemByID(ID: Integer): View; dispid 6;
procedure Add(const Object_: View); dispid 100;
procedure Remove(Index: OleVariant; Owner: OleVariant); dispid 101;
procedure Refresh(ReleaseMemberObjects: OleVariant); dispid 102;
end;
// *********************************************************************//
// Interface: _View
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10020706-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_View = interface(_IVSQLDMOStdObject)
['{10020706-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_Name: WideString; safecall;
procedure Set_Name(const pRetVal: WideString); safecall;
function Get_Owner: WideString; safecall;
procedure Set_Owner(const pRetVal: WideString); safecall;
function Get_CreateDate: WideString; safecall;
function Get_ID: Integer; safecall;
function Get_Text: WideString; safecall;
procedure Set_Text(const pRetVal: WideString); safecall;
function Get_SystemObject: WordBool; safecall;
procedure Grant(Privileges: SQLDMO_PRIVILEGE_TYPE; const Gran{*word*249}ames:
WideString;
ColumnNames: OleVariant; GrantGrant: OleVariant; AsRole:
OleVariant); safecall;
procedure Revoke(Privileges: SQLDMO_PRIVILEGE_TYPE; const RevokeeNames:
WideString;
ColumnNames: OleVariant; GrantGrant: OleVariant;
RevokeGrantOption: OleVariant; AsRole: OleVariant);
safecall;
procedure Remove; safecall;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant;
Script2Type: OleVariant): WideString; safecall;
function EnumDependencies(DependencyType: OleVariant): QueryResults;
safecall;
function ListPermissions(PrivilegeTypes: OleVariant): SQLObjectList;
safecall;
function ListUserPermissions(const UserName: WideString): SQLObjectList;
safecall;
function ListColumns: SQLObjectList; safecall;
function ExportData(const Bcp: BulkCopy): Integer; safecall;
procedure Deny(Privileges: SQLDMO_PRIVILEGE_TYPE; const DenyeeNames:
WideString;
ColumnNames: OleVariant; GrantGrant: OleVariant);
safecall;
procedure Alter(const NewText: WideString); safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property Name: WideString read Get_Name write Set_Name;
property Owner: WideString read Get_Owner write Set_Owner;
property CreateDate: WideString read Get_CreateDate;
property ID: Integer read Get_ID;
property Text: WideString read Get_Text write Set_Text;
property SystemObject: WordBool read Get_SystemObject;
end;
// *********************************************************************//
// DispIntf: _ViewDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10020706-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_ViewDisp = dispinterface
['{10020706-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property Name: WideString dispid 9;
property Owner: WideString dispid 14;
property CreateDate: WideString readonly dispid 15;
property ID: Integer readonly dispid 16;
property Text: WideString dispid 17;
property SystemObject: WordBool readonly dispid 22;
procedure Grant(Privileges: SQLDMO_PRIVILEGE_TYPE; const Gran{*word*249}ames:
WideString;
ColumnNames: OleVariant; GrantGrant: OleVariant; AsRole:
OleVariant); dispid 100;
procedure Revoke(Privileges: SQLDMO_PRIVILEGE_TYPE; const RevokeeNames:
WideString;
ColumnNames: OleVariant; GrantGrant: OleVariant;
RevokeGrantOption: OleVariant; AsRole: OleVariant);
dispid 101;
procedure Remove; dispid 102;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant;
Script2Type: OleVariant): WideString; dispid 103;
function EnumDependencies(DependencyType: OleVariant): QueryResults;
dispid 104;
function ListPermissions(PrivilegeTypes: OleVariant): SQLObjectList;
dispid 105;
function ListUserPermissions(const UserName: WideString): SQLObjectList;
dispid 106;
function ListColumns: SQLObjectList; dispid 108;
function ExportData(const Bcp: BulkCopy): Integer; dispid 107;
procedure Deny(Privileges: SQLDMO_PRIVILEGE_TYPE; const DenyeeNames:
WideString;
ColumnNames: OleVariant; GrantGrant: OleVariant); dispid
109;
procedure Alter(const NewText: WideString); dispid 110;
end;
// *********************************************************************//
// Interface: StoredProcedures
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10020D03-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
StoredProcedures = interface(_IVSQLDMOStdObject)
['{10020D03-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Item(Index: OleVariant; Owner: OleVariant): StoredProcedure;
safecall;
function Get__NewEnum: IUnknown; safecall;
function Get_Count: Integer; safecall;
function ItemByID(ID: Integer): StoredProcedure; safecall;
procedure Add(const Object_: StoredProcedure); safecall;
procedure Remove(Index: OleVariant; Owner: OleVariant); safecall;
procedure Refresh(ReleaseMemberObjects: OleVariant); safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property _NewEnum: IUnknown read Get__NewEnum;
property Count: Integer read Get_Count;
end;
// *********************************************************************//
// DispIntf: StoredProceduresDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10020D03-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
StoredProceduresDisp = dispinterface
['{10020D03-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
function Item(Index: OleVariant; Owner: OleVariant): StoredProcedure;
dispid 0;
property _NewEnum: IUnknown readonly dispid -4;
property Count: Integer readonly dispid 5;
function ItemByID(ID: Integer): StoredProcedure; dispid 6;
procedure Add(const Object_: StoredProcedure); dispid 100;
procedure Remove(Index: OleVariant; Owner: OleVariant); dispid 101;
procedure Refresh(ReleaseMemberObjects: OleVariant); dispid 102;
end;
// *********************************************************************//
// Interface: _StoredProcedure
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10020D06-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_StoredProcedure = interface(_IVSQLDMOStdObject)
['{10020D06-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_Name: WideString; safecall;
procedure Set_Name(const pRetVal: WideString); safecall;
function Get_SystemObject: WordBool; safecall;
function Get_Type_: SQLDMO_PROCEDURE_TYPE; safecall;
procedure Set_Type_(pRetVal: SQLDMO_PROCEDURE_TYPE); safecall;
function Get_Startup: WordBool; safecall;
procedure Set_Startup(pRetVal: WordBool); safecall;
function Get_Owner: WideString; safecall;
procedure Set_Owner(const pRetVal: WideString); safecall;
function Get_CreateDate: WideString; safecall;
function Get_ID: Integer; safecall;
function Get_Text: WideString; safecall;
procedure Set_Text(const pRetVal: WideString); safecall;
procedure Grant(Privileges: SQLDMO_PRIVILEGE_TYPE; const Gran{*word*249}ames:
WideString;
GrantGrant: OleVariant; AsRole: OleVariant); safecall;
procedure Revoke(Privileges: SQLDMO_PRIVILEGE_TYPE; const RevokeeNames:
WideString;
GrantGrant: OleVariant; RevokeGrantOption: OleVariant;
AsRole: OleVariant); safecall;
function ListPermissions(PrivilegeTypes: OleVariant): SQLObjectList;
safecall;
function ListUserPermissions(const UserName: WideString): SQLObjectList;
safecall;
function EnumParameters: QueryResults; safecall;
procedure Remove; safecall;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant;
Script2Type: OleVariant): WideString; safecall;
function EnumDependencies(DependencyType: OleVariant): QueryResults;
safecall;
procedure Deny(Privileges: SQLDMO_PRIVILEGE_TYPE; const DenyeeNames:
WideString;
GrantGrant: OleVariant); safecall;
procedure Alter(const NewText: WideString); safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property Name: WideString read Get_Name write Set_Name;
property SystemObject: WordBool read Get_SystemObject;
property Type_: SQLDMO_PROCEDURE_TYPE read Get_Type_ write Set_Type_;
property Startup: WordBool read Get_Startup write Set_Startup;
property Owner: WideString read Get_Owner write Set_Owner;
property CreateDate: WideString read Get_CreateDate;
property ID: Integer read Get_ID;
property Text: WideString read Get_Text write Set_Text;
end;
// *********************************************************************//
// DispIntf: _StoredProcedureDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10020D06-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_StoredProcedureDisp = dispinterface
['{10020D06-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property Name: WideString dispid 9;
property SystemObject: WordBool readonly dispid 11;
property Type_: SQLDMO_PROCEDURE_TYPE dispid 12;
property Startup: WordBool dispid 13;
property Owner: WideString dispid 14;
property CreateDate: WideString readonly dispid 15;
property ID: Integer readonly dispid 16;
property Text: WideString dispid 17;
procedure Grant(Privileges: SQLDMO_PRIVILEGE_TYPE; const Gran{*word*249}ames:
WideString;
GrantGrant: OleVariant; AsRole: OleVariant); dispid 100;
procedure Revoke(Privileges: SQLDMO_PRIVILEGE_TYPE; const RevokeeNames:
WideString;
GrantGrant: OleVariant; RevokeGrantOption: OleVariant;
AsRole: OleVariant); dispid 101;
function ListPermissions(PrivilegeTypes: OleVariant): SQLObjectList;
dispid 102;
function ListUserPermissions(const UserName: WideString): SQLObjectList;
dispid 103;
function EnumParameters: QueryResults; dispid 104;
procedure Remove; dispid 105;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant;
Script2Type: OleVariant): WideString; dispid 106;
function EnumDependencies(DependencyType: OleVariant): QueryResults;
dispid 107;
procedure Deny(Privileges: SQLDMO_PRIVILEGE_TYPE; const DenyeeNames:
WideString;
GrantGrant: OleVariant); dispid 108;
procedure Alter(const NewText: WideString); dispid 109;
end;
// *********************************************************************//
// Interface: Defaults
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10020903-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
Defaults = interface(_IVSQLDMOStdObject)
['{10020903-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Item(Index: OleVariant; Owner: OleVariant): Default; safecall;
function Get__NewEnum: IUnknown; safecall;
function Get_Count: Integer; safecall;
function ItemByID(ID: Integer): Default; safecall;
procedure Add(const Object_: Default); safecall;
procedure Remove(Index: OleVariant; Owner: OleVariant); safecall;
procedure Refresh(ReleaseMemberObjects: OleVariant); safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property _NewEnum: IUnknown read Get__NewEnum;
property Count: Integer read Get_Count;
end;
// *********************************************************************//
// DispIntf: DefaultsDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10020903-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
DefaultsDisp = dispinterface
['{10020903-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
function Item(Index: OleVariant; Owner: OleVariant): Default; dispid 0;
property _NewEnum: IUnknown readonly dispid -4;
property Count: Integer readonly dispid 5;
function ItemByID(ID: Integer): Default; dispid 6;
procedure Add(const Object_: Default); dispid 100;
procedure Remove(Index: OleVariant; Owner: OleVariant); dispid 101;
procedure Refresh(ReleaseMemberObjects: OleVariant); dispid 102;
end;
// *********************************************************************//
// Interface: _Default
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10020906-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_Default = interface(_IVSQLDMOStdObject)
['{10020906-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_Name: WideString; safecall;
procedure Set_Name(const pRetVal: WideString); safecall;
function Get_Owner: WideString; safecall;
procedure Set_Owner(const pRetVal: WideString); safecall;
function Get_CreateDate: WideString; safecall;
function Get_ID: Integer; safecall;
function Get_Text: WideString; safecall;
procedure Set_Text(const pRetVal: WideString); safecall;
procedure BindToColumn(const TableName: WideString; const ColumnName:
WideString); safecall;
procedure BindToDatatype(const DatatypeName: WideString; FutureOnly:
OleVariant); safecall;
procedure UnbindFromColumn(const TableName: WideString; const
ColumnName: WideString); safecall;
procedure UnbindFromDatatype(const DatatypeName: WideString; FutureOnly:
OleVariant); safecall;
function ListBoundColumns: SQLObjectList; safecall;
function ListBoundDatatypes: SQLObjectList; safecall;
procedure Remove; safecall;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant;
Script2Type: OleVariant): WideString; safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property Name: WideString read Get_Name write Set_Name;
property Owner: WideString read Get_Owner write Set_Owner;
property CreateDate: WideString read Get_CreateDate;
property ID: Integer read Get_ID;
property Text: WideString read Get_Text write Set_Text;
end;
// *********************************************************************//
// DispIntf: _DefaultDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10020906-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_DefaultDisp = dispinterface
['{10020906-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property Name: WideString dispid 9;
property Owner: WideString dispid 14;
property CreateDate: WideString readonly dispid 15;
property ID: Integer readonly dispid 16;
property Text: WideString dispid 17;
procedure BindToColumn(const TableName: WideString; const ColumnName:
WideString); dispid 100;
procedure BindToDatatype(const DatatypeName: WideString; FutureOnly:
OleVariant); dispid 101;
procedure UnbindFromColumn(const TableName: WideString; const
ColumnName: WideString); dispid 102;
procedure UnbindFromDatatype(const DatatypeName: WideString; FutureOnly:
OleVariant); dispid 103;
function ListBoundColumns: SQLObjectList; dispid 106;
function ListBoundDatatypes: SQLObjectList; dispid 107;
procedure Remove; dispid 108;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant;
Script2Type: OleVariant): WideString; dispid 109;
end;
// *********************************************************************//
// Interface: Rules
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10020A03-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
Rules = interface(_IVSQLDMOStdObject)
['{10020A03-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Item(Index: OleVariant; Owner: OleVariant): Rule; safecall;
function Get__NewEnum: IUnknown; safecall;
function Get_Count: Integer; safecall;
function ItemByID(ID: Integer): Rule; safecall;
procedure Add(const Object_: Rule); safecall;
procedure Remove(Index: OleVariant; Owner: OleVariant); safecall;
procedure Refresh(ReleaseMemberObjects: OleVariant); safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property _NewEnum: IUnknown read Get__NewEnum;
property Count: Integer read Get_Count;
end;
// *********************************************************************//
// DispIntf: RulesDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10020A03-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
RulesDisp = dispinterface
['{10020A03-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
function Item(Index: OleVariant; Owner: OleVariant): Rule; dispid 0;
property _NewEnum: IUnknown readonly dispid -4;
property Count: Integer readonly dispid 5;
function ItemByID(ID: Integer): Rule; dispid 6;
procedure Add(const Object_: Rule); dispid 100;
procedure Remove(Index: OleVariant; Owner: OleVariant); dispid 101;
procedure Refresh(ReleaseMemberObjects: OleVariant); dispid 102;
end;
// *********************************************************************//
// Interface: _Rule
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10020A06-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_Rule = interface(_IVSQLDMOStdObject)
['{10020A06-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_Name: WideString; safecall;
procedure Set_Name(const pRetVal: WideString); safecall;
function Get_Owner: WideString; safecall;
procedure Set_Owner(const pRetVal: WideString); safecall;
function Get_CreateDate: WideString; safecall;
function Get_ID: Integer; safecall;
function Get_Text: WideString; safecall;
procedure Set_Text(const pRetVal: WideString); safecall;
procedure BindToColumn(const TableName: WideString; const ColumnName:
WideString); safecall;
procedure BindToDatatype(const DatatypeName: WideString; FutureOnly:
OleVariant); safecall;
procedure UnbindFromColumn(const TableName: WideString; const
ColumnName: WideString); safecall;
procedure UnbindFromDatatype(const DatatypeName: WideString; FutureOnly:
OleVariant); safecall;
function ListBoundColumns: SQLObjectList; safecall;
function ListBoundDatatypes: SQLObjectList; safecall;
procedure Remove; safecall;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant;
Script2Type: OleVariant): WideString; safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property Name: WideString read Get_Name write Set_Name;
property Owner: WideString read Get_Owner write Set_Owner;
property CreateDate: WideString read Get_CreateDate;
property ID: Integer read Get_ID;
property Text: WideString read Get_Text write Set_Text;
end;
// *********************************************************************//
// DispIntf: _RuleDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10020A06-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_RuleDisp = dispinterface
['{10020A06-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property Name: WideString dispid 9;
property Owner: WideString dispid 14;
property CreateDate: WideString readonly dispid 15;
property ID: Integer readonly dispid 16;
property Text: WideString dispid 17;
procedure BindToColumn(const TableName: WideString; const ColumnName:
WideString); dispid 100;
procedure BindToDatatype(const DatatypeName: WideString; FutureOnly:
OleVariant); dispid 101;
procedure UnbindFromColumn(const TableName: WideString; const
ColumnName: WideString); dispid 102;
procedure UnbindFromDatatype(const DatatypeName: WideString; FutureOnly:
OleVariant); dispid 103;
function ListBoundColumns: SQLObjectList; dispid 106;
function ListBoundDatatypes: SQLObjectList; dispid 107;
procedure Remove; dispid 108;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant;
Script2Type: OleVariant): WideString; dispid 109;
end;
// *********************************************************************//
// Interface: UserDefinedDatatypes
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10020803-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
UserDefinedDatatypes = interface(_IVSQLDMOStdObject)
['{10020803-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Item(Index: OleVariant; Owner: OleVariant):
UserDefinedDatatype; safecall;
function Get__NewEnum: IUnknown; safecall;
function Get_Count: Integer; safecall;
function ItemByID(ID: Integer): UserDefinedDatatype; safecall;
procedure Add(const Object_: UserDefinedDatatype); safecall;
procedure Remove(Index: OleVariant; Owner: OleVariant); safecall;
procedure Refresh(ReleaseMemberObjects: OleVariant); safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property _NewEnum: IUnknown read Get__NewEnum;
property Count: Integer read Get_Count;
end;
// *********************************************************************//
// DispIntf: UserDefinedDatatypesDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10020803-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
UserDefinedDatatypesDisp = dispinterface
['{10020803-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
function Item(Index: OleVariant; Owner: OleVariant):
UserDefinedDatatype; dispid 0;
property _NewEnum: IUnknown readonly dispid -4;
property Count: Integer readonly dispid 5;
function ItemByID(ID: Integer): UserDefinedDatatype; dispid 6;
procedure Add(const Object_: UserDefinedDatatype); dispid 100;
procedure Remove(Index: OleVariant; Owner: OleVariant); dispid 101;
procedure Refresh(ReleaseMemberObjects: OleVariant); dispid 102;
end;
// *********************************************************************//
// Interface: _UserDefinedDatatype
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10020806-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_UserDefinedDatatype = interface(_IVSQLDMOStdObject)
['{10020806-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_Name: WideString; safecall;
procedure Set_Name(const pRetVal: WideString); safecall;
function Get_Owner: WideString; safecall;
function Get_AllowNulls: WordBool; safecall;
procedure Set_AllowNulls(pRetVal: WordBool); safecall;
function Get_BaseType: WideString; safecall;
procedure Set_BaseType(const pRetVal: WideString); safecall;
function Get_Length: Integer; safecall;
procedure Set_Length(pRetVal: Integer); safecall;
function Get_Default: WideString; safecall;
procedure Set_Default(const pRetVal: WideString); safecall;
function Get_Rule: WideString; safecall;
procedure Set_Rule(const pRetVal: WideString); safecall;
function Get_ID: Integer; safecall;
function Get_NumericPrecision: Integer; safecall;
procedure Set_NumericPrecision(pRetVal: Integer); safecall;
function Get_NumericScale: Integer; safecall;
procedure Set_NumericScale(pRetVal: Integer); safecall;
function Get_AllowIdentity: WordBool; safecall;
function ListBoundColumns: SQLObjectList; safecall;
procedure Remove; safecall;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant;
Script2Type: OleVariant): WideString; safecall;
function Get_IsVariableLength: WordBool; safecall;
function GenerateSQL(const pDB: Database): WideString; safecall;
function Get_MaxSize: Integer; safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property Name: WideString read Get_Name write Set_Name;
property Owner: WideString read Get_Owner;
property AllowNulls: WordBool read Get_AllowNulls write Set_AllowNulls;
property BaseType: WideString read Get_BaseType write Set_BaseType;
property Length: Integer read Get_Length write Set_Length;
property Default: WideString read Get_Default write Set_Default;
property Rule: WideString read Get_Rule write Set_Rule;
property ID: Integer read Get_ID;
property NumericPrecision: Integer read Get_NumericPrecision write
Set_NumericPrecision;
property NumericScale: Integer read Get_NumericScale write
Set_NumericScale;
property AllowIdentity: WordBool read Get_AllowIdentity;
property IsVariableLength: WordBool read Get_IsVariableLength;
property MaxSize: Integer read Get_MaxSize;
end;
// *********************************************************************//
// DispIntf: _UserDefinedDatatypeDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10020806-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_UserDefinedDatatypeDisp = dispinterface
['{10020806-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property Name: WideString dispid 9;
property Owner: WideString readonly dispid 14;
property AllowNulls: WordBool dispid 15;
property BaseType: WideString dispid 16;
property Length: Integer dispid 17;
property Default: WideString dispid 18;
property Rule: WideString dispid 19;
property ID: Integer readonly dispid 20;
property NumericPrecision: Integer dispid 22;
property NumericScale: Integer dispid 23;
property AllowIdentity: WordBool readonly dispid 24;
function ListBoundColumns: SQLObjectList; dispid 100;
procedure Remove; dispid 101;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant;
Script2Type: OleVariant): WideString; dispid 102;
property IsVariableLength: WordBool readonly dispid 25;
function GenerateSQL(const pDB: Database): WideString; dispid 103;
property MaxSize: Integer readonly dispid 26;
end;
// *********************************************************************//
// Interface: Users
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10020B03-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
Users = interface(_IVSQLDMOStdObject)
['{10020B03-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Item(Index: OleVariant): User; safecall;
function Get__NewEnum: IUnknown; safecall;
function Get_Count: Integer; safecall;
function ItemByID(ID: Integer): User; safecall;
procedure Add(const Object_: User); safecall;
procedure Remove(Index: OleVariant); safecall;
procedure Refresh(ReleaseMemberObjects: OleVariant); safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property _NewEnum: IUnknown read Get__NewEnum;
property Count: Integer read Get_Count;
end;
// *********************************************************************//
// DispIntf: UsersDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10020B03-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
UsersDisp = dispinterface
['{10020B03-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
function Item(Index: OleVariant): User; dispid 0;
property _NewEnum: IUnknown readonly dispid -4;
property Count: Integer readonly dispid 5;
function ItemByID(ID: Integer): User; dispid 6;
procedure Add(const Object_: User); dispid 100;
procedure Remove(Index: OleVariant); dispid 101;
procedure Refresh(ReleaseMemberObjects: OleVariant); dispid 102;
end;
// *********************************************************************//
// Interface: _User
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10020B06-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_User = interface(_IVSQLDMOStdObject)
['{10020B06-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_Name: WideString; safecall;
procedure Set_Name(const pRetVal: WideString); safecall;
function Get_SystemObject: WordBool; safecall;
function Get_Login: WideString; safecall;
procedure Set_Login(const pRetVal: WideString); safecall;
function Get_Group: WideString; safecall;
procedure Set_Group(const pRetVal: WideString); safecall;
function Get_ID: Integer; safecall;
procedure AddAlias(const LoginNames: WideString); safecall;
procedure RemoveAlias(const LoginNames: WideString); safecall;
function ListAliases: SQLObjectList; safecall;
function ListOwnedObjects(ObjectTypes: OleVariant; SortBy: OleVariant):
SQLObjectList; safecall;
function ListDatabasePermissions(PrivilegeTypes: OleVariant):
SQLObjectList; safecall;
function ListObjectPermissions(PrivilegeTypes: OleVariant):
SQLObjectList; safecall;
procedure Remove; safecall;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant;
Script2Type: OleVariant): WideString; safecall;
function Get_Role: WideString; safecall;
procedure Set_Role(const pRetVal: WideString); safecall;
function ListMembers: NameList; safecall;
function IsMember(const DatabaseRole: WideString): WordBool; safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property Name: WideString read Get_Name write Set_Name;
property SystemObject: WordBool read Get_SystemObject;
property Login: WideString read Get_Login write Set_Login;
property Group: WideString read Get_Group write Set_Group;
property ID: Integer read Get_ID;
property Role: WideString read Get_Role write Set_Role;
end;
// *********************************************************************//
// DispIntf: _UserDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10020B06-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_UserDisp = dispinterface
['{10020B06-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property Name: WideString dispid 9;
property SystemObject: WordBool readonly dispid 12;
property Login: WideString dispid 14;
property Group: WideString dispid 15;
property ID: Integer readonly dispid 16;
procedure AddAlias(const LoginNames: WideString); dispid 100;
procedure RemoveAlias(const LoginNames: WideString); dispid 101;
function ListAliases: SQLObjectList; dispid 102;
function ListOwnedObjects(ObjectTypes: OleVariant; SortBy: OleVariant):
SQLObjectList; dispid 103;
function ListDatabasePermissions(PrivilegeTypes: OleVariant):
SQLObjectList; dispid 105;
function ListObjectPermissions(PrivilegeTypes: OleVariant):
SQLObjectList; dispid 106;
procedure Remove; dispid 107;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant;
Script2Type: OleVariant): WideString; dispid 108;
property Role: WideString dispid 17;
function ListMembers: NameList; dispid 109;
function IsMember(const DatabaseRole: WideString): WordBool; dispid 110;
end;
// *********************************************************************//
// Interface: Groups
// Flags: (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID: {10020C03-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
Groups = interface(_IVSQLDMOStdObject)
['{10020C03-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Item(Index: OleVariant): Group; safecall;
function Get__NewEnum: IUnknown; safecall;
function Get_Count: Integer; safecall;
function ItemByID(ID: Integer): Group; safecall;
procedure Add(const Object_: Group); safecall;
procedure Remove(Index: OleVariant); safecall;
procedure Refresh(ReleaseMemberObjects: OleVariant); safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property _NewEnum: IUnknown read Get__NewEnum;
property Count: Integer read Get_Count;
end;
// *********************************************************************//
// DispIntf: GroupsDisp
// Flags: (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID: {10020C03-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
GroupsDisp = dispinterface
['{10020C03-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
function Item(Index: OleVariant): Group; dispid 0;
property _NewEnum: IUnknown readonly dispid -4;
property Count: Integer readonly dispid 5;
function ItemByID(ID: Integer): Group; dispid 6;
procedure Add(const Object_: Group); dispid 100;
procedure Remove(Index: OleVariant); dispid 101;
procedure Refresh(ReleaseMemberObjects: OleVariant); dispid 102;
end;
// *********************************************************************//
// Interface: _Group
// Flags: (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID: {10020C06-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_Group = interface(_IVSQLDMOStdObject)
['{10020C06-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_Name: WideString; safecall;
procedure Set_Name(const pRetVal: WideString); safecall;
function Get_SystemObject: WordBool; safecall;
function Get_ID: Integer; safecall;
function ListUsers: SQLObjectList; safecall;
function ListDatabasePermissions(PrivilegeTypes: OleVariant):
SQLObjectList; safecall;
function ListObjectPermissions(PrivilegeTypes: OleVariant):
SQLObjectList; safecall;
procedure Remove; safecall;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant;
Script2Type: OleVariant): WideString; safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property Name: WideString read Get_Name write Set_Name;
property SystemObject: WordBool read Get_SystemObject;
property ID: Integer read Get_ID;
end;
// *********************************************************************//
// DispIntf: _GroupDisp
// Flags: (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID: {10020C06-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_GroupDisp = dispinterface
['{10020C06-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property Name: WideString dispid 9;
property SystemObject: WordBool readonly dispid 12;
property ID: Integer readonly dispid 14;
function ListUsers: SQLObjectList; dispid 100;
function ListDatabasePermissions(PrivilegeTypes: OleVariant):
SQLObjectList; dispid 101;
function ListObjectPermissions(PrivilegeTypes: OleVariant):
SQLObjectList; dispid 102;
procedure Remove; dispid 103;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant;
Script2Type: OleVariant): WideString; dispid 104;
end;
// *********************************************************************//
// Interface: SystemDatatypes
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10021A03-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
SystemDatatypes = interface(_IVSQLDMOStdObject)
['{10021A03-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Item(Index: OleVariant): SystemDatatype; safecall;
function Get__NewEnum: IUnknown; safecall;
function Get_Count: Integer; safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property _NewEnum: IUnknown read Get__NewEnum;
property Count: Integer read Get_Count;
end;
// *********************************************************************//
// DispIntf: SystemDatatypesDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10021A03-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
SystemDatatypesDisp = dispinterface
['{10021A03-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
function Item(Index: OleVariant): SystemDatatype; dispid 0;
property _NewEnum: IUnknown readonly dispid -4;
property Count: Integer readonly dispid 5;
end;
// *********************************************************************//
// Interface: SystemDatatype
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10021A06-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
SystemDatatype = interface(_IVSQLDMOStdObject)
['{10021A06-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_Name: WideString; safecall;
function Get_MaximumLength: Integer; safecall;
function Get_AllowNulls: WordBool; safecall;
function Get_IsNumeric: WordBool; safecall;
function Get_AllowIdentity: WordBool; safecall;
function Get_IsVariableLength: WordBool; safecall;
function Get_AllowLength: WordBool; safecall;
function Get_MaximumChar: Integer; safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property Name: WideString read Get_Name;
property MaximumLength: Integer read Get_MaximumLength;
property AllowNulls: WordBool read Get_AllowNulls;
property IsNumeric: WordBool read Get_IsNumeric;
property AllowIdentity: WordBool read Get_AllowIdentity;
property IsVariableLength: WordBool read Get_IsVariableLength;
property AllowLength: WordBool read Get_AllowLength;
property MaximumChar: Integer read Get_MaximumChar;
end;
// *********************************************************************//
// DispIntf: SystemDatatypeDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10021A06-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
SystemDatatypeDisp = dispinterface
['{10021A06-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property Name: WideString readonly dispid 10;
property MaximumLength: Integer readonly dispid 11;
property AllowNulls: WordBool readonly dispid 12;
property IsNumeric: WordBool readonly dispid 13;
property AllowIdentity: WordBool readonly dispid 14;
property IsVariableLength: WordBool readonly dispid 15;
property AllowLength: WordBool readonly dispid 16;
property MaximumChar: Integer readonly dispid 17;
end;
// *********************************************************************//
// Interface: TransactionLog
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10022606-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
TransactionLog = interface(_IVSQLDMOStdObject)
['{10022606-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_CreateDate: WideString; safecall;
function Get_LastBackup: WideString; safecall;
function Get_Size: Integer; safecall;
function Get_SpaceAvailable: Integer; safecall;
function Get_SpaceAvailableInMB: Single; safecall;
function Get_SpaceAllocatedOnFiles(const DatabaseName: WideString):
Integer; safecall;
procedure Truncate; safecall;
function Get_LogFiles: LogFiles; safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property CreateDate: WideString read Get_CreateDate;
property LastBackup: WideString read Get_LastBackup;
property Size: Integer read Get_Size;
property SpaceAvailable: Integer read Get_SpaceAvailable;
property SpaceAvailableInMB: Single read Get_SpaceAvailableInMB;
property SpaceAllocatedOnFiles[const DatabaseName: WideString]: Integer
read Get_SpaceAllocatedOnFiles;
property LogFiles: LogFiles read Get_LogFiles;
end;
// *********************************************************************//
// DispIntf: TransactionLogDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10022606-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
TransactionLogDisp = dispinterface
['{10022606-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property CreateDate: WideString readonly dispid 10;
property LastBackup: WideString readonly dispid 11;
property Size: Integer readonly dispid 12;
property SpaceAvailable: Integer readonly dispid 13;
property SpaceAvailableInMB: Single readonly dispid 14;
property SpaceAllocatedOnFiles[const DatabaseName: WideString]: Integer
readonly dispid 15;
procedure Truncate; dispid 104;
property LogFiles: LogFiles readonly dispid 16;
end;
// *********************************************************************//
// Interface: LogFiles
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10022E03-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
LogFiles = interface(_IVSQLDMOStdObject)
['{10022E03-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Item(ItemIndex: OleVariant): LogFile; safecall;
function Get__NewEnum: IUnknown; safecall;
function Get_Count: Integer; safecall;
function ItemByID(ID: Integer): LogFile; safecall;
procedure Add(const Object_: LogFile); safecall;
procedure Refresh(ReleaseMemberObjects: OleVariant); safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property _NewEnum: IUnknown read Get__NewEnum;
property Count: Integer read Get_Count;
end;
// *********************************************************************//
// DispIntf: LogFilesDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10022E03-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
LogFilesDisp = dispinterface
['{10022E03-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
function Item(ItemIndex: OleVariant): LogFile; dispid 0;
property _NewEnum: IUnknown readonly dispid -4;
property Count: Integer readonly dispid 5;
function ItemByID(ID: Integer): LogFile; dispid 6;
procedure Add(const Object_: LogFile); dispid 100;
procedure Refresh(ReleaseMemberObjects: OleVariant); dispid 102;
end;
// *********************************************************************//
// Interface: _LogFile
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10022E06-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_LogFile = interface(_IVSQLDMOStdObject)
['{10022E06-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_Name: WideString; safecall;
procedure Set_Name(const pRetVal: WideString); safecall;
function Get_PhysicalName: WideString; safecall;
procedure Set_PhysicalName(const pRetVal: WideString); safecall;
function Get_SpaceAvailableInMB: Integer; safecall;
function Get_Size: Integer; safecall;
procedure Set_Size(pRetVal: Integer); safecall;
function Get_ID: Integer; safecall;
function Get_FileGrowth: Integer; safecall;
procedure Set_FileGrowth(pRetVal: Integer); safecall;
function Get_FileGrowthType: SQLDMO_GROWTH_TYPE; safecall;
procedure Set_FileGrowthType(pRetVal: SQLDMO_GROWTH_TYPE); safecall;
function Get_FileGrowthInKB: Single; safecall;
function Get_MaximumSize: Integer; safecall;
procedure Set_MaximumSize(pRetVal: Integer); safecall;
procedure Shrink(NewSizeInMB: Integer; Truncate: WordBool); safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property Name: WideString read Get_Name write Set_Name;
property PhysicalName: WideString read Get_PhysicalName write
Set_PhysicalName;
property SpaceAvailableInMB: Integer read Get_SpaceAvailableInMB;
property Size: Integer read Get_Size write Set_Size;
property ID: Integer read Get_ID;
property FileGrowth: Integer read Get_FileGrowth write Set_FileGrowth;
property FileGrowthType: SQLDMO_GROWTH_TYPE read Get_FileGrowthType
write Set_FileGrowthType;
property FileGrowthInKB: Single read Get_FileGrowthInKB;
property MaximumSize: Integer read Get_MaximumSize write
Set_MaximumSize;
end;
// *********************************************************************//
// DispIntf: _LogFileDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10022E06-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_LogFileDisp = dispinterface
['{10022E06-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property Name: WideString dispid 9;
property PhysicalName: WideString dispid 10;
property SpaceAvailableInMB: Integer readonly dispid 11;
property Size: Integer dispid 12;
property ID: Integer readonly dispid 13;
property FileGrowth: Integer dispid 14;
property FileGrowthType: SQLDMO_GROWTH_TYPE dispid 15;
property FileGrowthInKB: Single readonly dispid 16;
property MaximumSize: Integer dispid 17;
procedure Shrink(NewSizeInMB: Integer; Truncate: WordBool); dispid 101;
end;
// *********************************************************************//
// Interface: DBOption
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10022206-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
DBOption = interface(_IVSQLDMOStdObject)
['{10022206-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_SelectIntoBulkCopy: WordBool; safecall;
procedure Set_SelectIntoBulkCopy(pRetVal: WordBool); safecall;
function Get_DBOUseOnly: WordBool; safecall;
procedure Set_DBOUseOnly(pRetVal: WordBool); safecall;
function Get_ReadOnly: WordBool; safecall;
procedure Set_ReadOnly(pRetVal: WordBool); safecall;
function Get_SingleUser: WordBool; safecall;
procedure Set_SingleUser(pRetVal: WordBool); safecall;
function Get_TruncateLogOnCheckpoint: WordBool; safecall;
procedure Set_TruncateLogOnCheckpoint(pRetVal: WordBool); safecall;
function Get_ColumnsNullByDefault: WordBool; safecall;
procedure Set_ColumnsNullByDefault(pRetVal: WordBool); safecall;
function Get_Offline: WordBool; safecall;
procedure Set_Offline(pRetVal: WordBool); safecall;
procedure Refresh; safecall;
function Get_RecursiveTriggers: WordBool; safecall;
procedure Set_RecursiveTriggers(pRetVal: WordBool); safecall;
function Get_AutoShrink: WordBool; safecall;
procedure Set_AutoShrink(pRetVal: WordBool); safecall;
function Get_CompareNull: WordBool; safecall;
procedure Set_CompareNull(pRetVal: WordBool); safecall;
function Get_ContactNull: WordBool; safecall;
procedure Set_ContactNull(pRetVal: WordBool); safecall;
function Get_CursorCloseOnCommit: WordBool; safecall;
procedure Set_CursorCloseOnCommit(pRetVal: WordBool); safecall;
function Get_DefaultCursor: WordBool; safecall;
procedure Set_DefaultCursor(pRetVal: WordBool); safecall;
function Get_QuoteDelimiter: WordBool; safecall;
procedure Set_QuoteDelimiter(pRetVal: WordBool); safecall;
function Get_AssignmentDiag: WordBool; safecall;
procedure Set_AssignmentDiag(pRetVal: WordBool); safecall;
function Get_TornPageDetection: WordBool; safecall;
procedure Set_TornPageDetection(pRetVal: WordBool); safecall;
function Get_AutoClose: WordBool; safecall;
procedure Set_AutoClose(pRetVal: WordBool); safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property SelectIntoBulkCopy: WordBool read Get_SelectIntoBulkCopy write
Set_SelectIntoBulkCopy;
property DBOUseOnly: WordBool read Get_DBOUseOnly write Set_DBOUseOnly;
property ReadOnly: WordBool read Get_ReadOnly write Set_ReadOnly;
property SingleUser: WordBool read Get_SingleUser write Set_SingleUser;
property TruncateLogOnCheckpoint: WordBool read
Get_TruncateLogOnCheckpoint write Set_TruncateLogOnCheckpoint;
property ColumnsNullByDefault: WordBool read Get_ColumnsNullByDefault
write Set_ColumnsNullByDefault;
property Offline: WordBool read Get_Offline write Set_Offline;
property RecursiveTriggers: WordBool read Get_RecursiveTriggers write
Set_RecursiveTriggers;
property AutoShrink: WordBool read Get_AutoShrink write Set_AutoShrink;
property CompareNull: WordBool read Get_CompareNull write
Set_CompareNull;
property ContactNull: WordBool read Get_ContactNull write
Set_ContactNull;
property CursorCloseOnCommit: WordBool read Get_CursorCloseOnCommit
write Set_CursorCloseOnCommit;
property DefaultCursor: WordBool read Get_DefaultCursor write
Set_DefaultCursor;
property QuoteDelimiter: WordBool read Get_QuoteDelimiter write
Set_QuoteDelimiter;
property AssignmentDiag: WordBool read Get_AssignmentDiag write
Set_AssignmentDiag;
property TornPageDetection: WordBool read Get_TornPageDetection write
Set_TornPageDetection;
property AutoClose: WordBool read Get_AutoClose write Set_AutoClose;
end;
// *********************************************************************//
// DispIntf: DBOptionDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10022206-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
DBOptionDisp = dispinterface
['{10022206-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property SelectIntoBulkCopy: WordBool dispid 10;
property DBOUseOnly: WordBool dispid 11;
property ReadOnly: WordBool dispid 13;
property SingleUser: WordBool dispid 14;
property TruncateLogOnCheckpoint: WordBool dispid 15;
property ColumnsNullByDefault: WordBool dispid 17;
property Offline: WordBool dispid 18;
procedure Refresh; dispid 101;
property RecursiveTriggers: WordBool dispid 20;
property AutoShrink: WordBool dispid 21;
property CompareNull: WordBool dispid 22;
property ContactNull: WordBool dispid 23;
property CursorCloseOnCommit: WordBool dispid 24;
property DefaultCursor: WordBool dispid 25;
property QuoteDelimiter: WordBool dispid 26;
property AssignmentDiag: WordBool dispid 27;
property TornPageDetection: WordBool dispid 28;
property AutoClose: WordBool dispid 29;
end;
// *********************************************************************//
// Interface: DBObject
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10022106-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
DBObject = interface(_IVSQLDMOStdObject)
['{10022106-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_Name: WideString; safecall;
procedure Set_Name(const pRetVal: WideString); safecall;
function Get_Owner: WideString; safecall;
function Get_TypeName: WideString; safecall;
function Get_Type_: SQLDMO_OBJECT_TYPE; safecall;
function Get_CreateDate: WideString; safecall;
function Get_ID: Integer; safecall;
function Get_SystemObject: WordBool; safecall;
procedure Remove; safecall;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant;
Script2Type: OleVariant): WideString; safecall;
function EnumDependencies(DependencyType: OleVariant): QueryResults;
safecall;
function ListPermissions(PrivilegeTypes: OleVariant): SQLObjectList;
safecall;
function ListUserPermissions(const UserName: WideString): SQLObjectList;
safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property Name: WideString read Get_Name write Set_Name;
property Owner: WideString read Get_Owner;
property TypeName: WideString read Get_TypeName;
property Type_: SQLDMO_OBJECT_TYPE read Get_Type_;
property CreateDate: WideString read Get_CreateDate;
property ID: Integer read Get_ID;
property SystemObject: WordBool read Get_SystemObject;
end;
// *********************************************************************//
// DispIntf: DBObjectDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10022106-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
DBObjectDisp = dispinterface
['{10022106-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property Name: WideString dispid 10;
property Owner: WideString readonly dispid 11;
property TypeName: WideString readonly dispid 12;
property Type_: SQLDMO_OBJECT_TYPE readonly dispid 13;
property CreateDate: WideString readonly dispid 14;
property ID: Integer readonly dispid 15;
property SystemObject: WordBool readonly dispid 16;
procedure Remove; dispid 100;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant;
Script2Type: OleVariant): WideString; dispid 101;
function EnumDependencies(DependencyType: OleVariant): QueryResults;
dispid 102;
function ListPermissions(PrivilegeTypes: OleVariant): SQLObjectList;
dispid 103;
function ListUserPermissions(const UserName: WideString): SQLObjectList;
dispid 104;
end;
// *********************************************************************//
// Interface: TransferSink
// Flags: (256) OleAutomation
// GUID: {10021E09-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
TransferSink = interface(IUnknown)
['{10021E09-E260-11CF-AE68-00AA004A34D5}']
function StatusMessage(const Message: WideString): HResult; stdcall;
function PercentCompleteAtStep(const Message: WideString; Percent:
Integer): HResult; stdcall;
function ScriptTransferPercentComplete(const Message: WideString;
Percent: Integer): HResult; stdcall;
function TransferPercentComplete(const Message: WideString; Percent:
Integer): HResult; stdcall;
end;
// *********************************************************************//
// Interface: _Transfer
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10021E06-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_Transfer = interface(_IVSQLDMOStdObject)
['{10021E06-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_DestServer: WideString; safecall;
procedure Set_DestServer(const pRetVal: WideString); safecall;
function Get_DestLogin: WideString; safecall;
procedure Set_DestLogin(const pRetVal: WideString); safecall;
function Get_DestPassword: WideString; safecall;
procedure Set_DestPassword(const pRetVal: WideString); safecall;
function Get_DestDatabase: WideString; safecall;
procedure Set_DestDatabase(const pRetVal: WideString); safecall;
function Get_CopyData: SQLDMO_COPYDATA_TYPE; safecall;
procedure Set_CopyData(pRetVal: SQLDMO_COPYDATA_TYPE); safecall;
function Get_CopySchema: WordBool; safecall;
procedure Set_CopySchema(pRetVal: WordBool); safecall;
function Get_CopyAllObjects: WordBool; safecall;
procedure Set_CopyAllObjects(pRetVal: WordBool); safecall;
function Get_CopyAllTables: WordBool; safecall;
procedure Set_CopyAllTables(pRetVal: WordBool); safecall;
function Get_CopyAllViews: WordBool; safecall;
procedure Set_CopyAllViews(pRetVal: WordBool); safecall;
function Get_CopyAllStoredProcedures: WordBool; safecall;
procedure Set_CopyAllStoredProcedures(pRetVal: WordBool); safecall;
function Get_CopyAllUserDefinedDatatypes: WordBool; safecall;
procedure Set_CopyAllUserDefinedDatatypes(pRetVal: WordBool); safecall;
function Get_CopyAllRules: WordBool; safecall;
procedure Set_CopyAllRules(pRetVal: WordBool); safecall;
function Get_CopyAllDefaults: WordBool; safecall;
procedure Set_CopyAllDefaults(pRetVal: WordBool); safecall;
function Get_CopyAllTriggers: WordBool; safecall;
procedure Set_CopyAllTriggers(pRetVal: WordBool); safecall;
function Get_IncludeDependencies: WordBool; safecall;
procedure Set_IncludeDependencies(pRetVal: WordBool); safecall;
function Get_IncludeUsers: WordBool; safecall;
procedure Set_IncludeUsers(pRetVal: WordBool); safecall;
function Get_IncludeGroups: WordBool; safecall;
procedure Set_IncludeGroups(pRetVal: WordBool); safecall;
function Get_IncludeLogins: WordBool; safecall;
procedure Set_IncludeLogins(pRetVal: WordBool); safecall;
function Get_DropDestObjectsFirst: WordBool; safecall;
procedure Set_DropDestObjectsFirst(pRetVal: WordBool); safecall;
function Get_ScriptType: SQLDMO_SCRIPT_TYPE; safecall;
procedure Set_ScriptType(pRetVal: SQLDMO_SCRIPT_TYPE); safecall;
function Get_DestUseTrustedConnection: WordBool; safecall;
procedure Set_DestUseTrustedConnection(pRetVal: WordBool); safecall;
procedure AddObjectByName(const ObjectName: WideString; ObjectType:
SQLDMO_OBJECT_TYPE;
Owner: OleVariant); safecall;
procedure AddObject(const DBObject: DBObject); safecall;
function ListObjectNames(ObjectType: SQLDMO_OBJECT_TYPE): NameList;
safecall;
procedure Abort; safecall;
function Get_Script2Type: SQLDMO_SCRIPT2_TYPE; safecall;
procedure Set_Script2Type(pRetVal: SQLDMO_SCRIPT2_TYPE); safecall;
function RetrieveErrors: WideString; safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property DestServer: WideString read Get_DestServer write
Set_DestServer;
property DestLogin: WideString read Get_DestLogin write Set_DestLogin;
property DestPassword: WideString read Get_DestPassword write
Set_DestPassword;
property DestDatabase: WideString read Get_DestDatabase write
Set_DestDatabase;
property CopyData: SQLDMO_COPYDATA_TYPE read Get_CopyData write
Set_CopyData;
property CopySchema: WordBool read Get_CopySchema write Set_CopySchema;
property CopyAllObjects: WordBool read Get_CopyAllObjects write
Set_CopyAllObjects;
property CopyAllTables: WordBool read Get_CopyAllTables write
Set_CopyAllTables;
property CopyAllViews: WordBool read Get_CopyAllViews write
Set_CopyAllViews;
property CopyAllStoredProcedures: WordBool read
Get_CopyAllStoredProcedures write Set_CopyAllStoredProcedures;
property CopyAllUserDefinedDatatypes: WordBool read
Get_CopyAllUserDefinedDatatypes write Set_CopyAllUserDefinedDatatypes;
property CopyAllRules: WordBool read Get_CopyAllRules write
Set_CopyAllRules;
property CopyAllDefaults: WordBool read Get_CopyAllDefaults write
Set_CopyAllDefaults;
property CopyAllTriggers: WordBool read Get_CopyAllTriggers write
Set_CopyAllTriggers;
property IncludeDependencies: WordBool read Get_IncludeDependencies
write Set_IncludeDependencies;
property IncludeUsers: WordBool read Get_IncludeUsers write
Set_IncludeUsers;
property IncludeGroups: WordBool read Get_IncludeGroups write
Set_IncludeGroups;
property IncludeLogins: WordBool read Get_IncludeLogins write
Set_IncludeLogins;
property DropDestObjectsFirst: WordBool read Get_DropDestObjectsFirst
write Set_DropDestObjectsFirst;
property ScriptType: SQLDMO_SCRIPT_TYPE read Get_ScriptType write
Set_ScriptType;
property DestUseTrustedConnection: WordBool read
Get_DestUseTrustedConnection write Set_DestUseTrustedConnection;
property Script2Type: SQLDMO_SCRIPT2_TYPE read Get_Script2Type write
Set_Script2Type;
end;
// *********************************************************************//
// DispIntf: _TransferDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10021E06-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_TransferDisp = dispinterface
['{10021E06-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property DestServer: WideString dispid 10;
property DestLogin: WideString dispid 11;
property DestPassword: WideString dispid 12;
property DestDatabase: WideString dispid 13;
property CopyData: SQLDMO_COPYDATA_TYPE dispid 14;
property CopySchema: WordBool dispid 15;
property CopyAllObjects: WordBool dispid 16;
property CopyAllTables: WordBool dispid 17;
property CopyAllViews: WordBool dispid 18;
property CopyAllStoredProcedures: WordBool dispid 19;
property CopyAllUserDefinedDatatypes: WordBool dispid 20;
property CopyAllRules: WordBool dispid 21;
property CopyAllDefaults: WordBool dispid 22;
property CopyAllTriggers: WordBool dispid 23;
property IncludeDependencies: WordBool dispid 24;
property IncludeUsers: WordBool dispid 25;
property IncludeGroups: WordBool dispid 26;
property IncludeLogins: WordBool dispid 27;
property DropDestObjectsFirst: WordBool dispid 28;
property ScriptType: SQLDMO_SCRIPT_TYPE dispid 29;
property DestUseTrustedConnection: WordBool dispid 30;
procedure AddObjectByName(const ObjectName: WideString; ObjectType:
SQLDMO_OBJECT_TYPE;
Owner: OleVariant); dispid 100;
procedure AddObject(const DBObject: DBObject); dispid 101;
function ListObjectNames(ObjectType: SQLDMO_OBJECT_TYPE): NameList;
dispid 102;
procedure Abort; dispid 103;
property Script2Type: SQLDMO_SCRIPT2_TYPE dispid 31;
function RetrieveErrors: WideString; dispid 104;
end;
// *********************************************************************//
// Interface: FileGroups
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10022C03-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
FileGroups = interface(_IVSQLDMOStdObject)
['{10022C03-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Item(ItemIndex: OleVariant): FileGroup; safecall;
function Get__NewEnum: IUnknown; safecall;
function Get_Count: Integer; safecall;
function ItemByID(ID: Integer): FileGroup; safecall;
procedure Add(const Object_: FileGroup); safecall;
procedure Remove(Index: OleVariant); safecall;
procedure Refresh(ReleaseMemberObjects: OleVariant); safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property _NewEnum: IUnknown read Get__NewEnum;
property Count: Integer read Get_Count;
end;
// *********************************************************************//
// DispIntf: FileGroupsDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10022C03-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
FileGroupsDisp = dispinterface
['{10022C03-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
function Item(ItemIndex: OleVariant): FileGroup; dispid 0;
property _NewEnum: IUnknown readonly dispid -4;
property Count: Integer readonly dispid 5;
function ItemByID(ID: Integer): FileGroup; dispid 6;
procedure Add(const Object_: FileGroup); dispid 100;
procedure Remove(Index: OleVariant); dispid 101;
procedure Refresh(ReleaseMemberObjects: OleVariant); dispid 102;
end;
// *********************************************************************//
// Interface: _FileGroup
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10022C06-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_FileGroup = interface(_IVSQLDMOStdObject)
['{10022C06-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_Name: WideString; safecall;
procedure Set_Name(const pRetVal: WideString); safecall;
function Get_DBFiles: DBFiles; safecall;
function Get_Size: Integer; safecall;
function Get_ID: Integer; safecall;
function Get_ReadOnly: WordBool; safecall;
procedure Set_ReadOnly(pRetVal: WordBool); safecall;
procedure Remove; safecall;
function EnumObjects: QueryResults; safecall;
function EnumFiles: QueryResults; safecall;
function CheckFilegroup: WideString; safecall;
function CheckFilegroupDataOnly: WideString; safecall;
function Get_Default: WordBool; safecall;
procedure Set_Default(pRetVal: WordBool); safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property Name: WideString read Get_Name write Set_Name;
property DBFiles: DBFiles read Get_DBFiles;
property Size: Integer read Get_Size;
property ID: Integer read Get_ID;
property ReadOnly: WordBool read Get_ReadOnly write Set_ReadOnly;
property Default: WordBool read Get_Default write Set_Default;
end;
// *********************************************************************//
// DispIntf: _FileGroupDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10022C06-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_FileGroupDisp = dispinterface
['{10022C06-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property Name: WideString dispid 9;
property DBFiles: DBFiles readonly dispid 0;
property Size: Integer readonly dispid 10;
property ID: Integer readonly dispid 11;
property ReadOnly: WordBool dispid 12;
procedure Remove; dispid 100;
function EnumObjects: QueryResults; dispid 101;
function EnumFiles: QueryResults; dispid 102;
function CheckFilegroup: WideString; dispid 103;
function CheckFilegroupDataOnly: WideString; dispid 104;
property Default: WordBool dispid 13;
end;
// *********************************************************************//
// Interface: DBFiles
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10022D03-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
DBFiles = interface(_IVSQLDMOStdObject)
['{10022D03-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Item(ItemIndex: OleVariant): DBFile; safecall;
function Get__NewEnum: IUnknown; safecall;
function Get_Count: Integer; safecall;
function ItemByID(ID: Integer): DBFile; safecall;
procedure Add(const Object_: DBFile); safecall;
procedure Remove(Index: OleVariant); safecall;
procedure Refresh(ReleaseMemberObjects: OleVariant); safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property _NewEnum: IUnknown read Get__NewEnum;
property Count: Integer read Get_Count;
end;
// *********************************************************************//
// DispIntf: DBFilesDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10022D03-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
DBFilesDisp = dispinterface
['{10022D03-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
function Item(ItemIndex: OleVariant): DBFile; dispid 0;
property _NewEnum: IUnknown readonly dispid -4;
property Count: Integer readonly dispid 5;
function ItemByID(ID: Integer): DBFile; dispid 6;
procedure Add(const Object_: DBFile); dispid 100;
procedure Remove(Index: OleVariant); dispid 101;
procedure Refresh(ReleaseMemberObjects: OleVariant); dispid 102;
end;
// *********************************************************************//
// Interface: _DBFile
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10022D06-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_DBFile = interface(_IVSQLDMOStdObject)
['{10022D06-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_Name: WideString; safecall;
procedure Set_Name(const pRetVal: WideString); safecall;
function Get_PhysicalName: WideString; safecall;
procedure Set_PhysicalName(const pRetVal: WideString); safecall;
function Get_PrimaryFile: WordBool; safecall;
procedure Set_PrimaryFile(pRetVal: WordBool); safecall;
function Get_FileGrowth: Integer; safecall;
procedure Set_FileGrowth(pRetVal: Integer); safecall;
function Get_MaximumSize: Integer; safecall;
procedure Set_MaximumSize(pRetVal: Integer); safecall;
function Get_SpaceAvailableInMB: Integer; safecall;
function Get_Size: Integer; safecall;
procedure Set_Size(pRetVal: Integer); safecall;
function Get_ID: Integer; safecall;
function Get_FileGrowthType: SQLDMO_GROWTH_TYPE; safecall;
procedure Set_FileGrowthType(pRetVal: SQLDMO_GROWTH_TYPE); safecall;
function Get_FileGrowthInKB: Single; safecall;
procedure Remove; safecall;
procedure Shrink(NewSizeInMB: Integer; Truncate: WordBool); safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property Name: WideString read Get_Name write Set_Name;
property PhysicalName: WideString read Get_PhysicalName write
Set_PhysicalName;
property PrimaryFile: WordBool read Get_PrimaryFile write
Set_PrimaryFile;
property FileGrowth: Integer read Get_FileGrowth write Set_FileGrowth;
property MaximumSize: Integer read Get_MaximumSize write
Set_MaximumSize;
property SpaceAvailableInMB: Integer read Get_SpaceAvailableInMB;
property Size: Integer read Get_Size write Set_Size;
property ID: Integer read Get_ID;
property FileGrowthType: SQLDMO_GROWTH_TYPE read Get_FileGrowthType
write Set_FileGrowthType;
property FileGrowthInKB: Single read Get_FileGrowthInKB;
end;
// *********************************************************************//
// DispIntf: _DBFileDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10022D06-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_DBFileDisp = dispinterface
['{10022D06-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property Name: WideString dispid 9;
property PhysicalName: WideString dispid 10;
property PrimaryFile: WordBool dispid 11;
property FileGrowth: Integer dispid 12;
property MaximumSize: Integer dispid 13;
property SpaceAvailableInMB: Integer readonly dispid 14;
property Size: Integer dispid 15;
property ID: Integer readonly dispid 16;
property FileGrowthType: SQLDMO_GROWTH_TYPE dispid 17;
property FileGrowthInKB: Single readonly dispid 18;
procedure Remove; dispid 100;
procedure Shrink(NewSizeInMB: Integer; Truncate: WordBool); dispid 101;
end;
// *********************************************************************//
// Interface: DatabaseRoles
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10023103-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
DatabaseRoles = interface(_IVSQLDMOStdObject)
['{10023103-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Item(ItemIndex: OleVariant): DatabaseRole; safecall;
function Get__NewEnum: IUnknown; safecall;
function Get_Count: Integer; safecall;
procedure Add(const Object_: DatabaseRole); safecall;
procedure Remove(Index: OleVariant); safecall;
procedure Refresh(ReleaseMemberObjects: OleVariant); safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property _NewEnum: IUnknown read Get__NewEnum;
property Count: Integer read Get_Count;
end;
// *********************************************************************//
// DispIntf: DatabaseRolesDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10023103-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
DatabaseRolesDisp = dispinterface
['{10023103-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
function Item(ItemIndex: OleVariant): DatabaseRole; dispid 0;
property _NewEnum: IUnknown readonly dispid -4;
property Count: Integer readonly dispid 5;
procedure Add(const Object_: DatabaseRole); dispid 100;
procedure Remove(Index: OleVariant); dispid 101;
procedure Refresh(ReleaseMemberObjects: OleVariant); dispid 102;
end;
// *********************************************************************//
// Interface: _DatabaseRole
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10023106-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_DatabaseRole = interface(_IVSQLDMOStdObject)
['{10023106-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_Name: WideString; safecall;
procedure Set_Name(const pRetVal: WideString); safecall;
function Get_Password: WideString; safecall;
procedure Set_Password(const pRetVal: WideString); safecall;
function Get_AppRole: WordBool; safecall;
procedure Set_AppRole(pRetVal: WordBool); safecall;
procedure Remove; safecall;
function EnumDatabaseRoleMember: QueryResults; safecall;
procedure AddMember(const UserName: WideString); safecall;
procedure DropMember(const UserName: WideString); safecall;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant;
Script2Type: OleVariant): WideString; safecall;
function EnumFixedDatabaseRolePermission: QueryResults; safecall;
function IsFixedRole: WordBool; safecall;
function ListDatabasePermissions(PrivilegeTypes: OleVariant):
SQLObjectList; safecall;
function ListObjectPermissions(PrivilegeTypes: OleVariant):
SQLObjectList; safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property Name: WideString read Get_Name write Set_Name;
property Password: WideString read Get_Password write Set_Password;
property AppRole: WordBool read Get_AppRole write Set_AppRole;
end;
// *********************************************************************//
// DispIntf: _DatabaseRoleDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10023106-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_DatabaseRoleDisp = dispinterface
['{10023106-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property Name: WideString dispid 9;
property Password: WideString dispid 10;
property AppRole: WordBool dispid 11;
procedure Remove; dispid 100;
function EnumDatabaseRoleMember: QueryResults; dispid 101;
procedure AddMember(const UserName: WideString); dispid 102;
procedure DropMember(const UserName: WideString); dispid 103;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant;
Script2Type: OleVariant): WideString; dispid 104;
function EnumFixedDatabaseRolePermission: QueryResults; dispid 105;
function IsFixedRole: WordBool; dispid 106;
function ListDatabasePermissions(PrivilegeTypes: OleVariant):
SQLObjectList; dispid 107;
function ListObjectPermissions(PrivilegeTypes: OleVariant):
SQLObjectList; dispid 108;
end;
// *********************************************************************//
// Interface: FullTextCatalogs
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10023503-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
FullTextCatalogs = interface(_IVSQLDMOStdObject)
['{10023503-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Item(ItemIndex: OleVariant): FullTextCatalog; safecall;
function Get__NewEnum: IUnknown; safecall;
function Get_Count: Integer; safecall;
procedure Add(const Object_: FullTextCatalog); safecall;
procedure Remove(Index: OleVariant); safecall;
procedure Refresh(ReleaseMemberObjects: OleVariant); safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property _NewEnum: IUnknown read Get__NewEnum;
property Count: Integer read Get_Count;
end;
// *********************************************************************//
// DispIntf: FullTextCatalogsDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10023503-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
FullTextCatalogsDisp = dispinterface
['{10023503-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
function Item(ItemIndex: OleVariant): FullTextCatalog; dispid 0;
property _NewEnum: IUnknown readonly dispid -4;
property Count: Integer readonly dispid 5;
procedure Add(const Object_: FullTextCatalog); dispid 100;
procedure Remove(Index: OleVariant); dispid 101;
procedure Refresh(ReleaseMemberObjects: OleVariant); dispid 102;
end;
// *********************************************************************//
// Interface: _FullTextCatalog
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10023506-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_FullTextCatalog = interface(_IVSQLDMOStdObject)
['{10023506-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_Name: WideString; safecall;
procedure Set_Name(const pRetVal: WideString); safecall;
function Get_RootPath: WideString; safecall;
procedure Set_RootPath(const pRetVal: WideString); safecall;
function Get_ItemCount: Integer; safecall;
function Get_PopulateStatus: SQLDMO_FULLTEXTSTATUS_TYPE; safecall;
function Get_FullTextIndexSize: Integer; safecall;
function Get_UniqueKeyCount: Integer; safecall;
function Get_PopulateCompletionAge: WideString; safecall;
function Get_ErrorLogSize: Integer; safecall;
function Get_HasFullTextIndexedTables: WordBool; safecall;
procedure Remove; safecall;
procedure Start(StartType: SQLDMO_FULLTEXT_START_TYPE); safecall;
procedure Stop; safecall;
function GenerateSQL: WideString; safecall;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant;
Script2Type: OleVariant): WideString; safecall;
procedure Rebuild; safecall;
function Get_FullTextCatalogID: Integer; safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property Name: WideString read Get_Name write Set_Name;
property RootPath: WideString read Get_RootPath write Set_RootPath;
property ItemCount: Integer read Get_ItemCount;
property PopulateStatus: SQLDMO_FULLTEXTSTATUS_TYPE read
Get_PopulateStatus;
property FullTextIndexSize: Integer read Get_FullTextIndexSize;
property UniqueKeyCount: Integer read Get_UniqueKeyCount;
property PopulateCompletionAge: WideString read
Get_PopulateCompletionAge;
property ErrorLogSize: Integer read Get_ErrorLogSize;
property HasFullTextIndexedTables: WordBool read
Get_HasFullTextIndexedTables;
property FullTextCatalogID: Integer read Get_FullTextCatalogID;
end;
// *********************************************************************//
// DispIntf: _FullTextCatalogDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10023506-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_FullTextCatalogDisp = dispinterface
['{10023506-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property Name: WideString dispid 9;
property RootPath: WideString dispid 10;
property ItemCount: Integer readonly dispid 11;
property PopulateStatus: SQLDMO_FULLTEXTSTATUS_TYPE readonly dispid 12;
property FullTextIndexSize: Integer readonly dispid 13;
property UniqueKeyCount: Integer readonly dispid 14;
property PopulateCompletionAge: WideString readonly dispid 15;
property ErrorLogSize: Integer readonly dispid 16;
property HasFullTextIndexedTables: WordBool readonly dispid 17;
procedure Remove; dispid 100;
procedure Start(StartType: SQLDMO_FULLTEXT_START_TYPE); dispid 101;
procedure Stop; dispid 102;
function GenerateSQL: WideString; dispid 103;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant;
Script2Type: OleVariant): WideString; dispid 104;
procedure Rebuild; dispid 105;
property FullTextCatalogID: Integer readonly dispid 18;
end;
// *********************************************************************//
// Interface: BackupDevices
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10021103-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
BackupDevices = interface(_IVSQLDMOStdObject)
['{10021103-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Item(Index: OleVariant): BackupDevice; safecall;
function Get__NewEnum: IUnknown; safecall;
function Get_Count: Integer; safecall;
procedure Add(const Object_: BackupDevice); safecall;
procedure Remove(Index: OleVariant); safecall;
procedure Refresh(ReleaseMemberObjects: OleVariant); safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property _NewEnum: IUnknown read Get__NewEnum;
property Count: Integer read Get_Count;
end;
// *********************************************************************//
// DispIntf: BackupDevicesDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10021103-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
BackupDevicesDisp = dispinterface
['{10021103-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
function Item(Index: OleVariant): BackupDevice; dispid 0;
property _NewEnum: IUnknown readonly dispid -4;
property Count: Integer readonly dispid 5;
procedure Add(const Object_: BackupDevice); dispid 100;
procedure Remove(Index: OleVariant); dispid 101;
procedure Refresh(ReleaseMemberObjects: OleVariant); dispid 102;
end;
// *********************************************************************//
// Interface: _BackupDevice
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10021106-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_BackupDevice = interface(_IVSQLDMOStdObject)
['{10021106-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_Name: WideString; safecall;
procedure Set_Name(const pRetVal: WideString); safecall;
function Get_DeviceNumber: Integer; safecall;
function Get_SkipTapeLabel: WordBool; safecall;
procedure Set_SkipTapeLabel(pRetVal: WordBool); safecall;
function Get_SystemObject: WordBool; safecall;
function Get_PhysicalLocation: WideString; safecall;
procedure Set_PhysicalLocation(const pRetVal: WideString); safecall;
function Get_Type_: SQLDMO_DEVICE_TYPE; safecall;
procedure Set_Type_(pRetVal: SQLDMO_DEVICE_TYPE); safecall;
function Get_Status: Integer; safecall;
procedure Remove; safecall;
function ReadBackupHeader: QueryResults; safecall;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant;
NewPhysicalLocation: OleVariant; Script2Type:
OleVariant): WideString; safecall;
function ReadMediaHeader: QueryResults; safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property Name: WideString read Get_Name write Set_Name;
property DeviceNumber: Integer read Get_DeviceNumber;
property SkipTapeLabel: WordBool read Get_SkipTapeLabel write
Set_SkipTapeLabel;
property SystemObject: WordBool read Get_SystemObject;
property PhysicalLocation: WideString read Get_PhysicalLocation write
Set_PhysicalLocation;
property Type_: SQLDMO_DEVICE_TYPE read Get_Type_ write Set_Type_;
property Status: Integer read Get_Status;
end;
// *********************************************************************//
// DispIntf: _BackupDeviceDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10021106-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_BackupDeviceDisp = dispinterface
['{10021106-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property Name: WideString dispid 9;
property DeviceNumber: Integer readonly dispid 10;
property SkipTapeLabel: WordBool dispid 12;
property SystemObject: WordBool readonly dispid 13;
property PhysicalLocation: WideString dispid 14;
property Type_: SQLDMO_DEVICE_TYPE dispid 17;
property Status: Integer readonly dispid 18;
procedure Remove; dispid 108;
function ReadBackupHeader: QueryResults; dispid 109;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant;
NewPhysicalLocation: OleVariant; Script2Type:
OleVariant): WideString; dispid 110;
function ReadMediaHeader: QueryResults; dispid 111;
end;
// *********************************************************************//
// Interface: IntegratedSecurity
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10022A06-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
IntegratedSecurity = interface(_IVSQLDMOStdObject)
['{10022A06-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_MapUnderscore: WideString; safecall;
procedure Set_MapUnderscore(const pRetVal: WideString); safecall;
function Get_MapDollarSign: WideString; safecall;
procedure Set_MapDollarSign(const pRetVal: WideString); safecall;
function Get_MapPoundSign: WideString; safecall;
procedure Set_MapPoundSign(const pRetVal: WideString); safecall;
function Get_SecurityMode: SQLDMO_SECURITY_TYPE; safecall;
procedure Set_SecurityMode(pRetVal: SQLDMO_SECURITY_TYPE); safecall;
function Get_DefaultLogin: WideString; safecall;
procedure Set_DefaultLogin(const pRetVal: WideString); safecall;
function Get_ImpersonateClient: WordBool; safecall;
procedure Set_ImpersonateClient(pRetVal: WordBool); safecall;
function Get_DefaultDomain: WideString; safecall;
procedure Set_DefaultDomain(const pRetVal: WideString); safecall;
function Get_AuditLevel: SQLDMO_AUDIT_TYPE; safecall;
procedure Set_AuditLevel(pRetVal: SQLDMO_AUDIT_TYPE); safecall;
function Get_SetHostName: WordBool; safecall;
procedure Set_SetHostName(pRetVal: WordBool); safecall;
procedure Refresh; safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property MapUnderscore: WideString read Get_MapUnderscore write
Set_MapUnderscore;
property MapDollarSign: WideString read Get_MapDollarSign write
Set_MapDollarSign;
property MapPoundSign: WideString read Get_MapPoundSign write
Set_MapPoundSign;
property SecurityMode: SQLDMO_SECURITY_TYPE read Get_SecurityMode write
Set_SecurityMode;
property DefaultLogin: WideString read Get_DefaultLogin write
Set_DefaultLogin;
property ImpersonateClient: WordBool read Get_ImpersonateClient write
Set_ImpersonateClient;
property DefaultDomain: WideString read Get_DefaultDomain write
Set_DefaultDomain;
property AuditLevel: SQLDMO_AUDIT_TYPE read Get_AuditLevel write
Set_AuditLevel;
property SetHostName: WordBool read Get_SetHostName write
Set_SetHostName;
end;
// *********************************************************************//
// DispIntf: IntegratedSecurityDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10022A06-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
IntegratedSecurityDisp = dispinterface
['{10022A06-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property MapUnderscore: WideString dispid 10;
property MapDollarSign: WideString dispid 11;
property MapPoundSign: WideString dispid 12;
property SecurityMode: SQLDMO_SECURITY_TYPE dispid 13;
property DefaultLogin: WideString dispid 14;
property ImpersonateClient: WordBool dispid 15;
property DefaultDomain: WideString dispid 16;
property AuditLevel: SQLDMO_AUDIT_TYPE dispid 17;
property SetHostName: WordBool dispid 18;
procedure Refresh; dispid 100;
end;
// *********************************************************************//
// Interface: Languages
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10021403-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
Languages = interface(_IVSQLDMOStdObject)
['{10021403-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Item(Index: OleVariant): Language; safecall;
function Get__NewEnum: IUnknown; safecall;
function Get_Count: Integer; safecall;
function ItemByID(ID: Integer): Language; safecall;
procedure Refresh(ReleaseMemberObjects: OleVariant); safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property _NewEnum: IUnknown read Get__NewEnum;
property Count: Integer read Get_Count;
end;
// *********************************************************************//
// DispIntf: LanguagesDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10021403-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
LanguagesDisp = dispinterface
['{10021403-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
function Item(Index: OleVariant): Language; dispid 0;
property _NewEnum: IUnknown readonly dispid -4;
property Count: Integer readonly dispid 5;
function ItemByID(ID: Integer): Language; dispid 6;
procedure Refresh(ReleaseMemberObjects: OleVariant); dispid 102;
end;
// *********************************************************************//
// Interface: _Language
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10021406-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_Language = interface(_IVSQLDMOStdObject)
['{10021406-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_Name: WideString; safecall;
function Get_ID: Integer; safecall;
function Get_Upgrade: Integer; safecall;
function Get_Alias: WideString; safecall;
procedure Set_Alias(const pRetVal: WideString); safecall;
function Get_Months: WideString; safecall;
function Get_ShortMonths: WideString; safecall;
function Get_Days: WideString; safecall;
function Get_LangDateFormat: WideString; safecall;
function Get_FirstDayOfWeek: SYSINT; safecall;
function Get_Month(Month: SYSINT): WideString; safecall;
function Get_ShortMonth(Month: SYSINT): WideString; safecall;
function Get_Day(Day: SYSINT): WideString; safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property Name: WideString read Get_Name;
property ID: Integer read Get_ID;
property Upgrade: Integer read Get_Upgrade;
property Alias: WideString read Get_Alias write Set_Alias;
property Months: WideString read Get_Months;
property ShortMonths: WideString read Get_ShortMonths;
property Days: WideString read Get_Days;
property LangDateFormat: WideString read Get_LangDateFormat;
property FirstDayOfWeek: SYSINT read Get_FirstDayOfWeek;
property Month[Month: SYSINT]: WideString read Get_Month;
property ShortMonth[Month: SYSINT]: WideString read Get_ShortMonth;
property Day[Day: SYSINT]: WideString read Get_Day;
end;
// *********************************************************************//
// DispIntf: _LanguageDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10021406-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_LanguageDisp = dispinterface
['{10021406-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property Name: WideString readonly dispid 9;
property ID: Integer readonly dispid 14;
property Upgrade: Integer readonly dispid 15;
property Alias: WideString dispid 16;
property Months: WideString readonly dispid 17;
property ShortMonths: WideString readonly dispid 18;
property Days: WideString readonly dispid 19;
property LangDateFormat: WideString readonly dispid 20;
property FirstDayOfWeek: SYSINT readonly dispid 21;
property Month[Month: SYSINT]: WideString readonly dispid 22;
property ShortMonth[Month: SYSINT]: WideString readonly dispid 23;
property Day[Day: SYSINT]: WideString readonly dispid 24;
end;
// *********************************************************************//
// Interface: RemoteServers
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10021503-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
RemoteServers = interface(_IVSQLDMOStdObject)
['{10021503-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Item(Index: OleVariant): RemoteServer; safecall;
function Get__NewEnum: IUnknown; safecall;
function Get_Count: Integer; safecall;
function ItemByID(ID: Integer): RemoteServer; safecall;
procedure Add(const Object_: RemoteServer); safecall;
procedure Remove(Index: OleVariant); safecall;
procedure Refresh(ReleaseMemberObjects: OleVariant); safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property _NewEnum: IUnknown read Get__NewEnum;
property Count: Integer read Get_Count;
end;
// *********************************************************************//
// DispIntf: RemoteServersDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10021503-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
RemoteServersDisp = dispinterface
['{10021503-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
function Item(Index: OleVariant): RemoteServer; dispid 0;
property _NewEnum: IUnknown readonly dispid -4;
property Count: Integer readonly dispid 5;
function ItemByID(ID: Integer): RemoteServer; dispid 6;
procedure Add(const Object_: RemoteServer); dispid 100;
procedure Remove(Index: OleVariant); dispid 101;
procedure Refresh(ReleaseMemberObjects: OleVariant); dispid 102;
end;
// *********************************************************************//
// Interface: _RemoteServer
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10021506-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_RemoteServer = interface(_IVSQLDMOStdObject)
['{10021506-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_Name: WideString; safecall;
procedure Set_Name(const pRetVal: WideString); safecall;
function Get_ID: Integer; safecall;
function Get_NetName: WideString; safecall;
procedure Set_NetName(const pRetVal: WideString); safecall;
function Get_RemoteLogins: RemoteLogins; safecall;
function Get_Options: SQLDMO_SRVOPTION_TYPE; safecall;
function Get_TopologyX: Integer; safecall;
function Get_TopologyY: Integer; safecall;
procedure Remove; safecall;
procedure ExecuteImmediate(const Command: WideString; Length:
OleVariant); safecall;
function ExecuteWithResults(const Command: WideString; Length:
OleVariant): QueryResults; safecall;
procedure SetOptions(Options: SQLDMO_SRVOPTION_TYPE; Setting: WordBool);
safecall;
procedure SetTopologyXY(X: Integer; Y: Integer); safecall;
function ExecuteWithResultsAndMessages(const Command: WideString;
Length: OleVariant;
out Messages: WideString):
QueryResults; safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property Name: WideString read Get_Name write Set_Name;
property ID: Integer read Get_ID;
property NetName: WideString read Get_NetName write Set_NetName;
property RemoteLogins: RemoteLogins read Get_RemoteLogins;
property Options: SQLDMO_SRVOPTION_TYPE read Get_Options;
property TopologyX: Integer read Get_TopologyX;
property TopologyY: Integer read Get_TopologyY;
end;
// *********************************************************************//
// DispIntf: _RemoteServerDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10021506-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_RemoteServerDisp = dispinterface
['{10021506-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property Name: WideString dispid 9;
property ID: Integer readonly dispid 14;
property NetName: WideString dispid 15;
property RemoteLogins: RemoteLogins readonly dispid 17;
property Options: SQLDMO_SRVOPTION_TYPE readonly dispid 19;
property TopologyX: Integer readonly dispid 20;
property TopologyY: Integer readonly dispid 21;
procedure Remove; dispid 100;
procedure ExecuteImmediate(const Command: WideString; Length:
OleVariant); dispid 105;
function ExecuteWithResults(const Command: WideString; Length:
OleVariant): QueryResults; dispid 106;
procedure SetOptions(Options: SQLDMO_SRVOPTION_TYPE; Setting: WordBool);
dispid 109;
procedure SetTopologyXY(X: Integer; Y: Integer); dispid 112;
function ExecuteWithResultsAndMessages(const Command: WideString;
Length: OleVariant;
out Messages: WideString):
QueryResults; dispid 114;
end;
// *********************************************************************//
// Interface: RemoteLogins
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10021603-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
RemoteLogins = interface(_IVSQLDMOStdObject)
['{10021603-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Item(Index: OleVariant): RemoteLogin; safecall;
function Get__NewEnum: IUnknown; safecall;
function Get_Count: Integer; safecall;
procedure Add(const Object_: RemoteLogin); safecall;
procedure Remove(Index: OleVariant); safecall;
procedure Refresh(ReleaseMemberObjects: OleVariant); safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property _NewEnum: IUnknown read Get__NewEnum;
property Count: Integer read Get_Count;
end;
// *********************************************************************//
// DispIntf: RemoteLoginsDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10021603-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
RemoteLoginsDisp = dispinterface
['{10021603-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
function Item(Index: OleVariant): RemoteLogin; dispid 0;
property _NewEnum: IUnknown readonly dispid -4;
property Count: Integer readonly dispid 5;
procedure Add(const Object_: RemoteLogin); dispid 100;
procedure Remove(Index: OleVariant); dispid 101;
procedure Refresh(ReleaseMemberObjects: OleVariant); dispid 102;
end;
// *********************************************************************//
// Interface: _RemoteLogin
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10021606-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_RemoteLogin = interface(_IVSQLDMOStdObject)
['{10021606-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_LocalName: WideString; safecall;
procedure Set_LocalName(const pRetVal: WideString); safecall;
function Get_RemoteName: WideString; safecall;
procedure Set_RemoteName(const pRetVal: WideString); safecall;
function Get_Trusted: WordBool; safecall;
procedure Set_Trusted(pRetVal: WordBool); safecall;
procedure Remove; safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property LocalName: WideString read Get_LocalName write Set_LocalName;
property RemoteName: WideString read Get_RemoteName write
Set_RemoteName;
property Trusted: WordBool read Get_Trusted write Set_Trusted;
end;
// *********************************************************************//
// DispIntf: _RemoteLoginDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10021606-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_RemoteLoginDisp = dispinterface
['{10021606-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property LocalName: WideString dispid 13;
property RemoteName: WideString dispid 14;
property Trusted: WordBool dispid 15;
procedure Remove; dispid 100;
end;
// *********************************************************************//
// Interface: Logins
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10021303-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
Logins = interface(_IVSQLDMOStdObject)
['{10021303-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Item(Index: OleVariant): Login; safecall;
function Get__NewEnum: IUnknown; safecall;
function Get_Count: Integer; safecall;
procedure Add(const Object_: Login); safecall;
procedure Remove(Index: OleVariant); safecall;
procedure Refresh(ReleaseMemberObjects: OleVariant); safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property _NewEnum: IUnknown read Get__NewEnum;
property Count: Integer read Get_Count;
end;
// *********************************************************************//
// DispIntf: LoginsDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10021303-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
LoginsDisp = dispinterface
['{10021303-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
function Item(Index: OleVariant): Login; dispid 0;
property _NewEnum: IUnknown readonly dispid -4;
property Count: Integer readonly dispid 5;
procedure Add(const Object_: Login); dispid 100;
procedure Remove(Index: OleVariant); dispid 101;
procedure Refresh(ReleaseMemberObjects: OleVariant); dispid 102;
end;
// *********************************************************************//
// Interface: _Login
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10021306-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_Login = interface(_IVSQLDMOStdObject)
['{10021306-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_Name: WideString; safecall;
procedure Set_Name(const pRetVal: WideString); safecall;
function Get_SystemObject: WordBool; safecall;
function Get_Language: WideString; safecall;
procedure Set_Language(const pRetVal: WideString); safecall;
function Get_Database: WideString; safecall;
procedure Set_Database(const pRetVal: WideString); safecall;
procedure Remove; safecall;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant;
Script2Type: OleVariant): WideString; safecall;
procedure SetPassword(const OldPassword: WideString; const NewPassword:
WideString); safecall;
function EnumDatabaseMappings: QueryResults; safecall;
function Get_Type_: SQLDMO_LOGIN_TYPE; safecall;
procedure Set_Type_(pRetVal: SQLDMO_LOGIN_TYPE); safecall;
function Get_DenyNTLogin: WordBool; safecall;
procedure Set_DenyNTLogin(pRetVal: WordBool); safecall;
function ListMembers: NameList; safecall;
function IsMember(const ServerRole: WideString): WordBool; safecall;
function GetUserName(const DatabaseName: WideString): WideString;
safecall;
function GetAliasName(const DatabaseName: WideString): WideString;
safecall;
function Get_LanguageAlias: WideString; safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property Name: WideString read Get_Name write Set_Name;
property SystemObject: WordBool read Get_SystemObject;
property Language: WideString read Get_Language write Set_Language;
property Database: WideString read Get_Database write Set_Database;
property Type_: SQLDMO_LOGIN_TYPE read Get_Type_ write Set_Type_;
property DenyNTLogin: WordBool read Get_DenyNTLogin write
Set_DenyNTLogin;
property LanguageAlias: WideString read Get_LanguageAlias;
end;
// *********************************************************************//
// DispIntf: _LoginDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10021306-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_LoginDisp = dispinterface
['{10021306-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property Name: WideString dispid 9;
property SystemObject: WordBool readonly dispid 12;
property Language: WideString dispid 15;
property Database: WideString dispid 16;
procedure Remove; dispid 102;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant;
Script2Type: OleVariant): WideString; dispid 103;
procedure SetPassword(const OldPassword: WideString; const NewPassword:
WideString); dispid 104;
function EnumDatabaseMappings: QueryResults; dispid 105;
property Type_: SQLDMO_LOGIN_TYPE dispid 20;
property DenyNTLogin: WordBool dispid 21;
function ListMembers: NameList; dispid 106;
function IsMember(const ServerRole: WideString): WordBool; dispid 107;
function GetUserName(const DatabaseName: WideString): WideString; dispid
108;
function GetAliasName(const DatabaseName: WideString): WideString;
dispid 109;
property LanguageAlias: WideString readonly dispid 22;
end;
// *********************************************************************//
// Interface: Registry
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10022706-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
Registry = interface(_IVSQLDMOStdObject)
['{10022706-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_AutostartMail: WordBool; safecall;
procedure Set_AutostartMail(pRetVal: WordBool); safecall;
function Get_AutostartServer: WordBool; safecall;
procedure Set_AutostartServer(pRetVal: WordBool); safecall;
function Get_CaseSensitive: WordBool; safecall;
function Get_CharacterSet: WideString; safecall;
function Get_ErrorLogPath: WideString; safecall;
procedure Set_ErrorLogPath(const pRetVal: WideString); safecall;
function Get_MailAccountName: WideString; safecall;
procedure Set_MailAccountName(const pRetVal: WideString); safecall;
function Get_MailPassword: WideString; safecall;
procedure Set_MailPassword(const pRetVal: WideString); safecall;
function Get_MasterDBPath: WideString; safecall;
procedure Set_MasterDBPath(const pRetVal: WideString); safecall;
function Get_NTEventLogging: WordBool; safecall;
function Get_NumberOfProcessors: Integer; safecall;
function Get_PerfMonMode: SQLDMO_PERFMON_TYPE; safecall;
procedure Set_PerfMonMode(pRetVal: SQLDMO_PERFMON_TYPE); safecall;
function Get_PhysicalMemory: Integer; safecall;
function Get_AutostartLicensing: WordBool; safecall;
procedure Set_AutostartLicensing(pRetVal: WordBool); safecall;
function Get_RegisteredOrganization: WideString; safecall;
function Get_RegisteredOwner: WideString; safecall;
function Get_SortOrder: WideString; safecall;
function Get_SQLRootPath: WideString; safecall;
procedure Set_SQLRootPath(const pRetVal: WideString); safecall;
function Get_SQLDataRoot: WideString; safecall;
procedure Set_SQLDataRoot(const pRetVal: WideString); safecall;
function Get_TapeLoadWaitTime: Integer; safecall;
procedure Set_TapeLoadWaitTime(pRetVal: Integer); safecall;
function Get_ReplicationInstalled: WordBool; safecall;
function Get_AutostartDTC: WordBool; safecall;
procedure Set_AutostartDTC(pRetVal: WordBool); safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property AutostartMail: WordBool read Get_AutostartMail write
Set_AutostartMail;
property AutostartServer: WordBool read Get_AutostartServer write
Set_AutostartServer;
property CaseSensitive: WordBool read Get_CaseSensitive;
property CharacterSet: WideString read Get_CharacterSet;
property ErrorLogPath: WideString read Get_ErrorLogPath write
Set_ErrorLogPath;
property MailAccountName: WideString read Get_MailAccountName write
Set_MailAccountName;
property MailPassword: WideString read Get_MailPassword write
Set_MailPassword;
property MasterDBPath: WideString read Get_MasterDBPath write
Set_MasterDBPath;
property NTEventLogging: WordBool read Get_NTEventLogging;
property NumberOfProcessors: Integer read Get_NumberOfProcessors;
property PerfMonMode: SQLDMO_PERFMON_TYPE read Get_PerfMonMode write
Set_PerfMonMode;
property PhysicalMemory: Integer read Get_PhysicalMemory;
property AutostartLicensing: WordBool read Get_AutostartLicensing write
Set_AutostartLicensing;
property RegisteredOrganization: WideString read
Get_RegisteredOrganization;
property RegisteredOwner: WideString read Get_RegisteredOwner;
property SortOrder: WideString read Get_SortOrder;
property SQLRootPath: WideString read Get_SQLRootPath write
Set_SQLRootPath;
property SQLDataRoot: WideString read Get_SQLDataRoot write
Set_SQLDataRoot;
property TapeLoadWaitTime: Integer read Get_TapeLoadWaitTime write
Set_TapeLoadWaitTime;
property ReplicationInstalled: WordBool read Get_ReplicationInstalled;
property AutostartDTC: WordBool read Get_AutostartDTC write
Set_AutostartDTC;
end;
// *********************************************************************//
// DispIntf: RegistryDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10022706-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
RegistryDisp = dispinterface
['{10022706-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property AutostartMail: WordBool dispid 10;
property AutostartServer: WordBool dispid 11;
property CaseSensitive: WordBool readonly dispid 12;
property CharacterSet: WideString readonly dispid 13;
property ErrorLogPath: WideString dispid 15;
property MailAccountName: WideString dispid 16;
property MailPassword: WideString dispid 17;
property MasterDBPath: WideString dispid 18;
property NTEventLogging: WordBool readonly dispid 19;
property NumberOfProcessors: Integer readonly dispid 20;
property PerfMonMode: SQLDMO_PERFMON_TYPE dispid 21;
property PhysicalMemory: Integer readonly dispid 22;
property AutostartLicensing: WordBool dispid 24;
property RegisteredOrganization: WideString readonly dispid 25;
property RegisteredOwner: WideString readonly dispid 26;
property SortOrder: WideString readonly dispid 27;
property SQLRootPath: WideString dispid 28;
property SQLDataRoot: WideString dispid 29;
property TapeLoadWaitTime: Integer dispid 30;
property ReplicationInstalled: WordBool readonly dispid 31;
property AutostartDTC: WordBool dispid 32;
end;
// *********************************************************************//
// Interface: Configuration
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10022306-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
Configuration = interface(_IVSQLDMOStdObject)
['{10022306-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_ConfigValues: ConfigValues; safecall;
function Get_ShowAdvancedOptions: WordBool; safecall;
procedure Set_ShowAdvancedOptions(pRetVal: WordBool); safecall;
function Get_Parameters: Names; safecall;
procedure ReconfigureCurrentValues; safecall;
procedure ReconfigureWithOverride; safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property ConfigValues: ConfigValues read Get_ConfigValues;
property ShowAdvancedOptions: WordBool read Get_ShowAdvancedOptions
write Set_ShowAdvancedOptions;
property Parameters: Names read Get_Parameters;
end;
// *********************************************************************//
// DispIntf: ConfigurationDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10022306-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
ConfigurationDisp = dispinterface
['{10022306-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property ConfigValues: ConfigValues readonly dispid 0;
property ShowAdvancedOptions: WordBool dispid 10;
property Parameters: Names readonly dispid 11;
procedure ReconfigureCurrentValues; dispid 100;
procedure ReconfigureWithOverride; dispid 101;
end;
// *********************************************************************//
// Interface: ConfigValues
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10021B03-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
ConfigValues = interface(_IVSQLDMOStdObject)
['{10021B03-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Item(Index: OleVariant): ConfigValue; safecall;
function Get__NewEnum: IUnknown; safecall;
function Get_Count: Integer; safecall;
function ItemByID(ID: Integer): ConfigValue; safecall;
procedure Refresh; safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property _NewEnum: IUnknown read Get__NewEnum;
property Count: Integer read Get_Count;
end;
// *********************************************************************//
// DispIntf: ConfigValuesDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10021B03-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
ConfigValuesDisp = dispinterface
['{10021B03-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
function Item(Index: OleVariant): ConfigValue; dispid 0;
property _NewEnum: IUnknown readonly dispid -4;
property Count: Integer readonly dispid 5;
function ItemByID(ID: Integer): ConfigValue; dispid 6;
procedure Refresh; dispid 100;
end;
// *********************************************************************//
// Interface: ConfigValue
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10021B06-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
ConfigValue = interface(_IVSQLDMOStdObject)
['{10021B06-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_Name: WideString; safecall;
function Get_MinimumValue: Integer; safecall;
function Get_MaximumValue: Integer; safecall;
function Get_DynamicReconfigure: WordBool; safecall;
function Get_CurrentValue: Integer; safecall;
procedure Set_CurrentValue(pRetVal: Integer); safecall;
function Get_RunningValue: Integer; safecall;
function Get_Description: WideString; safecall;
function Get_ID: SQLDMO_CONFIGVALUE_TYPE; safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property Name: WideString read Get_Name;
property MinimumValue: Integer read Get_MinimumValue;
property MaximumValue: Integer read Get_MaximumValue;
property DynamicReconfigure: WordBool read Get_DynamicReconfigure;
property CurrentValue: Integer read Get_CurrentValue write
Set_CurrentValue;
property RunningValue: Integer read Get_RunningValue;
property Description: WideString read Get_Description;
property ID: SQLDMO_CONFIGVALUE_TYPE read Get_ID;
end;
// *********************************************************************//
// DispIntf: ConfigValueDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10021B06-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
ConfigValueDisp = dispinterface
['{10021B06-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property Name: WideString readonly dispid 10;
property MinimumValue: Integer readonly dispid 11;
property MaximumValue: Integer readonly dispid 12;
property DynamicReconfigure: WordBool readonly dispid 13;
property CurrentValue: Integer dispid 14;
property RunningValue: Integer readonly dispid 15;
property Description: WideString readonly dispid 16;
property ID: SQLDMO_CONFIGVALUE_TYPE readonly dispid 17;
end;
// *********************************************************************//
// Interface: JobServer
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10040406-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
JobServer = interface(_IVSQLDMOStdObject)
['{10040406-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_Status: SQLDMO_SVCSTATUS_TYPE; safecall;
function Get_AutoStart: WordBool; safecall;
procedure Set_AutoStart(pRetVal: WordBool); safecall;
function Get_AlertSystem: AlertSystem; safecall;
function Get_Operators: Operators; safecall;
function Get_Alerts: Alerts; safecall;
function Get_Jobs: Jobs; safecall;
function Get_TargetServers: TargetServers; safecall;
function Get_TargetServerGroups: TargetServerGroups; safecall;
function Get_JobFilter: JobFilter; safecall;
function Get_JobHistoryFilter: JobHistoryFilter; safecall;
function Get_JobCategories: JobCategories; safecall;
function Get_MSXServerName: WideString; safecall;
function Get_Type_: SQLDMO_JOBSERVER_TYPE; safecall;
function Get_StartupAccount: WideString; safecall;
function Get_AlertCategories: AlertCategories; safecall;
function Get_OperatorCategories: OperatorCategories; safecall;
procedure Stop; safecall;
procedure Start; safecall;
function EnumSubSystems: QueryResults; safecall;
procedure ReAssignJobsByLogin(const OldLogin: WideString; const
NewLogin: WideString); safecall;
procedure RemoveJobsByLogin(const Login: WideString); safecall;
procedure Refresh; safecall;
procedure BeginAlter; safecall;
procedure DoAlter; safecall;
procedure CancelAlter; safecall;
function EnumJobHistory(JobHistoryFilter: OleVariant): QueryResults;
safecall;
procedure PurgeJobHistory(JobHistoryFilter: OleVariant); safecall;
function EnumJobs(JobFilter: OleVariant): QueryResults; safecall;
procedure RemoveJobsByServer(const Login: WideString); safecall;
procedure MSXEnlist(const TSXServerName: WideString; const Location:
WideString); safecall;
procedure MSXDefect; safecall;
procedure RemoveJobByID(const JobID: WideString); safecall;
procedure StartMonitor(const NetSendAddress: WideString;
RestartAttempts: Integer); safecall;
procedure StopMonitor; safecall;
function GetJobByID(const JobID: WideString; Flag: OleVariant): Job;
safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property Status: SQLDMO_SVCSTATUS_TYPE read Get_Status;
property AutoStart: WordBool read Get_AutoStart write Set_AutoStart;
property AlertSystem: AlertSystem read Get_AlertSystem;
property Operators: Operators read Get_Operators;
property Alerts: Alerts read Get_Alerts;
property Jobs: Jobs read Get_Jobs;
property TargetServers: TargetServers read Get_TargetServers;
property TargetServerGroups: TargetServerGroups read
Get_TargetServerGroups;
property JobFilter: JobFilter read Get_JobFilter;
property JobHistoryFilter: JobHistoryFilter read Get_JobHistoryFilter;
property JobCategories: JobCategories read Get_JobCategories;
property MSXServerName: WideString read Get_MSXServerName;
property Type_: SQLDMO_JOBSERVER_TYPE read Get_Type_;
property StartupAccount: WideString read Get_StartupAccount;
property AlertCategories: AlertCategories read Get_AlertCategories;
property OperatorCategories: OperatorCategories read
Get_OperatorCategories;
end;
// *********************************************************************//
// DispIntf: JobServerDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10040406-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
JobServerDisp = dispinterface
['{10040406-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property Status: SQLDMO_SVCSTATUS_TYPE readonly dispid 11;
property AutoStart: WordBool dispid 12;
property AlertSystem: AlertSystem readonly dispid 14;
property Operators: Operators readonly dispid 19;
property Alerts: Alerts readonly dispid 20;
property Jobs: Jobs readonly dispid 21;
property TargetServers: TargetServers readonly dispid 22;
property TargetServerGroups: TargetServerGroups readonly dispid 23;
property JobFilter: JobFilter readonly dispid 24;
property JobHistoryFilter: JobHistoryFilter readonly dispid 25;
property JobCategories: JobCategories readonly dispid 28;
property MSXServerName: WideString readonly dispid 29;
property Type_: SQLDMO_JOBSERVER_TYPE readonly dispid 30;
property StartupAccount: WideString readonly dispid 31;
property AlertCategories: AlertCategories readonly dispid 32;
property OperatorCategories: OperatorCategories readonly dispid 33;
procedure Stop; dispid 100;
procedure Start; dispid 101;
function EnumSubSystems: QueryResults; dispid 104;
procedure ReAssignJobsByLogin(const OldLogin: WideString; const
NewLogin: WideString); dispid 107;
procedure RemoveJobsByLogin(const Login: WideString); dispid 108;
procedure Refresh; dispid 110;
procedure BeginAlter; dispid 111;
procedure DoAlter; dispid 112;
procedure CancelAlter; dispid 113;
function EnumJobHistory(JobHistoryFilter: OleVariant): QueryResults;
dispid 114;
procedure PurgeJobHistory(JobHistoryFilter: OleVariant); dispid 115;
function EnumJobs(JobFilter: OleVariant): QueryResults; dispid 118;
procedure RemoveJobsByServer(const Login: WideString); dispid 120;
procedure MSXEnlist(const TSXServerName: WideString; const Location:
WideString); dispid 121;
procedure MSXDefect; dispid 122;
procedure RemoveJobByID(const JobID: WideString); dispid 123;
procedure StartMonitor(const NetSendAddress: WideString;
RestartAttempts: Integer); dispid 124;
procedure StopMonitor; dispid 125;
function GetJobByID(const JobID: WideString; Flag: OleVariant): Job;
dispid 126;
end;
// *********************************************************************//
// Interface: AlertSystem
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10040506-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
AlertSystem = interface(_IVSQLDMOStdObject)
['{10040506-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_FailSafeOperator: WideString; safecall;
procedure Set_FailSafeOperator(const pRetVal: WideString); safecall;
function Get_NotificationMethod: SQLDMO_NOTIFY_TYPE; safecall;
procedure Set_NotificationMethod(pRetVal: SQLDMO_NOTIFY_TYPE); safecall;
function Get_ForwardingServer: WideString; safecall;
procedure Set_ForwardingServer(const pRetVal: WideString); safecall;
function Get_ForwardingSeverity: Integer; safecall;
procedure Set_ForwardingSeverity(pRetVal: Integer); safecall;
function Get_PagerToTemplate: WideString; safecall;
procedure Set_PagerToTemplate(const pRetVal: WideString); safecall;
function Get_PagerCCTemplate: WideString; safecall;
procedure Set_PagerCCTemplate(const pRetVal: WideString); safecall;
function Get_PagerSubjectTemplate: WideString; safecall;
procedure Set_PagerSubjectTemplate(const pRetVal: WideString); safecall;
function Get_PagerSendSubjectOnly: WordBool; safecall;
procedure Set_PagerSendSubjectOnly(pRetVal: WordBool); safecall;
procedure Refresh; safecall;
procedure BeginAlter; safecall;
procedure DoAlter; safecall;
procedure CancelAlter; safecall;
function Get_ForwardAlways: WordBool; safecall;
procedure Set_ForwardAlways(pRetVal: WordBool); safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property FailSafeOperator: WideString read Get_FailSafeOperator write
Set_FailSafeOperator;
property NotificationMethod: SQLDMO_NOTIFY_TYPE read
Get_NotificationMethod write Set_NotificationMethod;
property ForwardingServer: WideString read Get_ForwardingServer write
Set_ForwardingServer;
property ForwardingSeverity: Integer read Get_ForwardingSeverity write
Set_ForwardingSeverity;
property PagerToTemplate: WideString read Get_PagerToTemplate write
Set_PagerToTemplate;
property PagerCCTemplate: WideString read Get_PagerCCTemplate write
Set_PagerCCTemplate;
property PagerSubjectTemplate: WideString read Get_PagerSubjectTemplate
write Set_PagerSubjectTemplate;
property PagerSendSubjectOnly: WordBool read Get_PagerSendSubjectOnly
write Set_PagerSendSubjectOnly;
property ForwardAlways: WordBool read Get_ForwardAlways write
Set_ForwardAlways;
end;
// *********************************************************************//
// DispIntf: AlertSystemDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10040506-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
AlertSystemDisp = dispinterface
['{10040506-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property FailSafeOperator: WideString dispid 10;
property NotificationMethod: SQLDMO_NOTIFY_TYPE dispid 11;
property ForwardingServer: WideString dispid 12;
property ForwardingSeverity: Integer dispid 13;
property PagerToTemplate: WideString dispid 14;
property PagerCCTemplate: WideString dispid 15;
property PagerSubjectTemplate: WideString dispid 16;
property PagerSendSubjectOnly: WordBool dispid 17;
procedure Refresh; dispid 100;
procedure BeginAlter; dispid 101;
procedure DoAlter; dispid 102;
procedure CancelAlter; dispid 103;
property ForwardAlways: WordBool dispid 18;
end;
// *********************************************************************//
// Interface: Operators
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10040203-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
Operators = interface(_IVSQLDMOStdObject)
['{10040203-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Item(Index: OleVariant): Operator; safecall;
function Get__NewEnum: IUnknown; safecall;
function Get_Count: Integer; safecall;
function ItemByID(ID: Integer): Operator; safecall;
procedure Add(const Object_: Operator); safecall;
procedure Remove(Index: OleVariant; NewName: OleVariant); safecall;
procedure Refresh(ReleaseMemberObjects: OleVariant); safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property _NewEnum: IUnknown read Get__NewEnum;
property Count: Integer read Get_Count;
end;
// *********************************************************************//
// DispIntf: OperatorsDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10040203-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
OperatorsDisp = dispinterface
['{10040203-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
function Item(Index: OleVariant): Operator; dispid 0;
property _NewEnum: IUnknown readonly dispid -4;
property Count: Integer readonly dispid 5;
function ItemByID(ID: Integer): Operator; dispid 6;
procedure Add(const Object_: Operator); dispid 100;
procedure Remove(Index: OleVariant; NewName: OleVariant); dispid 101;
procedure Refresh(ReleaseMemberObjects: OleVariant); dispid 102;
end;
// *********************************************************************//
// Interface: _Operator
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10040206-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_Operator = interface(_IVSQLDMOStdObject)
['{10040206-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_Name: WideString; safecall;
procedure Set_Name(const pRetVal: WideString); safecall;
function Get_ID: Integer; safecall;
function Get_Enabled: WordBool; safecall;
procedure Set_Enabled(pRetVal: WordBool); safecall;
function Get_EmailAddress: WideString; safecall;
procedure Set_EmailAddress(const pRetVal: WideString); safecall;
function Get_LastEmailDate: TDateTime; safecall;
function Get_PagerAddress: WideString; safecall;
procedure Set_PagerAddress(const pRetVal: WideString); safecall;
function Get_LastPageDate: TDateTime; safecall;
function Get_WeekdayPagerStartTime: TDateTime; safecall;
procedure Set_WeekdayPagerStartTime(pRetVal: TDateTime); safecall;
function Get_WeekdayPagerEndTime: TDateTime; safecall;
procedure Set_WeekdayPagerEndTime(pRetVal: TDateTime); safecall;
function Get_SaturdayPagerStartTime: TDateTime; safecall;
procedure Set_SaturdayPagerStartTime(pRetVal: TDateTime); safecall;
function Get_SaturdayPagerEndTime: TDateTime; safecall;
procedure Set_SaturdayPagerEndTime(pRetVal: TDateTime); safecall;
function Get_SundayPagerStartTime: TDateTime; safecall;
procedure Set_SundayPagerStartTime(pRetVal: TDateTime); safecall;
function Get_SundayPagerEndTime: TDateTime; safecall;
procedure Set_SundayPagerEndTime(pRetVal: TDateTime); safecall;
function Get_PagerDays: SQLDMO_WEEKDAY_TYPE; safecall;
procedure Set_PagerDays(pRetVal: SQLDMO_WEEKDAY_TYPE); safecall;
function Get_Category: WideString; safecall;
procedure Set_Category(const pRetVal: WideString); safecall;
function Get_NetSendAddress: WideString; safecall;
procedure Set_NetSendAddress(const pRetVal: WideString); safecall;
function Get_LastNetSendDate: Integer; safecall;
function Get_LastNetSendTime: Integer; safecall;
procedure AddNotification(const AlertName: WideString; NotifyMethod:
SQLDMO_NOTIFY_TYPE); safecall;
procedure UpdateNotification(const AlertName: WideString; NotifyMethod:
SQLDMO_NOTIFY_TYPE); safecall;
procedure RemoveNotification(const AlertName: WideString); safecall;
function EnumNotifications(NotifyMethod: SQLDMO_NOTIFY_TYPE;
AlertsToEnum: SQLDMO_ENUMNOTIFY_TYPE;
AlertName: OleVariant): QueryResults; safecall;
procedure Remove(NewName: OleVariant); safecall;
procedure BeginAlter; safecall;
procedure DoAlter; safecall;
procedure CancelAlter; safecall;
procedure Refresh; safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property Name: WideString read Get_Name write Set_Name;
property ID: Integer read Get_ID;
property Enabled: WordBool read Get_Enabled write Set_Enabled;
property EmailAddress: WideString read Get_EmailAddress write
Set_EmailAddress;
property LastEmailDate: TDateTime read Get_LastEmailDate;
property PagerAddress: WideString read Get_PagerAddress write
Set_PagerAddress;
property LastPageDate: TDateTime read Get_LastPageDate;
property WeekdayPagerStartTime: TDateTime read Get_WeekdayPagerStartTime
write Set_WeekdayPagerStartTime;
property WeekdayPagerEndTime: TDateTime read Get_WeekdayPagerEndTime
write Set_WeekdayPagerEndTime;
property SaturdayPagerStartTime: TDateTime read
Get_SaturdayPagerStartTime write Set_SaturdayPagerStartTime;
property SaturdayPagerEndTime: TDateTime read Get_SaturdayPagerEndTime
write Set_SaturdayPagerEndTime;
property SundayPagerStartTime: TDateTime read Get_SundayPagerStartTime
write Set_SundayPagerStartTime;
property SundayPagerEndTime: TDateTime read Get_SundayPagerEndTime write
Set_SundayPagerEndTime;
property PagerDays: SQLDMO_WEEKDAY_TYPE read Get_PagerDays write
Set_PagerDays;
property Category: WideString read Get_Category write Set_Category;
property NetSendAddress: WideString read Get_NetSendAddress write
Set_NetSendAddress;
property LastNetSendDate: Integer read Get_LastNetSendDate;
property LastNetSendTime: Integer read Get_LastNetSendTime;
end;
// *********************************************************************//
// DispIntf: _OperatorDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10040206-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_OperatorDisp = dispinterface
['{10040206-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property Name: WideString dispid 9;
property ID: Integer readonly dispid 10;
property Enabled: WordBool dispid 11;
property EmailAddress: WideString dispid 12;
property LastEmailDate: TDateTime readonly dispid 13;
property PagerAddress: WideString dispid 14;
property LastPageDate: TDateTime readonly dispid 15;
property WeekdayPagerStartTime: TDateTime dispid 16;
property WeekdayPagerEndTime: TDateTime dispid 17;
property SaturdayPagerStartTime: TDateTime dispid 18;
property SaturdayPagerEndTime: TDateTime dispid 19;
property SundayPagerStartTime: TDateTime dispid 20;
property SundayPagerEndTime: TDateTime dispid 21;
property PagerDays: SQLDMO_WEEKDAY_TYPE dispid 22;
property Category: WideString dispid 23;
property NetSendAddress: WideString dispid 24;
property LastNetSendDate: Integer readonly dispid 25;
property LastNetSendTime: Integer readonly dispid 26;
procedure AddNotification(const AlertName: WideString; NotifyMethod:
SQLDMO_NOTIFY_TYPE); dispid 100;
procedure UpdateNotification(const AlertName: WideString; NotifyMethod:
SQLDMO_NOTIFY_TYPE); dispid 101;
procedure RemoveNotification(const AlertName: WideString); dispid 102;
function EnumNotifications(NotifyMethod: SQLDMO_NOTIFY_TYPE;
AlertsToEnum: SQLDMO_ENUMNOTIFY_TYPE;
AlertName: OleVariant): QueryResults; dispid 103;
procedure Remove(NewName: OleVariant); dispid 104;
procedure BeginAlter; dispid 105;
procedure DoAlter; dispid 106;
procedure CancelAlter; dispid 107;
procedure Refresh; dispid 108;
end;
// *********************************************************************//
// Interface: Alerts
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10040603-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
Alerts = interface(_IVSQLDMOStdObject)
['{10040603-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Item(Index: OleVariant): Alert; safecall;
function Get__NewEnum: IUnknown; safecall;
function Get_Count: Integer; safecall;
function ItemByID(ID: Integer): Alert; safecall;
procedure Add(const Object_: Alert); safecall;
procedure Remove(Index: OleVariant); safecall;
procedure Refresh(ReleaseMemberObjects: OleVariant); safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property _NewEnum: IUnknown read Get__NewEnum;
property Count: Integer read Get_Count;
end;
// *********************************************************************//
// DispIntf: AlertsDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10040603-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
AlertsDisp = dispinterface
['{10040603-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
function Item(Index: OleVariant): Alert; dispid 0;
property _NewEnum: IUnknown readonly dispid -4;
property Count: Integer readonly dispid 5;
function ItemByID(ID: Integer): Alert; dispid 6;
procedure Add(const Object_: Alert); dispid 100;
procedure Remove(Index: OleVariant); dispid 101;
procedure Refresh(ReleaseMemberObjects: OleVariant); dispid 102;
end;
// *********************************************************************//
// Interface: _Alert
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10040606-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_Alert = interface(_IVSQLDMOStdObject)
['{10040606-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_Name: WideString; safecall;
procedure Set_Name(const pRetVal: WideString); safecall;
function Get_ID: Integer; safecall;
function Get_EventSource: WideString; safecall;
function Get_EventCategoryID: Integer; safecall;
function Get_EventID: Integer; safecall;
function Get_MessageID: Integer; safecall;
procedure Set_MessageID(pRetVal: Integer); safecall;
function Get_Severity: Integer; safecall;
procedure Set_Severity(pRetVal: Integer); safecall;
function Get_Enabled: WordBool; safecall;
procedure Set_Enabled(pRetVal: WordBool); safecall;
function Get_DelayBetweenResponses: Integer; safecall;
procedure Set_DelayBetweenResponses(pRetVal: Integer); safecall;
function Get_LastOccurrenceDate: TDateTime; safecall;
procedure Set_LastOccurrenceDate(pRetVal: TDateTime); safecall;
function Get_LastResponseDate: TDateTime; safecall;
procedure Set_LastResponseDate(pRetVal: TDateTime); safecall;
function Get_NotificationMessage: WideString; safecall;
procedure Set_NotificationMessage(const pRetVal: WideString); safecall;
function Get_IncludeEventDescription: SQLDMO_NOTIFY_TYPE; safecall;
procedure Set_IncludeEventDescription(pRetVal: SQLDMO_NOTIFY_TYPE);
safecall;
function Get_DatabaseName: WideString; safecall;
procedure Set_DatabaseName(const pRetVal: WideString); safecall;
function Get_EventDescriptionKeyword: WideString; safecall;
procedure Set_EventDescriptionKeyword(const pRetVal: WideString);
safecall;
function Get_OccurrenceCount: Integer; safecall;
function Get_CountResetDate: TDateTime; safecall;
function Get_JobName: WideString; safecall;
function Get_HasNotification: Integer; safecall;
procedure AddNotification(const OperatorName: WideString; NotifyMethod:
SQLDMO_NOTIFY_TYPE); safecall;
procedure UpdateNotification(const OperatorName: WideString;
NotifyMethod: SQLDMO_NOTIFY_TYPE); safecall;
procedure RemoveNotification(const OperatorName: WideString); safecall;
function EnumNotifications(NotifyMethod: SQLDMO_NOTIFY_TYPE;
OperatorsToEnum: SQLDMO_ENUMNOTIFY_TYPE;
OperatorName: OleVariant): QueryResults; safecall;
procedure Remove; safecall;
procedure BeginAlter; safecall;
procedure DoAlter; safecall;
procedure CancelAlter; safecall;
procedure Refresh; safecall;
function Get_RaiseSNMPTrap: WordBool; safecall;
procedure Set_RaiseSNMPTrap(pRetVal: WordBool); safecall;
function Get_PerformanceCondition: WideString; safecall;
procedure Set_PerformanceCondition(const pRetVal: WideString); safecall;
function Get_JobID: WideString; safecall;
procedure Set_JobID(const pRetVal: WideString); safecall;
function Get_Category: WideString; safecall;
procedure Set_Category(const pRetVal: WideString); safecall;
function Get_Type_: SQLDMO_ALERT_TYPE; safecall;
procedure ResetOccurrenceCount; safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property Name: WideString read Get_Name write Set_Name;
property ID: Integer read Get_ID;
property EventSource: WideString read Get_EventSource;
property EventCategoryID: Integer read Get_EventCategoryID;
property EventID: Integer read Get_EventID;
property MessageID: Integer read Get_MessageID write Set_MessageID;
property Severity: Integer read Get_Severity write Set_Severity;
property Enabled: WordBool read Get_Enabled write Set_Enabled;
property DelayBetweenResponses: Integer read Get_DelayBetweenResponses
write Set_DelayBetweenResponses;
property LastOccurrenceDate: TDateTime read Get_LastOccurrenceDate write
Set_LastOccurrenceDate;
property LastResponseDate: TDateTime read Get_LastResponseDate write
Set_LastResponseDate;
property NotificationMessage: WideString read Get_NotificationMessage
write Set_NotificationMessage;
property IncludeEventDescription: SQLDMO_NOTIFY_TYPE read
Get_IncludeEventDescription write Set_IncludeEventDescription;
property DatabaseName: WideString read Get_DatabaseName write
Set_DatabaseName;
property EventDescriptionKeyword: WideString read
Get_EventDescriptionKeyword write Set_EventDescriptionKeyword;
property OccurrenceCount: Integer read Get_OccurrenceCount;
property CountResetDate: TDateTime read Get_CountResetDate;
property JobName: WideString read Get_JobName;
property HasNotification: Integer read Get_HasNotification;
property RaiseSNMPTrap: WordBool read Get_RaiseSNMPTrap write
Set_RaiseSNMPTrap;
property PerformanceCondition: WideString read Get_PerformanceCondition
write Set_PerformanceCondition;
property JobID: WideString read Get_JobID write Set_JobID;
property Category: WideString read Get_Category write Set_Category;
property Type_: SQLDMO_ALERT_TYPE read Get_Type_;
end;
// *********************************************************************//
// DispIntf: _AlertDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10040606-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_AlertDisp = dispinterface
['{10040606-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property Name: WideString dispid 9;
property ID: Integer readonly dispid 10;
property EventSource: WideString readonly dispid 11;
property EventCategoryID: Integer readonly dispid 12;
property EventID: Integer readonly dispid 13;
property MessageID: Integer dispid 14;
property Severity: Integer dispid 15;
property Enabled: WordBool dispid 16;
property DelayBetweenResponses: Integer dispid 17;
property LastOccurrenceDate: TDateTime dispid 18;
property LastResponseDate: TDateTime dispid 19;
property NotificationMessage: WideString dispid 20;
property IncludeEventDescription: SQLDMO_NOTIFY_TYPE dispid 21;
property DatabaseName: WideString dispid 22;
property EventDescriptionKeyword: WideString dispid 23;
property OccurrenceCount: Integer readonly dispid 24;
property CountResetDate: TDateTime readonly dispid 25;
property JobName: WideString readonly dispid 26;
property HasNotification: Integer readonly dispid 27;
procedure AddNotification(const OperatorName: WideString; NotifyMethod:
SQLDMO_NOTIFY_TYPE); dispid 100;
procedure UpdateNotification(const OperatorName: WideString;
NotifyMethod: SQLDMO_NOTIFY_TYPE); dispid 101;
procedure RemoveNotification(const OperatorName: WideString); dispid
102;
function EnumNotifications(NotifyMethod: SQLDMO_NOTIFY_TYPE;
OperatorsToEnum: SQLDMO_ENUMNOTIFY_TYPE;
OperatorName: OleVariant): QueryResults; dispid 103;
procedure Remove; dispid 104;
procedure BeginAlter; dispid 105;
procedure DoAlter; dispid 106;
procedure CancelAlter; dispid 107;
procedure Refresh; dispid 108;
property RaiseSNMPTrap: WordBool dispid 29;
property PerformanceCondition: WideString dispid 30;
property JobID: WideString dispid 31;
property Category: WideString dispid 32;
property Type_: SQLDMO_ALERT_TYPE readonly dispid 33;
procedure ResetOccurrenceCount; dispid 109;
end;
// *********************************************************************//
// Interface: Jobs
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10040803-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
Jobs = interface(_IVSQLDMOStdObject)
['{10040803-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Item(Index: OleVariant): Job; safecall;
function Get__NewEnum: IUnknown; safecall;
function Get_Count: Integer; safecall;
procedure Add(const Object_: Job); safecall;
procedure Remove(Index: Integer); safecall;
procedure Refresh(ReleaseMemberObjects: OleVariant); safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property _NewEnum: IUnknown read Get__NewEnum;
property Count: Integer read Get_Count;
end;
// *********************************************************************//
// DispIntf: JobsDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10040803-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
JobsDisp = dispinterface
['{10040803-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
function Item(Index: OleVariant): Job; dispid 0;
property _NewEnum: IUnknown readonly dispid -4;
property Count: Integer readonly dispid 5;
procedure Add(const Object_: Job); dispid 100;
procedure Remove(Index: Integer); dispid 101;
procedure Refresh(ReleaseMemberObjects: OleVariant); dispid 102;
end;
// *********************************************************************//
// Interface: _Job
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10040806-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_Job = interface(_IVSQLDMOStdObject)
['{10040806-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_JobSteps: JobSteps; safecall;
function Get_JobID: WideString; safecall;
function Get_OriginatingServer: WideString; safecall;
function Get_Name: WideString; safecall;
procedure Set_Name(const pRetVal: WideString); safecall;
function Get_Enabled: WordBool; safecall;
procedure Set_Enabled(pRetVal: WordBool); safecall;
function Get_StartStepID: Integer; safecall;
procedure Set_StartStepID(pRetVal: Integer); safecall;
function Get_Description: WideString; safecall;
procedure Set_Description(const pRetVal: WideString); safecall;
function Get_Category: WideString; safecall;
procedure Set_Category(const pRetVal: WideString); safecall;
function Get_Owner: WideString; safecall;
procedure Set_Owner(const pRetVal: WideString); safecall;
function Get_EventlogLevel: SQLDMO_COMPLETION_TYPE; safecall;
procedure Set_EventlogLevel(pRetVal: SQLDMO_COMPLETION_TYPE); safecall;
function Get_EmailLevel: SQLDMO_COMPLETION_TYPE; safecall;
procedure Set_EmailLevel(pRetVal: SQLDMO_COMPLETION_TYPE); safecall;
function Get_OperatorToEmail: WideString; safecall;
procedure Set_OperatorToEmail(const pRetVal: WideString); safecall;
function Get_DateCreated: WideString; safecall;
function Get_DateLastModified: WideString; safecall;
function Get_LastRunDate: Integer; safecall;
function Get_LastRunTime: Integer; safecall;
function Get_LastRunOutcome: SQLDMO_JOBOUTCOME_TYPE; safecall;
function Get_CurrentRunStatus: SQLDMO_JOBEXECUTION_STATUS; safecall;
function Get_CurrentRunStep: WideString; safecall;
function Get_NetSendLevel: SQLDMO_COMPLETION_TYPE; safecall;
procedure Set_NetSendLevel(pRetVal: SQLDMO_COMPLETION_TYPE); safecall;
function Get_DeleteLevel: SQLDMO_COMPLETION_TYPE; safecall;
procedure Set_DeleteLevel(pRetVal: SQLDMO_COMPLETION_TYPE); safecall;
function Get_HasStep: WordBool; safecall;
function Get_HasServer: WordBool; safecall;
function Get_Type_: SQLDMO_JOB_TYPE; safecall;
function Get_JobSchedules: JobSchedules; safecall;
function Get_HasSchedule: WordBool; safecall;
function Get_VersionNumber: Integer; safecall;
function Get_NextRunDate: Integer; safecall;
function Get_NextRunTime: Integer; safecall;
function Get_CurrentRunRetryAttempt: Integer; safecall;
function Get_NextRunScheduleID: Integer; safecall;
procedure Remove; safecall;
procedure BeginAlter; safecall;
procedure DoAlter; safecall;
procedure CancelAlter; safecall;
procedure Refresh; safecall;
procedure ApplyToTargetServer(const Val: WideString); safecall;
procedure RemoveFromTargetServer(const Val: WideString); safecall;
function EnumTargetServers: QueryResults; safecall;
procedure ApplyToTargetServerGroup(const Val: WideString); safecall;
function EnumHistory(JobHistoryFilter: OleVariant): QueryResults;
safecall;
procedure PurgeHistory; safecall;
procedure Invoke_; safecall;
procedure AddStepToJob(const JobStep: JobStep); safecall;
procedure RemoveFromTargetServerGroup(const Val: WideString); safecall;
procedure RemoveAllJobSteps; safecall;
procedure Start(Val: OleVariant); safecall;
procedure Stop; safecall;
procedure RemoveAllJobSchedules; safecall;
function Get_PageLevel: SQLDMO_COMPLETION_TYPE; safecall;
procedure Set_PageLevel(pRetVal: SQLDMO_COMPLETION_TYPE); safecall;
function Get_OperatorToNetSend: WideString; safecall;
procedure Set_OperatorToNetSend(const pRetVal: WideString); safecall;
function Get_OperatorToPage: WideString; safecall;
procedure Set_OperatorToPage(const pRetVal: WideString); safecall;
function EnumAlerts: QueryResults; safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property JobSteps: JobSteps read Get_JobSteps;
property JobID: WideString read Get_JobID;
property OriginatingServer: WideString read Get_OriginatingServer;
property Name: WideString read Get_Name write Set_Name;
property Enabled: WordBool read Get_Enabled write Set_Enabled;
property StartStepID: Integer read Get_StartStepID write
Set_StartStepID;
property Description: WideString read Get_Description write
Set_Description;
property Category: WideString read Get_Category write Set_Category;
property Owner: WideString read Get_Owner write Set_Owner;
property EventlogLevel: SQLDMO_COMPLETION_TYPE read Get_EventlogLevel
write Set_EventlogLevel;
property EmailLevel: SQLDMO_COMPLETION_TYPE read Get_EmailLevel write
Set_EmailLevel;
property OperatorToEmail: WideString read Get_OperatorToEmail write
Set_OperatorToEmail;
property DateCreated: WideString read Get_DateCreated;
property DateLastModified: WideString read Get_DateLastModified;
property LastRunDate: Integer read Get_LastRunDate;
property LastRunTime: Integer read Get_LastRunTime;
property LastRunOutcome: SQLDMO_JOBOUTCOME_TYPE read Get_LastRunOutcome;
property CurrentRunStatus: SQLDMO_JOBEXECUTION_STATUS read
Get_CurrentRunStatus;
property CurrentRunStep: WideString read Get_CurrentRunStep;
property NetSendLevel: SQLDMO_COMPLETION_TYPE read Get_NetSendLevel
write Set_NetSendLevel;
property DeleteLevel: SQLDMO_COMPLETION_TYPE read Get_DeleteLevel write
Set_DeleteLevel;
property HasStep: WordBool read Get_HasStep;
property HasServer: WordBool read Get_HasServer;
property Type_: SQLDMO_JOB_TYPE read Get_Type_;
property JobSchedules: JobSchedules read Get_JobSchedules;
property HasSchedule: WordBool read Get_HasSchedule;
property VersionNumber: Integer read Get_VersionNumber;
property NextRunDate: Integer read Get_NextRunDate;
property NextRunTime: Integer read Get_NextRunTime;
property CurrentRunRetryAttempt: Integer read
Get_CurrentRunRetryAttempt;
property NextRunScheduleID: Integer read Get_NextRunScheduleID;
property PageLevel: SQLDMO_COMPLETION_TYPE read Get_PageLevel write
Set_PageLevel;
property OperatorToNetSend: WideString read Get_OperatorToNetSend write
Set_OperatorToNetSend;
property OperatorToPage: WideString read Get_OperatorToPage write
Set_OperatorToPage;
end;
// *********************************************************************//
// DispIntf: _JobDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10040806-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_JobDisp = dispinterface
['{10040806-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property JobSteps: JobSteps readonly dispid 0;
property JobID: WideString readonly dispid 13;
property OriginatingServer: WideString readonly dispid 14;
property Name: WideString dispid 15;
property Enabled: WordBool dispid 16;
property StartStepID: Integer dispid 17;
property Description: WideString dispid 18;
property Category: WideString dispid 19;
property Owner: WideString dispid 20;
property EventlogLevel: SQLDMO_COMPLETION_TYPE dispid 21;
property EmailLevel: SQLDMO_COMPLETION_TYPE dispid 22;
property OperatorToEmail: WideString dispid 23;
property DateCreated: WideString readonly dispid 25;
property DateLastModified: WideString readonly dispid 26;
property LastRunDate: Integer readonly dispid 27;
property LastRunTime: Integer readonly dispid 28;
property LastRunOutcome: SQLDMO_JOBOUTCOME_TYPE readonly dispid 29;
property CurrentRunStatus: SQLDMO_JOBEXECUTION_STATUS readonly dispid
30;
property CurrentRunStep: WideString readonly dispid 31;
property NetSendLevel: SQLDMO_COMPLETION_TYPE dispid 32;
property DeleteLevel: SQLDMO_COMPLETION_TYPE dispid 34;
property HasStep: WordBool readonly dispid 35;
property HasServer: WordBool readonly dispid 36;
property Type_: SQLDMO_JOB_TYPE readonly dispid 37;
property JobSchedules: JobSchedules readonly dispid 38;
property HasSchedule: WordBool readonly dispid 39;
property VersionNumber: Integer readonly dispid 40;
property NextRunDate: Integer readonly dispid 41;
property NextRunTime: Integer readonly dispid 42;
property CurrentRunRetryAttempt: Integer readonly dispid 43;
property NextRunScheduleID: Integer readonly dispid 44;
procedure Remove; dispid 100;
procedure BeginAlter; dispid 101;
procedure DoAlter; dispid 102;
procedure CancelAlter; dispid 103;
procedure Refresh; dispid 104;
procedure ApplyToTargetServer(const Val: WideString); dispid 106;
procedure RemoveFromTargetServer(const Val: WideString); dispid 107;
function EnumTargetServers: QueryResults; dispid 108;
procedure ApplyToTargetServerGroup(const Val: WideString); dispid 109;
function EnumHistory(JobHistoryFilter: OleVariant): QueryResults; dispid
110;
procedure PurgeHistory; dispid 111;
procedure Invoke_; dispid 112;
procedure AddStepToJob(const JobStep: JobStep); dispid 114;
procedure RemoveFromTargetServerGroup(const Val: WideString); dispid
116;
procedure RemoveAllJobSteps; dispid 118;
procedure Start(Val: OleVariant); dispid 119;
procedure Stop; dispid 120;
procedure RemoveAllJobSchedules; dispid 121;
property PageLevel: SQLDMO_COMPLETION_TYPE dispid 45;
property OperatorToNetSend: WideString dispid 46;
property OperatorToPage: WideString dispid 47;
function EnumAlerts: QueryResults; dispid 122;
end;
// *********************************************************************//
// Interface: JobSteps
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10040903-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
JobSteps = interface(_IVSQLDMOStdObject)
['{10040903-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Item(Index: OleVariant): JobStep; safecall;
function Get__NewEnum: IUnknown; safecall;
function Get_Count: Integer; safecall;
function ItemByID(ID: Integer): JobStep; safecall;
procedure Add(const Object_: JobStep); safecall;
procedure Remove(Index: OleVariant); safecall;
procedure Refresh(ReleaseMemberObjects: OleVariant); safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property _NewEnum: IUnknown read Get__NewEnum;
property Count: Integer read Get_Count;
end;
// *********************************************************************//
// DispIntf: JobStepsDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10040903-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
JobStepsDisp = dispinterface
['{10040903-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
function Item(Index: OleVariant): JobStep; dispid 0;
property _NewEnum: IUnknown readonly dispid -4;
property Count: Integer readonly dispid 5;
function ItemByID(ID: Integer): JobStep; dispid 6;
procedure Add(const Object_: JobStep); dispid 100;
procedure Remove(Index: OleVariant); dispid 101;
procedure Refresh(ReleaseMemberObjects: OleVariant); dispid 102;
end;
// *********************************************************************//
// Interface: _JobStep
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10040906-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_JobStep = interface(_IVSQLDMOStdObject)
['{10040906-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_StepID: Integer; safecall;
procedure Set_StepID(pRetVal: Integer); safecall;
function Get_Name: WideString; safecall;
procedure Set_Name(const pRetVal: WideString); safecall;
function Get_SubSystem: WideString; safecall;
procedure Set_SubSystem(const pRetVal: WideString); safecall;
function Get_Command: WideString; safecall;
procedure Set_Command(const pRetVal: WideString); safecall;
function Get_Flags: Integer; safecall;
procedure Set_Flags(pRetVal: Integer); safecall;
function Get_AdditionalParameters: WideString; safecall;
procedure Set_AdditionalParameters(const pRetVal: WideString); safecall;
function Get_CmdExecSuccessCode: Integer; safecall;
procedure Set_CmdExecSuccessCode(pRetVal: Integer); safecall;
function Get_OnSuccessAction: SQLDMO_JOBSTEPACTION_TYPE; safecall;
procedure Set_OnSuccessAction(pRetVal: SQLDMO_JOBSTEPACTION_TYPE);
safecall;
function Get_OnSuccessStep: Integer; safecall;
procedure Set_OnSuccessStep(pRetVal: Integer); safecall;
function Get_OnFailAction: SQLDMO_JOBSTEPACTION_TYPE; safecall;
procedure Set_OnFailAction(pRetVal: SQLDMO_JOBSTEPACTION_TYPE);
safecall;
function Get_OnFailStep: Integer; safecall;
procedure Set_OnFailStep(pRetVal: Integer); safecall;
function Get_Server: WideString; safecall;
procedure Set_Server(const pRetVal: WideString); safecall;
function Get_DatabaseName: WideString; safecall;
procedure Set_DatabaseName(const pRetVal: WideString); safecall;
function Get_DatabaseUserName: WideString; safecall;
procedure Set_DatabaseUserName(const pRetVal: WideString); safecall;
function Get_RetryAttempts: Integer; safecall;
procedure Set_RetryAttempts(pRetVal: Integer); safecall;
function Get_RetryInterval: Integer; safecall;
procedure Set_RetryInterval(pRetVal: Integer); safecall;
function Get_OSRunPriority: SQLDMO_RUNPRIORITY_TYPE; safecall;
procedure Set_OSRunPriority(pRetVal: SQLDMO_RUNPRIORITY_TYPE); safecall;
function Get_LastRunOutcome: SQLDMO_JOBOUTCOME_TYPE; safecall;
function Get_LastRunDuration: Integer; safecall;
function Get_LastRunRetries: Integer; safecall;
function Get_LastRunDate: Integer; safecall;
function Get_LastRunTime: Integer; safecall;
function Get_OutputFileName: WideString; safecall;
procedure Set_OutputFileName(const pRetVal: WideString); safecall;
procedure Remove; safecall;
procedure BeginAlter; safecall;
procedure DoAlter; safecall;
procedure CancelAlter; safecall;
procedure Refresh; safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property StepID: Integer read Get_StepID write Set_StepID;
property Name: WideString read Get_Name write Set_Name;
property SubSystem: WideString read Get_SubSystem write Set_SubSystem;
property Command: WideString read Get_Command write Set_Command;
property Flags: Integer read Get_Flags write Set_Flags;
property AdditionalParameters: WideString read Get_AdditionalParameters
write Set_AdditionalParameters;
property CmdExecSuccessCode: Integer read Get_CmdExecSuccessCode write
Set_CmdExecSuccessCode;
property OnSuccessAction: SQLDMO_JOBSTEPACTION_TYPE read
Get_OnSuccessAction write Set_OnSuccessAction;
property OnSuccessStep: Integer read Get_OnSuccessStep write
Set_OnSuccessStep;
property OnFailAction: SQLDMO_JOBSTEPACTION_TYPE read Get_OnFailAction
write Set_OnFailAction;
property OnFailStep: Integer read Get_OnFailStep write Set_OnFailStep;
property Server: WideString read Get_Server write Set_Server;
property DatabaseName: WideString read Get_DatabaseName write
Set_DatabaseName;
property DatabaseUserName: WideString read Get_DatabaseUserName write
Set_DatabaseUserName;
property RetryAttempts: Integer read Get_RetryAttempts write
Set_RetryAttempts;
property RetryInterval: Integer read Get_RetryInterval write
Set_RetryInterval;
property OSRunPriority: SQLDMO_RUNPRIORITY_TYPE read Get_OSRunPriority
write Set_OSRunPriority;
property LastRunOutcome: SQLDMO_JOBOUTCOME_TYPE read Get_LastRunOutcome;
property LastRunDuration: Integer read Get_LastRunDuration;
property LastRunRetries: Integer read Get_LastRunRetries;
property LastRunDate: Integer read Get_LastRunDate;
property LastRunTime: Integer read Get_LastRunTime;
property OutputFileName: WideString read Get_OutputFileName write
Set_OutputFileName;
end;
// *********************************************************************//
// DispIntf: _JobStepDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10040906-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_JobStepDisp = dispinterface
['{10040906-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property StepID: Integer dispid 13;
property Name: WideString dispid 14;
property SubSystem: WideString dispid 15;
property Command: WideString dispid 16;
property Flags: Integer dispid 17;
property AdditionalParameters: WideString dispid 18;
property CmdExecSuccessCode: Integer dispid 19;
property OnSuccessAction: SQLDMO_JOBSTEPACTION_TYPE dispid 21;
property OnSuccessStep: Integer dispid 22;
property OnFailAction: SQLDMO_JOBSTEPACTION_TYPE dispid 23;
property OnFailStep: Integer dispid 24;
property Server: WideString dispid 25;
property DatabaseName: WideString dispid 26;
property DatabaseUserName: WideString dispid 27;
property RetryAttempts: Integer dispid 28;
property RetryInterval: Integer dispid 29;
property OSRunPriority: SQLDMO_RUNPRIORITY_TYPE dispid 30;
property LastRunOutcome: SQLDMO_JOBOUTCOME_TYPE readonly dispid 31;
property LastRunDuration: Integer readonly dispid 32;
property LastRunRetries: Integer readonly dispid 33;
property LastRunDate: Integer readonly dispid 34;
property LastRunTime: Integer readonly dispid 35;
property OutputFileName: WideString dispid 36;
procedure Remove; dispid 100;
procedure BeginAlter; dispid 101;
procedure DoAlter; dispid 102;
procedure CancelAlter; dispid 103;
procedure Refresh; dispid 104;
end;
// *********************************************************************//
// Interface: JobSchedules
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10041603-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
JobSchedules = interface(_IVSQLDMOStdObject)
['{10041603-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Item(Index: OleVariant): JobSchedule; safecall;
function Get__NewEnum: IUnknown; safecall;
function Get_Count: Integer; safecall;
function ItemByID(ID: Integer): JobSchedule; safecall;
procedure Add(const Object_: JobSchedule); safecall;
procedure Remove(Index: OleVariant); safecall;
procedure Refresh(ReleaseMemberObjects: OleVariant); safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property _NewEnum: IUnknown read Get__NewEnum;
property Count: Integer read Get_Count;
end;
// *********************************************************************//
// DispIntf: JobSchedulesDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10041603-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
JobSchedulesDisp = dispinterface
['{10041603-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
function Item(Index: OleVariant): JobSchedule; dispid 0;
property _NewEnum: IUnknown readonly dispid -4;
property Count: Integer readonly dispid 5;
function ItemByID(ID: Integer): JobSchedule; dispid 6;
procedure Add(const Object_: JobSchedule); dispid 100;
procedure Remove(Index: OleVariant); dispid 101;
procedure Refresh(ReleaseMemberObjects: OleVariant); dispid 102;
end;
// *********************************************************************//
// Interface: _JobSchedule
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10041606-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_JobSchedule = interface(_IVSQLDMOStdObject)
['{10041606-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_Name: WideString; safecall;
procedure Set_Name(const pRetVal: WideString); safecall;
function Get_Enabled: WordBool; safecall;
procedure Set_Enabled(pRetVal: WordBool); safecall;
function Get_Schedule: Schedule; safecall;
function Get_DateCreated: WideString; safecall;
function Get_ScheduleID: Integer; safecall;
procedure Remove; safecall;
procedure BeginAlter; safecall;
procedure DoAlter; safecall;
procedure CancelAlter; safecall;
procedure Refresh; safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property Name: WideString read Get_Name write Set_Name;
property Enabled: WordBool read Get_Enabled write Set_Enabled;
property Schedule: Schedule read Get_Schedule;
property DateCreated: WideString read Get_DateCreated;
property ScheduleID: Integer read Get_ScheduleID;
end;
// *********************************************************************//
// DispIntf: _JobScheduleDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10041606-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_JobScheduleDisp = dispinterface
['{10041606-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property Name: WideString dispid 9;
property Enabled: WordBool dispid 11;
property Schedule: Schedule readonly dispid 12;
property DateCreated: WideString readonly dispid 13;
property ScheduleID: Integer readonly dispid 14;
procedure Remove; dispid 100;
procedure BeginAlter; dispid 101;
procedure DoAlter; dispid 102;
procedure CancelAlter; dispid 103;
procedure Refresh; dispid 104;
end;
// *********************************************************************//
// Interface: Schedule
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10041206-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
Schedule = interface(_IVSQLDMOStdObject)
['{10041206-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_FrequencyType: SQLDMO_FREQUENCY_TYPE; safecall;
procedure Set_FrequencyType(pRetVal: SQLDMO_FREQUENCY_TYPE); safecall;
function Get_FrequencyInterval: Integer; safecall;
procedure Set_FrequencyInterval(pRetVal: Integer); safecall;
function Get_FrequencySubDay: SQLDMO_FREQSUB_TYPE; safecall;
procedure Set_FrequencySubDay(pRetVal: SQLDMO_FREQSUB_TYPE); safecall;
function Get_FrequencySubDayInterval: Integer; safecall;
procedure Set_FrequencySubDayInterval(pRetVal: Integer); safecall;
function Get_FrequencyRelativeInterval: SQLDMO_FREQRELATIVE_TYPE;
safecall;
procedure Set_FrequencyRelativeInterval(pRetVal:
SQLDMO_FREQRELATIVE_TYPE); safecall;
function Get_FrequencyRecurrenceFactor: Integer; safecall;
procedure Set_FrequencyRecurrenceFactor(pRetVal: Integer); safecall;
function Get_ActiveStartDate: Integer; safecall;
procedure Set_ActiveStartDate(pRetVal: Integer); safecall;
function Get_ActiveEndDate: Integer; safecall;
procedure Set_ActiveEndDate(pRetVal: Integer); safecall;
function Get_ActiveStartTimeOfDay: Integer; safecall;
procedure Set_ActiveStartTimeOfDay(pRetVal: Integer); safecall;
function Get_ActiveEndTimeOfDay: Integer; safecall;
procedure Set_ActiveEndTimeOfDay(pRetVal: Integer); safecall;
procedure Refresh; safecall;
procedure BeginAlter; safecall;
procedure DoAlter; safecall;
procedure CancelAlter; safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property FrequencyType: SQLDMO_FREQUENCY_TYPE read Get_FrequencyType
write Set_FrequencyType;
property FrequencyInterval: Integer read Get_FrequencyInterval write
Set_FrequencyInterval;
property FrequencySubDay: SQLDMO_FREQSUB_TYPE read Get_FrequencySubDay
write Set_FrequencySubDay;
property FrequencySubDayInterval: Integer read
Get_FrequencySubDayInterval write Set_FrequencySubDayInterval;
property FrequencyRelativeInterval: SQLDMO_FREQRELATIVE_TYPE read
Get_FrequencyRelativeInterval write Set_FrequencyRelativeInterval;
property FrequencyRecurrenceFactor: Integer read
Get_FrequencyRecurrenceFactor write Set_FrequencyRecurrenceFactor;
property ActiveStartDate: Integer read Get_ActiveStartDate write
Set_ActiveStartDate;
property ActiveEndDate: Integer read Get_ActiveEndDate write
Set_ActiveEndDate;
property ActiveStartTimeOfDay: Integer read Get_ActiveStartTimeOfDay
write Set_ActiveStartTimeOfDay;
property ActiveEndTimeOfDay: Integer read Get_ActiveEndTimeOfDay write
Set_ActiveEndTimeOfDay;
end;
// *********************************************************************//
// DispIntf: ScheduleDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10041206-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
ScheduleDisp = dispinterface
['{10041206-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property FrequencyType: SQLDMO_FREQUENCY_TYPE dispid 9;
property FrequencyInterval: Integer dispid 10;
property FrequencySubDay: SQLDMO_FREQSUB_TYPE dispid 11;
property FrequencySubDayInterval: Integer dispid 12;
property FrequencyRelativeInterval: SQLDMO_FREQRELATIVE_TYPE dispid 13;
property FrequencyRecurrenceFactor: Integer dispid 14;
property ActiveStartDate: Integer dispid 15;
property ActiveEndDate: Integer dispid 16;
property ActiveStartTimeOfDay: Integer dispid 17;
property ActiveEndTimeOfDay: Integer dispid 18;
procedure Refresh; dispid 101;
procedure BeginAlter; dispid 102;
procedure DoAlter; dispid 103;
procedure CancelAlter; dispid 104;
end;
// *********************************************************************//
// Interface: TargetServers
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10041003-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
TargetServers = interface(_IVSQLDMOStdObject)
['{10041003-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Item(Index: OleVariant): TargetServer; safecall;
function Get__NewEnum: IUnknown; safecall;
function Get_Count: Integer; safecall;
function ItemByID(ID: Integer): TargetServer; safecall;
procedure Remove(Index: OleVariant); safecall;
procedure Refresh(ReleaseMemberObjects: OleVariant); safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property _NewEnum: IUnknown read Get__NewEnum;
property Count: Integer read Get_Count;
end;
// *********************************************************************//
// DispIntf: TargetServersDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10041003-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
TargetServersDisp = dispinterface
['{10041003-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
function Item(Index: OleVariant): TargetServer; dispid 0;
property _NewEnum: IUnknown readonly dispid -4;
property Count: Integer readonly dispid 5;
function ItemByID(ID: Integer): TargetServer; dispid 6;
procedure Remove(Index: OleVariant); dispid 101;
procedure Refresh(ReleaseMemberObjects: OleVariant); dispid 102;
end;
// *********************************************************************//
// Interface: _TargetServer
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10041006-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_TargetServer = interface(_IVSQLDMOStdObject)
['{10041006-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_ServerID: Integer; safecall;
function Get_ServerName: WideString; safecall;
function Get_EnlistDate: WideString; safecall;
function Get_LastPollDate: WideString; safecall;
function Get_Status: Integer; safecall;
function Get_Location: WideString; safecall;
procedure Set_Location(const pRetVal: WideString); safecall;
function Get_TimeZoneAdjustment: Integer; safecall;
function Get_PendingInstructions: Integer; safecall;
function Get_LocalTime: WideString; safecall;
function Get_PollingInterval: Integer; safecall;
procedure Refresh; safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property ServerID: Integer read Get_ServerID;
property ServerName: WideString read Get_ServerName;
property EnlistDate: WideString read Get_EnlistDate;
property LastPollDate: WideString read Get_LastPollDate;
property Status: Integer read Get_Status;
property Location: WideString read Get_Location write Set_Location;
property TimeZoneAdjustment: Integer read Get_TimeZoneAdjustment;
property PendingInstructions: Integer read Get_PendingInstructions;
property LocalTime: WideString read Get_LocalTime;
property PollingInterval: Integer read Get_PollingInterval;
end;
// *********************************************************************//
// DispIntf: _TargetServerDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10041006-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_TargetServerDisp = dispinterface
['{10041006-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property ServerID: Integer readonly dispid 10;
property ServerName: WideString readonly dispid 11;
property EnlistDate: WideString readonly dispid 12;
property LastPollDate: WideString readonly dispid 13;
property Status: Integer readonly dispid 14;
property Location: WideString dispid 15;
property TimeZoneAdjustment: Integer readonly dispid 16;
property PendingInstructions: Integer readonly dispid 17;
property LocalTime: WideString readonly dispid 18;
property PollingInterval: Integer readonly dispid 19;
procedure Refresh; dispid 100;
end;
// *********************************************************************//
// Interface: TargetServerGroups
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10041103-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
TargetServerGroups = interface(_IVSQLDMOStdObject)
['{10041103-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Item(Index: OleVariant): TargetServerGroup; safecall;
function Get__NewEnum: IUnknown; safecall;
function Get_Count: Integer; safecall;
function ItemByID(ID: Integer): TargetServerGroup; safecall;
procedure Add(const Object_: TargetServerGroup); safecall;
procedure Remove(Index: OleVariant); safecall;
procedure Refresh(ReleaseMemberObjects: OleVariant); safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property _NewEnum: IUnknown read Get__NewEnum;
property Count: Integer read Get_Count;
end;
// *********************************************************************//
// DispIntf: TargetServerGroupsDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10041103-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
TargetServerGroupsDisp = dispinterface
['{10041103-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
function Item(Index: OleVariant): TargetServerGroup; dispid 0;
property _NewEnum: IUnknown readonly dispid -4;
property Count: Integer readonly dispid 5;
function ItemByID(ID: Integer): TargetServerGroup; dispid 6;
procedure Add(const Object_: TargetServerGroup); dispid 100;
procedure Remove(Index: OleVariant); dispid 101;
procedure Refresh(ReleaseMemberObjects: OleVariant); dispid 102;
end;
// *********************************************************************//
// Interface: _TargetServerGroup
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10041106-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_TargetServerGroup = interface(_IVSQLDMOStdObject)
['{10041106-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_Name: WideString; safecall;
procedure Set_Name(const pRetVal: WideString); safecall;
function Get_GroupID: Integer; safecall;
procedure Remove; safecall;
procedure BeginAlter; safecall;
procedure DoAlter; safecall;
procedure CancelAlter; safecall;
procedure Refresh; safecall;
function ListMemberServers: NameList; safecall;
procedure AddMemberServer(const Val: WideString); safecall;
procedure RemoveMemberServer(const Val: WideString); safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property Name: WideString read Get_Name write Set_Name;
property GroupID: Integer read Get_GroupID;
end;
// *********************************************************************//
// DispIntf: _TargetServerGroupDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10041106-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_TargetServerGroupDisp = dispinterface
['{10041106-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property Name: WideString dispid 9;
property GroupID: Integer readonly dispid 10;
procedure Remove; dispid 100;
procedure BeginAlter; dispid 101;
procedure DoAlter; dispid 102;
procedure CancelAlter; dispid 103;
procedure Refresh; dispid 104;
function ListMemberServers: NameList; dispid 105;
procedure AddMemberServer(const Val: WideString); dispid 106;
procedure RemoveMemberServer(const Val: WideString); dispid 107;
end;
// *********************************************************************//
// Interface: JobFilter
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10041306-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
JobFilter = interface(_IVSQLDMOStdObject)
['{10041306-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_CurrentExecutionStatus: SQLDMO_JOBEXECUTION_STATUS;
safecall;
procedure Set_CurrentExecutionStatus(pRetVal:
SQLDMO_JOBEXECUTION_STATUS); safecall;
function Get_Enabled: WordBool; safecall;
procedure Set_Enabled(pRetVal: WordBool); safecall;
function Get_Category: WideString; safecall;
procedure Set_Category(const pRetVal: WideString); safecall;
function Get_Owner: WideString; safecall;
procedure Set_Owner(const pRetVal: WideString); safecall;
function Get_StepSubsystem: WideString; safecall;
procedure Set_StepSubsystem(const pRetVal: WideString); safecall;
function Get_DateJobCreated: WideString; safecall;
procedure Set_DateJobCreated(const pRetVal: WideString); safecall;
function Get_DateJobLastModified: WideString; safecall;
procedure Set_DateJobLastModified(const pRetVal: WideString); safecall;
function Get_DateFindOperand: SQLDMO_FIND_OPERAND; safecall;
procedure Set_DateFindOperand(pRetVal: SQLDMO_FIND_OPERAND); safecall;
function Get_Type_: SQLDMO_JOB_TYPE; safecall;
procedure Set_Type_(pRetVal: SQLDMO_JOB_TYPE); safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property CurrentExecutionStatus: SQLDMO_JOBEXECUTION_STATUS read
Get_CurrentExecutionStatus write Set_CurrentExecutionStatus;
property Enabled: WordBool read Get_Enabled write Set_Enabled;
property Category: WideString read Get_Category write Set_Category;
property Owner: WideString read Get_Owner write Set_Owner;
property StepSubsystem: WideString read Get_StepSubsystem write
Set_StepSubsystem;
property DateJobCreated: WideString read Get_DateJobCreated write
Set_DateJobCreated;
property DateJobLastModified: WideString read Get_DateJobLastModified
write Set_DateJobLastModified;
property DateFindOperand: SQLDMO_FIND_OPERAND read Get_DateFindOperand
write Set_DateFindOperand;
property Type_: SQLDMO_JOB_TYPE read Get_Type_ write Set_Type_;
end;
// *********************************************************************//
// DispIntf: JobFilterDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10041306-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
JobFilterDisp = dispinterface
['{10041306-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property CurrentExecutionStatus: SQLDMO_JOBEXECUTION_STATUS dispid 10;
property Enabled: WordBool dispid 11;
property Category: WideString dispid 12;
property Owner: WideString dispid 13;
property StepSubsystem: WideString dispid 14;
property DateJobCreated: WideString dispid 15;
property DateJobLastModified: WideString dispid 16;
property DateFindOperand: SQLDMO_FIND_OPERAND dispid 17;
property Type_: SQLDMO_JOB_TYPE dispid 18;
end;
// *********************************************************************//
// Interface: JobHistoryFilter
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10041406-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
JobHistoryFilter = interface(_IVSQLDMOStdObject)
['{10041406-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_JobName: WideString; safecall;
procedure Set_JobName(const pRetVal: WideString); safecall;
function Get_StartRunDate: Integer; safecall;
procedure Set_StartRunDate(pRetVal: Integer); safecall;
function Get_CompletionTypes: SQLDMO_COMPLETION_TYPE; safecall;
procedure Set_CompletionTypes(pRetVal: SQLDMO_COMPLETION_TYPE);
safecall;
function Get_SQLMessageID: Integer; safecall;
procedure Set_SQLMessageID(pRetVal: Integer); safecall;
function Get_SQLSeverity: Integer; safecall;
procedure Set_SQLSeverity(pRetVal: Integer); safecall;
function Get_MinimumRunDuration: Integer; safecall;
procedure Set_MinimumRunDuration(pRetVal: Integer); safecall;
function Get_OldestFirst: WordBool; safecall;
procedure Set_OldestFirst(pRetVal: WordBool); safecall;
function Get_EndRunDate: Integer; safecall;
procedure Set_EndRunDate(pRetVal: Integer); safecall;
function Get_MinimumRetries: Integer; safecall;
procedure Set_MinimumRetries(pRetVal: Integer); safecall;
function Get_StartRunTime: Integer; safecall;
procedure Set_StartRunTime(pRetVal: Integer); safecall;
function Get_EndRunTime: Integer; safecall;
procedure Set_EndRunTime(pRetVal: Integer); safecall;
function Get_RunStatusMask: Integer; safecall;
procedure Set_RunStatusMask(pRetVal: Integer); safecall;
function Get_JobID: WideString; safecall;
procedure Set_JobID(const pRetVal: WideString); safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property JobName: WideString read Get_JobName write Set_JobName;
property StartRunDate: Integer read Get_StartRunDate write
Set_StartRunDate;
property CompletionTypes: SQLDMO_COMPLETION_TYPE read
Get_CompletionTypes write Set_CompletionTypes;
property SQLMessageID: Integer read Get_SQLMessageID write
Set_SQLMessageID;
property SQLSeverity: Integer read Get_SQLSeverity write
Set_SQLSeverity;
property MinimumRunDuration: Integer read Get_MinimumRunDuration write
Set_MinimumRunDuration;
property OldestFirst: WordBool read Get_OldestFirst write
Set_OldestFirst;
property EndRunDate: Integer read Get_EndRunDate write Set_EndRunDate;
property MinimumRetries: Integer read Get_MinimumRetries write
Set_MinimumRetries;
property StartRunTime: Integer read Get_StartRunTime write
Set_StartRunTime;
property EndRunTime: Integer read Get_EndRunTime write Set_EndRunTime;
property RunStatusMask: Integer read Get_RunStatusMask write
Set_RunStatusMask;
property JobID: WideString read Get_JobID write Set_JobID;
end;
// *********************************************************************//
// DispIntf: JobHistoryFilterDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10041406-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
JobHistoryFilterDisp = dispinterface
['{10041406-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property JobName: WideString dispid 9;
property StartRunDate: Integer dispid 10;
property CompletionTypes: SQLDMO_COMPLETION_TYPE dispid 12;
property SQLMessageID: Integer dispid 14;
property SQLSeverity: Integer dispid 15;
property MinimumRunDuration: Integer dispid 16;
property OldestFirst: WordBool dispid 17;
property EndRunDate: Integer dispid 18;
property MinimumRetries: Integer dispid 19;
property StartRunTime: Integer dispid 20;
property EndRunTime: Integer dispid 21;
property RunStatusMask: Integer dispid 22;
property JobID: WideString dispid 23;
end;
// *********************************************************************//
// Interface: JobCategories
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10041503-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
JobCategories = interface(_IVSQLDMOStdObject)
['{10041503-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Item(Index: OleVariant): Category; safecall;
function Get__NewEnum: IUnknown; safecall;
function Get_Count: Integer; safecall;
function ItemByID(ID: Integer): Category; safecall;
procedure Add(const Object_: Category); safecall;
procedure Remove(Index: OleVariant); safecall;
procedure Refresh(ReleaseMemberObjects: OleVariant); safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property _NewEnum: IUnknown read Get__NewEnum;
property Count: Integer read Get_Count;
end;
// *********************************************************************//
// DispIntf: JobCategoriesDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10041503-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
JobCategoriesDisp = dispinterface
['{10041503-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
function Item(Index: OleVariant): Category; dispid 0;
property _NewEnum: IUnknown readonly dispid -4;
property Count: Integer readonly dispid 5;
function ItemByID(ID: Integer): Category; dispid 6;
procedure Add(const Object_: Category); dispid 100;
procedure Remove(Index: OleVariant); dispid 101;
procedure Refresh(ReleaseMemberObjects: OleVariant); dispid 102;
end;
// *********************************************************************//
// Interface: _Category
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10041512-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_Category = interface(_IVSQLDMOStdObject)
['{10041512-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_Name: WideString; safecall;
procedure Set_Name(const pRetVal: WideString); safecall;
function Get_ID: Integer; safecall;
function Get_Type_: SQLDMO_CATEgoryTYPE_TYPE; safecall;
procedure Set_Type_(pRetVal: SQLDMO_CATEgoryTYPE_TYPE); safecall;
procedure Remove; safecall;
procedure BeginAlter; safecall;
procedure DoAlter; safecall;
procedure CancelAlter; safecall;
procedure Refresh; safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property Name: WideString read Get_Name write Set_Name;
property ID: Integer read Get_ID;
property Type_: SQLDMO_CATEgoryTYPE_TYPE read Get_Type_ write Set_Type_;
end;
// *********************************************************************//
// DispIntf: _CategoryDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10041512-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_CategoryDisp = dispinterface
['{10041512-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property Name: WideString dispid 9;
property ID: Integer readonly dispid 10;
property Type_: SQLDMO_CATEgoryTYPE_TYPE dispid 11;
procedure Remove; dispid 100;
procedure BeginAlter; dispid 101;
procedure DoAlter; dispid 102;
procedure CancelAlter; dispid 103;
procedure Refresh; dispid 104;
end;
// *********************************************************************//
// Interface: AlertCategories
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10041506-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
AlertCategories = interface(_IVSQLDMOStdObject)
['{10041506-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Item(Index: OleVariant): Category; safecall;
function Get__NewEnum: IUnknown; safecall;
function Get_Count: Integer; safecall;
function ItemByID(ID: Integer): Category; safecall;
procedure Add(const Object_: Category); safecall;
procedure Remove(Index: OleVariant); safecall;
procedure Refresh(ReleaseMemberObjects: OleVariant); safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property _NewEnum: IUnknown read Get__NewEnum;
property Count: Integer read Get_Count;
end;
// *********************************************************************//
// DispIntf: AlertCategoriesDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10041506-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
AlertCategoriesDisp = dispinterface
['{10041506-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
function Item(Index: OleVariant): Category; dispid 0;
property _NewEnum: IUnknown readonly dispid -4;
property Count: Integer readonly dispid 5;
function ItemByID(ID: Integer): Category; dispid 6;
procedure Add(const Object_: Category); dispid 100;
procedure Remove(Index: OleVariant); dispid 101;
procedure Refresh(ReleaseMemberObjects: OleVariant); dispid 102;
end;
// *********************************************************************//
// Interface: OperatorCategories
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10041509-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
OperatorCategories = interface(_IVSQLDMOStdObject)
['{10041509-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Item(Index: OleVariant): Category; safecall;
function Get__NewEnum: IUnknown; safecall;
function Get_Count: Integer; safecall;
function ItemByID(ID: Integer): Category; safecall;
procedure Add(const Object_: Category); safecall;
procedure Remove(Index: OleVariant); safecall;
procedure Refresh(ReleaseMemberObjects: OleVariant); safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property _NewEnum: IUnknown read Get__NewEnum;
property Count: Integer read Get_Count;
end;
// *********************************************************************//
// DispIntf: OperatorCategoriesDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10041509-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
OperatorCategoriesDisp = dispinterface
['{10041509-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
function Item(Index: OleVariant): Category; dispid 0;
property _NewEnum: IUnknown readonly dispid -4;
property Count: Integer readonly dispid 5;
function ItemByID(ID: Integer): Category; dispid 6;
procedure Add(const Object_: Category); dispid 100;
procedure Remove(Index: OleVariant); dispid 101;
procedure Refresh(ReleaseMemberObjects: OleVariant); dispid 102;
end;
// *********************************************************************//
// Interface: BackupSink
// Flags: (256) OleAutomation
// GUID: {10021F09-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
BackupSink = interface(IUnknown)
['{10021F09-E260-11CF-AE68-00AA004A34D5}']
function PercentComplete(const Message: WideString; Percent: Integer):
HResult; stdcall;
function NextMedia(const Message: WideString): HResult; stdcall;
function Complete(const Message: WideString): HResult; stdcall;
end;
// *********************************************************************//
// Interface: _Backup
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10021F06-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_Backup = interface(_IVSQLDMOStdObject)
['{10021F06-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_PercentCompleteNotification: Integer; safecall;
procedure Set_PercentCompleteNotification(pRetVal: Integer); safecall;
function Get_SkipTapeHeader: WordBool; safecall;
procedure Set_SkipTapeHeader(pRetVal: WordBool); safecall;
function Get_UnloadTapeAfter: WordBool; safecall;
procedure Set_UnloadTapeAfter(pRetVal: WordBool); safecall;
function Get_Database: WideString; safecall;
procedure Set_Database(const pRetVal: WideString); safecall;
function Get_Files: WideString; safecall;
procedure Set_Files(const pRetVal: WideString); safecall;
function Get_DatabaseFileGroups: WideString; safecall;
procedure Set_DatabaseFileGroups(const pRetVal: WideString); safecall;
function Get_DatabaseFiles: WideString; safecall;
procedure Set_DatabaseFiles(const pRetVal: WideString); safecall;
function Get_Action: SQLDMO_BACKUP_TYPE; safecall;
procedure Set_Action(pRetVal: SQLDMO_BACKUP_TYPE); safecall;
function Get_BackupSetName: WideString; safecall;
procedure Set_BackupSetName(const pRetVal: WideString); safecall;
function Get_BackupSetDescription: WideString; safecall;
procedure Set_BackupSetDescription(const pRetVal: WideString); safecall;
function Get_Restart: WordBool; safecall;
procedure Set_Restart(pRetVal: WordBool); safecall;
function Get_TruncateLog: SQLDMO_BACKUP_LOG_TYPE; safecall;
procedure Set_TruncateLog(pRetVal: SQLDMO_BACKUP_LOG_TYPE); safecall;
function Get_BlockSize: Integer; safecall;
procedure Set_BlockSize(pRetVal: Integer); safecall;
function Get_FormatMedia: WordBool; safecall;
procedure Set_FormatMedia(pRetVal: WordBool); safecall;
function Get_MediaName: WideString; safecall;
procedure Set_MediaName(const pRetVal: WideString); safecall;
function Get_MediaDescription: WideString; safecall;
procedure Set_MediaDescription(const pRetVal: WideString); safecall;
function Get_Devices: WideString; safecall;
procedure Set_Devices(const pRetVal: WideString); safecall;
function Get_Tapes: WideString; safecall;
procedure Set_Tapes(const pRetVal: WideString); safecall;
function Get_Pipes: WideString; safecall;
procedure Set_Pipes(const pRetVal: WideString); safecall;
function Get_ExpirationDate: WideString; safecall;
procedure Set_ExpirationDate(const pRetVal: WideString); safecall;
function Get_Initialize: WordBool; safecall;
procedure Set_Initialize(pRetVal: WordBool); safecall;
function Get_RetainDays: Integer; safecall;
procedure Set_RetainDays(pRetVal: Integer); safecall;
procedure Abort; safecall;
procedure SQLBackup(const ServerObject: SQLServer); safecall;
function GenerateSQL: WideString; safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property PercentCompleteNotification: Integer read
Get_PercentCompleteNotification write Set_PercentCompleteNotification;
property SkipTapeHeader: WordBool read Get_SkipTapeHeader write
Set_SkipTapeHeader;
property UnloadTapeAfter: WordBool read Get_UnloadTapeAfter write
Set_UnloadTapeAfter;
property Database: WideString read Get_Database write Set_Database;
property Files: WideString read Get_Files write Set_Files;
property DatabaseFileGroups: WideString read Get_DatabaseFileGroups
write Set_DatabaseFileGroups;
property DatabaseFiles: WideString read Get_DatabaseFiles write
Set_DatabaseFiles;
property Action: SQLDMO_BACKUP_TYPE read Get_Action write Set_Action;
property BackupSetName: WideString read Get_BackupSetName write
Set_BackupSetName;
property BackupSetDescription: WideString read Get_BackupSetDescription
write Set_BackupSetDescription;
property Restart: WordBool read Get_Restart write Set_Restart;
property TruncateLog: SQLDMO_BACKUP_LOG_TYPE read Get_TruncateLog write
Set_TruncateLog;
property BlockSize: Integer read Get_BlockSize write Set_BlockSize;
property FormatMedia: WordBool read Get_FormatMedia write
Set_FormatMedia;
property MediaName: WideString read Get_MediaName write Set_MediaName;
property MediaDescription: WideString read Get_MediaDescription write
Set_MediaDescription;
property Devices: WideString read Get_Devices write Set_Devices;
property Tapes: WideString read Get_Tapes write Set_Tapes;
property Pipes: WideString read Get_Pipes write Set_Pipes;
property ExpirationDate: WideString read Get_ExpirationDate write
Set_ExpirationDate;
property Initialize: WordBool read Get_Initialize write Set_Initialize;
property RetainDays: Integer read Get_RetainDays write Set_RetainDays;
end;
// *********************************************************************//
// DispIntf: _BackupDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10021F06-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_BackupDisp = dispinterface
['{10021F06-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property PercentCompleteNotification: Integer dispid 9;
property SkipTapeHeader: WordBool dispid 10;
property UnloadTapeAfter: WordBool dispid 11;
property Database: WideString dispid 12;
property Files: WideString dispid 13;
property DatabaseFileGroups: WideString dispid 14;
property DatabaseFiles: WideString dispid 15;
property Action: SQLDMO_BACKUP_TYPE dispid 16;
property BackupSetName: WideString dispid 17;
property BackupSetDescription: WideString dispid 18;
property Restart: WordBool dispid 19;
property TruncateLog: SQLDMO_BACKUP_LOG_TYPE dispid 20;
property BlockSize: Integer dispid 21;
property FormatMedia: WordBool dispid 22;
property MediaName: WideString dispid 23;
property MediaDescription: WideString dispid 24;
property Devices: WideString dispid 25;
property Tapes: WideString dispid 26;
property Pipes: WideString dispid 27;
property ExpirationDate: WideString dispid 28;
property Initialize: WordBool dispid 29;
property RetainDays: Integer dispid 30;
procedure Abort; dispid 100;
procedure SQLBackup(const ServerObject: SQLServer); dispid 101;
function GenerateSQL: WideString; dispid 102;
end;
// *********************************************************************//
// Interface: ReplicationSink
// Flags: (256) OleAutomation
// GUID: {10031009-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
ReplicationSink = interface(IUnknown)
['{10031009-E260-11CF-AE68-00AA004A34D5}']
function StatusMessage(const Message: WideString): HResult; stdcall;
function PercentComplete(const Message: WideString; Percent: Integer):
HResult; stdcall;
end;
// *********************************************************************//
// Interface: _Replication
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10031006-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_Replication = interface(_IVSQLDMOStdObject)
['{10031006-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_Publisher: Publisher; safecall;
function Get_Subscriber: Subscriber; safecall;
function Get_Distributor: Distributor; safecall;
function Get_ReplicationDatabases: ReplicationDatabases; safecall;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant):
WideString; safecall;
function EnumDataSourceNames: QueryResults; safecall;
procedure Uninstall(bIgnoreDistributor: WordBool); safecall;
procedure GetReplicationConfiguration(ReplType: SQLDMO_REPLICATION_TYPE;
out pConfigured: WordBool; out
pVersionMajor: Integer;
out pVersionMinor: Integer; out
pRevision: Integer); safecall;
procedure ConfigureReplication(ReplType: SQLDMO_REPLICATION_TYPE; bSet:
WordBool;
SecurityMode: SQLDMO_SECURITY_TYPE; const
Login: WideString;
const Password: WideString); safecall;
function EnumCustomResolvers(const Distributor: WideString):
QueryResults; safecall;
procedure ValidateDataSource(const DataSourceName: WideString; const
Login: WideString;
const Password: WideString; SubscriberType:
SQLDMO_SUBSCRIBER_TYPE); safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property Publisher: Publisher read Get_Publisher;
property Subscriber: Subscriber read Get_Subscriber;
property Distributor: Distributor read Get_Distributor;
property ReplicationDatabases: ReplicationDatabases read
Get_ReplicationDatabases;
end;
// *********************************************************************//
// DispIntf: _ReplicationDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10031006-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_ReplicationDisp = dispinterface
['{10031006-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property Publisher: Publisher readonly dispid 10;
property Subscriber: Subscriber readonly dispid 11;
property Distributor: Distributor readonly dispid 12;
property ReplicationDatabases: ReplicationDatabases readonly dispid 50;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant):
WideString; dispid 101;
function EnumDataSourceNames: QueryResults; dispid 102;
procedure Uninstall(bIgnoreDistributor: WordBool); dispid 103;
procedure GetReplicationConfiguration(ReplType: SQLDMO_REPLICATION_TYPE;
out pConfigured: WordBool; out
pVersionMajor: Integer;
out pVersionMinor: Integer; out
pRevision: Integer); dispid 104;
procedure ConfigureReplication(ReplType: SQLDMO_REPLICATION_TYPE; bSet:
WordBool;
SecurityMode: SQLDMO_SECURITY_TYPE; const
Login: WideString;
const Password: WideString); dispid 105;
function EnumCustomResolvers(const Distributor: WideString):
QueryResults; dispid 106;
procedure ValidateDataSource(const DataSourceName: WideString; const
Login: WideString;
const Password: WideString; SubscriberType:
SQLDMO_SUBSCRIBER_TYPE); dispid 107;
end;
// *********************************************************************//
// Interface: Publisher
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10030C06-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
Publisher = interface(_IVSQLDMOStdObject)
['{10030C06-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_RegisteredSubscribers: RegisteredSubscribers; safecall;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant):
WideString; safecall;
procedure Uninstall; safecall;
function EnumPublications(const Database: WideString; ReplicationType:
SQLDMO_REPLICATION_TYPE): QueryResults; safecall;
function EnumGlobalAccesses(bReturnGranted: WordBool): QueryResults;
safecall;
procedure GrantGlobalAccess(const szLoginName: WideString); safecall;
procedure RevokeGlobalAccess(const szLoginName: WideString); safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property RegisteredSubscribers: RegisteredSubscribers read
Get_RegisteredSubscribers;
end;
// *********************************************************************//
// DispIntf: PublisherDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10030C06-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
PublisherDisp = dispinterface
['{10030C06-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property RegisteredSubscribers: RegisteredSubscribers readonly dispid
50;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant):
WideString; dispid 101;
procedure Uninstall; dispid 102;
function EnumPublications(const Database: WideString; ReplicationType:
SQLDMO_REPLICATION_TYPE): QueryResults; dispid 103;
function EnumGlobalAccesses(bReturnGranted: WordBool): QueryResults;
dispid 104;
procedure GrantGlobalAccess(const szLoginName: WideString); dispid 105;
procedure RevokeGlobalAccess(const szLoginName: WideString); dispid 106;
end;
// *********************************************************************//
// Interface: RegisteredSubscribers
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10030903-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
RegisteredSubscribers = interface(_IVSQLDMOStdObject)
['{10030903-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Item(Index: OleVariant): RegisteredSubscriber; safecall;
function Get__NewEnum: IUnknown; safecall;
function Get_Count: Integer; safecall;
procedure Add(const Object_: RegisteredSubscriber); safecall;
procedure Remove(Index: OleVariant); safecall;
procedure Refresh(ReleaseMemberObjects: OleVariant); safecall;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant):
WideString; safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property _NewEnum: IUnknown read Get__NewEnum;
property Count: Integer read Get_Count;
end;
// *********************************************************************//
// DispIntf: RegisteredSubscribersDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10030903-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
RegisteredSubscribersDisp = dispinterface
['{10030903-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
function Item(Index: OleVariant): RegisteredSubscriber; dispid 0;
property _NewEnum: IUnknown readonly dispid -4;
property Count: Integer readonly dispid 5;
procedure Add(const Object_: RegisteredSubscriber); dispid 100;
procedure Remove(Index: OleVariant); dispid 101;
procedure Refresh(ReleaseMemberObjects: OleVariant); dispid 102;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant):
WideString; dispid 103;
end;
// *********************************************************************//
// Interface: _RegisteredSubscriber
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10030906-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_RegisteredSubscriber = interface(_IVSQLDMOStdObject)
['{10030906-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_Name: WideString; safecall;
procedure Set_Name(const pRetVal: WideString); safecall;
function Get_Type_: SQLDMO_SUBSCRIBER_TYPE; safecall;
procedure Set_Type_(pRetVal: SQLDMO_SUBSCRIBER_TYPE); safecall;
function Get_Description: WideString; safecall;
procedure Set_Description(const pRetVal: WideString); safecall;
function Get_ReadBatchSize: Integer; safecall;
procedure Set_ReadBatchSize(pRetVal: Integer); safecall;
function Get_CommitBatchSize: Integer; safecall;
procedure Set_CommitBatchSize(pRetVal: Integer); safecall;
function Get_ReplicationSecurity: ReplicationSecurity; safecall;
function Get_DefaultDistributionSchedule: Schedule; safecall;
function Get_DefaultMergeSchedule: Schedule; safecall;
procedure Remove; safecall;
procedure Refresh; safecall;
procedure BeginAlter; safecall;
procedure DoAlter; safecall;
procedure CancelAlter; safecall;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant):
WideString; safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property Name: WideString read Get_Name write Set_Name;
property Type_: SQLDMO_SUBSCRIBER_TYPE read Get_Type_ write Set_Type_;
property Description: WideString read Get_Description write
Set_Description;
property ReadBatchSize: Integer read Get_ReadBatchSize write
Set_ReadBatchSize;
property CommitBatchSize: Integer read Get_CommitBatchSize write
Set_CommitBatchSize;
property ReplicationSecurity: ReplicationSecurity read
Get_ReplicationSecurity;
property DefaultDistributionSchedule: Schedule read
Get_DefaultDistributionSchedule;
property DefaultMergeSchedule: Schedule read Get_DefaultMergeSchedule;
end;
// *********************************************************************//
// DispIntf: _RegisteredSubscriberDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10030906-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_RegisteredSubscriberDisp = dispinterface
['{10030906-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property Name: WideString dispid 10;
property Type_: SQLDMO_SUBSCRIBER_TYPE dispid 11;
property Description: WideString dispid 12;
property ReadBatchSize: Integer dispid 13;
property CommitBatchSize: Integer dispid 14;
property ReplicationSecurity: ReplicationSecurity readonly dispid 15;
property DefaultDistributionSchedule: Schedule readonly dispid 16;
property DefaultMergeSchedule: Schedule readonly dispid 17;
procedure Remove; dispid 100;
procedure Refresh; dispid 101;
procedure BeginAlter; dispid 102;
procedure DoAlter; dispid 103;
procedure CancelAlter; dispid 104;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant):
WideString; dispid 105;
end;
// *********************************************************************//
// Interface: _ReplicationSecurity
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10031206-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_ReplicationSecurity = interface(_IVSQLDMOStdObject)
['{10031206-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_SecurityMode: SQLDMO_REPLSECURITY_TYPE; safecall;
procedure Set_SecurityMode(pRetVal: SQLDMO_REPLSECURITY_TYPE); safecall;
function Get_StandardLogin: WideString; safecall;
procedure Set_StandardLogin(const pRetVal: WideString); safecall;
function Get_StandardPassword: WideString; safecall;
procedure Set_StandardPassword(const pRetVal: WideString); safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property SecurityMode: SQLDMO_REPLSECURITY_TYPE read Get_SecurityMode
write Set_SecurityMode;
property StandardLogin: WideString read Get_StandardLogin write
Set_StandardLogin;
property StandardPassword: WideString read Get_StandardPassword write
Set_StandardPassword;
end;
// *********************************************************************//
// DispIntf: _ReplicationSecurityDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10031206-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_ReplicationSecurityDisp = dispinterface
['{10031206-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property SecurityMode: SQLDMO_REPLSECURITY_TYPE dispid 10;
property StandardLogin: WideString dispid 12;
property StandardPassword: WideString dispid 13;
end;
// *********************************************************************//
// Interface: Subscriber
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10030D06-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
Subscriber = interface(_IVSQLDMOStdObject)
['{10030D06-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant):
WideString; safecall;
function EnumSubscriptions(const Database: WideString; ReplicationType:
SQLDMO_REPLICATION_TYPE): QueryResults; safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
end;
// *********************************************************************//
// DispIntf: SubscriberDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10030D06-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
SubscriberDisp = dispinterface
['{10030D06-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant):
WideString; dispid 101;
function EnumSubscriptions(const Database: WideString; ReplicationType:
SQLDMO_REPLICATION_TYPE): QueryResults; dispid 102;
end;
// *********************************************************************//
// Interface: Distributor
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10030E06-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
Distributor = interface(_IVSQLDMOStdObject)
['{10030E06-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_DistributorInstalled: WordBool; safecall;
function Get_DistributorAvailable: WordBool; safecall;
function Get_DistributorLocal: WordBool; safecall;
function Get_DistributionServer: WideString; safecall;
procedure Set_DistributionServer(const pRetVal: WideString); safecall;
function Get_DistributionDatabase: WideString; safecall;
function Get_AgentCheckupInterval: Integer; safecall;
procedure Set_AgentCheckupInterval(pRetVal: Integer); safecall;
function Get_IsDistributionPublisher: WordBool; safecall;
function Get_HasRemoteDistributionPublisher: WordBool; safecall;
function Get_DistributionPublishers: DistributionPublishers; safecall;
function Get_DistributionDatabases: DistributionDatabases; safecall;
procedure Refresh; safecall;
procedure Install; safecall;
procedure Uninstall; safecall;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant):
WideString; safecall;
function EnumSnapshotAgentViews: QueryResults; safecall;
function EnumLogReaderAgentViews: QueryResults; safecall;
function EnumDistributionAgentViews: QueryResults; safecall;
function EnumMergeAgentViews: QueryResults; safecall;
function EnumPerformanceConfigurations(ReplAgentType:
SQLDMO_REPLAGENT_TYPE): QueryResults; safecall;
function EnumPerformanceParameters(lConfigurationID: Integer):
QueryResults; safecall;
procedure UpdateAgentPerformanceConfiguration(const DistributionDBName:
WideString;
AgentType:
SQLDMO_REPLAGENT_TYPE;
lAgentID: Integer;
lConfigurationID: Integer); safecall;
procedure UpdateDefaultPerformanceConfiguration(lConfigurationID:
Integer); safecall;
procedure GetAgentsStatus(ReplAgentType: SQLDMO_REPLAGENT_TYPE;
out pRetValStatus: SQLDMO_TASKSTATUS_TYPE;
out pRetValTimeStamp: WideString); safecall;
procedure CleanUpDistributionPublisherByName(const bstrName:
WideString); safecall;
procedure SetUpDistributorPassword(const bstrName: WideString);
safecall;
function EnumThirdPartyPublications(const DistributionDBName:
WideString): QueryResults; safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property DistributorInstalled: WordBool read Get_DistributorInstalled;
property DistributorAvailable: WordBool read Get_DistributorAvailable;
property DistributorLocal: WordBool read Get_DistributorLocal;
property DistributionServer: WideString read Get_DistributionServer
write Set_DistributionServer;
property DistributionDatabase: WideString read Get_DistributionDatabase;
property AgentCheckupInterval: Integer read Get_AgentCheckupInterval
write Set_AgentCheckupInterval;
property IsDistributionPublisher: WordBool read
Get_IsDistributionPublisher;
property HasRemoteDistributionPublisher: WordBool read
Get_HasRemoteDistributionPublisher;
property DistributionPublishers: DistributionPublishers read
Get_DistributionPublishers;
property DistributionDatabases: DistributionDatabases read
Get_DistributionDatabases;
end;
// *********************************************************************//
// DispIntf: DistributorDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10030E06-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
DistributorDisp = dispinterface
['{10030E06-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property DistributorInstalled: WordBool readonly dispid 10;
property DistributorAvailable: WordBool readonly dispid 11;
property DistributorLocal: WordBool readonly dispid 12;
property DistributionServer: WideString dispid 13;
property DistributionDatabase: WideString readonly dispid 14;
property AgentCheckupInterval: Integer dispid 15;
property IsDistributionPublisher: WordBool readonly dispid 16;
property HasRemoteDistributionPublisher: WordBool readonly dispid 17;
property DistributionPublishers: DistributionPublishers readonly dispid
50;
property DistributionDatabases: DistributionDatabases readonly dispid
51;
procedure Refresh; dispid 101;
procedure Install; dispid 105;
procedure Uninstall; dispid 106;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant):
WideString; dispid 107;
function EnumSnapshotAgentViews: QueryResults; dispid 108;
function EnumLogReaderAgentViews: QueryResults; dispid 109;
function EnumDistributionAgentViews: QueryResults; dispid 110;
function EnumMergeAgentViews: QueryResults; dispid 111;
function EnumPerformanceConfigurations(ReplAgentType:
SQLDMO_REPLAGENT_TYPE): QueryResults; dispid 113;
function EnumPerformanceParameters(lConfigurationID: Integer):
QueryResults; dispid 114;
procedure UpdateAgentPerformanceConfiguration(const DistributionDBName:
WideString;
AgentType:
SQLDMO_REPLAGENT_TYPE;
lAgentID: Integer;
lConfigurationID: Integer); dispid 115;
procedure UpdateDefaultPerformanceConfiguration(lConfigurationID:
Integer); dispid 116;
procedure GetAgentsStatus(ReplAgentType: SQLDMO_REPLAGENT_TYPE;
out pRetValStatus: SQLDMO_TASKSTATUS_TYPE;
out pRetValTimeStamp: WideString); dispid 117;
procedure CleanUpDistributionPublisherByName(const bstrName:
WideString); dispid 118;
procedure SetUpDistributorPassword(const bstrName: WideString); dispid
119;
function EnumThirdPartyPublications(const DistributionDBName:
WideString): QueryResults; dispid 120;
end;
// *********************************************************************//
// Interface: DistributionPublishers
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10030703-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
DistributionPublishers = interface(_IVSQLDMOStdObject)
['{10030703-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Item(Index: OleVariant): DistributionPublisher; safecall;
function Get__NewEnum: IUnknown; safecall;
function Get_Count: Integer; safecall;
procedure Add(const Object_: DistributionPublisher); safecall;
procedure Remove(Index: OleVariant); safecall;
procedure Refresh(ReleaseMemberObjects: OleVariant); safecall;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant):
WideString; safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property _NewEnum: IUnknown read Get__NewEnum;
property Count: Integer read Get_Count;
end;
// *********************************************************************//
// DispIntf: DistributionPublishersDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10030703-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
DistributionPublishersDisp = dispinterface
['{10030703-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
function Item(Index: OleVariant): DistributionPublisher; dispid 0;
property _NewEnum: IUnknown readonly dispid -4;
property Count: Integer readonly dispid 5;
procedure Add(const Object_: DistributionPublisher); dispid 100;
procedure Remove(Index: OleVariant); dispid 101;
procedure Refresh(ReleaseMemberObjects: OleVariant); dispid 102;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant):
WideString; dispid 103;
end;
// *********************************************************************//
// Interface: _DistributionPublisher
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10030706-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_DistributionPublisher = interface(_IVSQLDMOStdObject)
['{10030706-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_Name: WideString; safecall;
procedure Set_Name(const pRetVal: WideString); safecall;
function Get_DistributionDatabase: WideString; safecall;
procedure Set_DistributionDatabase(const pRetVal: WideString); safecall;
function Get_PublisherSecurity: ReplicationSecurity; safecall;
function Get_Enabled: WordBool; safecall;
function Get_DistributionWorkingDirectory: WideString; safecall;
procedure Set_DistributionWorkingDirectory(const pRetVal: WideString);
safecall;
function Get_TrustedDistributorConnection: WordBool; safecall;
procedure Set_TrustedDistributorConnection(pRetVal: WordBool); safecall;
function Get_ThirdParty: WordBool; safecall;
procedure Set_ThirdParty(pRetVal: WordBool); safecall;
function Get_DistributionPublications: DistributionPublications;
safecall;
function Get_RegisteredSubscribers: RegisteredSubscribers; safecall;
procedure Remove; safecall;
procedure Refresh; safecall;
procedure BeginAlter; safecall;
procedure DoAlter; safecall;
procedure CancelAlter; safecall;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant):
WideString; safecall;
function EnumSnapshotAgentSessions(const AgentName: WideString;
SessionType: SQLDMO_SESSION_TYPE;
SessionDuration: Integer): QueryResults; safecall;
function EnumLogReaderAgentSessions(const AgentName: WideString;
SessionType: SQLDMO_SESSION_TYPE;
SessionDuration: Integer): QueryResults; safecall;
function EnumDistributionAgentSessions(const AgentName: WideString;
SessionType: SQLDMO_SESSION_TYPE;
SessionDuration: Integer):
QueryResults; safecall;
function EnumMergeAgentSessions(const AgentName: WideString;
SessionType: SQLDMO_SESSION_TYPE;
SessionDuration: Integer): QueryResults;
safecall;
function EnumSnapshotAgentSessionDetails(const AgentName: WideString;
const SessionID: WideString):
QueryResults; safecall;
function EnumLogReaderAgentSessionDetails(const AgentName: WideString;
const SessionID: WideString):
QueryResults; safecall;
function EnumDistributionAgentSessionDetails(const AgentName:
WideString;
const SessionID:
WideString): QueryResults; safecall;
function EnumMergeAgentSessionDetails(const AgentName: WideString; const
SessionID: WideString): QueryResults; safecall;
function EnumAgentErrorRecords(ErrorID: Integer): QueryResults;
safecall;
procedure GetAgentsStatus(out pRetValStatus: SQLDMO_TASKSTATUS_TYPE;
out pRetValTimeStamp: WideString); safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property Name: WideString read Get_Name write Set_Name;
property DistributionDatabase: WideString read Get_DistributionDatabase
write Set_DistributionDatabase;
property PublisherSecurity: ReplicationSecurity read
Get_PublisherSecurity;
property Enabled: WordBool read Get_Enabled;
property DistributionWorkingDirectory: WideString read
Get_DistributionWorkingDirectory write Set_DistributionWorkingDirectory;
property TrustedDistributorConnection: WordBool read
Get_TrustedDistributorConnection write Set_TrustedDistributorConnection;
property ThirdParty: WordBool read Get_ThirdParty write Set_ThirdParty;
property DistributionPublications: DistributionPublications read
Get_DistributionPublications;
property RegisteredSubscribers: RegisteredSubscribers read
Get_RegisteredSubscribers;
end;
// *********************************************************************//
// DispIntf: _DistributionPublisherDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10030706-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_DistributionPublisherDisp = dispinterface
['{10030706-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property Name: WideString dispid 10;
property DistributionDatabase: WideString dispid 11;
property PublisherSecurity: ReplicationSecurity readonly dispid 12;
property Enabled: WordBool readonly dispid 14;
property DistributionWorkingDirectory: WideString dispid 15;
property TrustedDistributorConnection: WordBool dispid 16;
property ThirdParty: WordBool dispid 17;
property DistributionPublications: DistributionPublications readonly
dispid 50;
property RegisteredSubscribers: RegisteredSubscribers readonly dispid
51;
procedure Remove; dispid 100;
procedure Refresh; dispid 101;
procedure BeginAlter; dispid 102;
procedure DoAlter; dispid 103;
procedure CancelAlter; dispid 104;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant):
WideString; dispid 105;
function EnumSnapshotAgentSessions(const AgentName: WideString;
SessionType: SQLDMO_SESSION_TYPE;
SessionDuration: Integer): QueryResults; dispid 106;
function EnumLogReaderAgentSessions(const AgentName: WideString;
SessionType: SQLDMO_SESSION_TYPE;
SessionDuration: Integer): QueryResults; dispid 107;
function EnumDistributionAgentSessions(const AgentName: WideString;
SessionType: SQLDMO_SESSION_TYPE;
SessionDuration: Integer):
QueryResults; dispid 108;
function EnumMergeAgentSessions(const AgentName: WideString;
SessionType: SQLDMO_SESSION_TYPE;
SessionDuration: Integer): QueryResults;
dispid 109;
function EnumSnapshotAgentSessionDetails(const AgentName: WideString;
const SessionID: WideString):
QueryResults; dispid 110;
function EnumLogReaderAgentSessionDetails(const AgentName: WideString;
const SessionID: WideString):
QueryResults; dispid 111;
function EnumDistributionAgentSessionDetails(const AgentName:
WideString;
const SessionID:
WideString): QueryResults; dispid 112;
function EnumMergeAgentSessionDetails(const AgentName: WideString; const
SessionID: WideString): QueryResults; dispid 113;
function EnumAgentErrorRecords(ErrorID: Integer): QueryResults; dispid
114;
procedure GetAgentsStatus(out pRetValStatus: SQLDMO_TASKSTATUS_TYPE;
out pRetValTimeStamp: WideString); dispid 115;
end;
// *********************************************************************//
// Interface: DistributionPublications
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10032103-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
DistributionPublications = interface(_IVSQLDMOStdObject)
['{10032103-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Item(Index: OleVariant; Owner: OleVariant):
DistributionPublication; safecall;
function Get__NewEnum: IUnknown; safecall;
function Get_Count: Integer; safecall;
function ItemByID(ID: Integer): DistributionPublication; safecall;
procedure Add(const Object_: DistributionPublication); safecall;
procedure Remove(Index: OleVariant); safecall;
procedure Refresh(ReleaseMemberObjects: OleVariant); safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property _NewEnum: IUnknown read Get__NewEnum;
property Count: Integer read Get_Count;
end;
// *********************************************************************//
// DispIntf: DistributionPublicationsDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10032103-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
DistributionPublicationsDisp = dispinterface
['{10032103-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
function Item(Index: OleVariant; Owner: OleVariant):
DistributionPublication; dispid 0;
property _NewEnum: IUnknown readonly dispid -4;
property Count: Integer readonly dispid 5;
function ItemByID(ID: Integer): DistributionPublication; dispid 6;
procedure Add(const Object_: DistributionPublication); dispid 100;
procedure Remove(Index: OleVariant); dispid 101;
procedure Refresh(ReleaseMemberObjects: OleVariant); dispid 102;
end;
// *********************************************************************//
// Interface: _DistributionPublication
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10032106-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_DistributionPublication = interface(_IVSQLDMOStdObject)
['{10032106-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_Name: WideString; safecall;
procedure Set_Name(const pRetVal: WideString); safecall;
function Get_ID: Integer; safecall;
function Get_PublicationDB: WideString; safecall;
procedure Set_PublicationDB(const pRetVal: WideString); safecall;
function Get_PublicationType: SQLDMO_PUBLICATION_TYPE; safecall;
procedure Set_PublicationType(pRetVal: SQLDMO_PUBLICATION_TYPE);
safecall;
function Get_PublicationAttributes: SQLDMO_PUBATTRIB_TYPE; safecall;
procedure Set_PublicationAttributes(pRetVal: SQLDMO_PUBATTRIB_TYPE);
safecall;
function Get_SnapshotAgent: WideString; safecall;
procedure Set_SnapshotAgent(const pRetVal: WideString); safecall;
function Get_LogReaderAgent: WideString; safecall;
procedure Set_LogReaderAgent(const pRetVal: WideString); safecall;
function Get_Description: WideString; safecall;
procedure Set_Description(const pRetVal: WideString); safecall;
function Get_VendorName: WideString; safecall;
procedure Set_VendorName(const pRetVal: WideString); safecall;
function Get_DistributionArticles: DistributionArticles; safecall;
function Get_DistributionSubscriptions: DistributionSubscriptions;
safecall;
procedure Remove; safecall;
procedure BeginAlter; safecall;
procedure DoAlter; safecall;
procedure CancelAlter; safecall;
function EnumSubscriptionViews: QueryResults; safecall;
function EnumSnapshotAgentView: QueryResults; safecall;
function EnumLogReaderAgentView: QueryResults; safecall;
procedure GetAgentsStatus(out pRetValStatus: SQLDMO_TASKSTATUS_TYPE;
out pRetValTimeStamp: WideString); safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property Name: WideString read Get_Name write Set_Name;
property ID: Integer read Get_ID;
property PublicationDB: WideString read Get_PublicationDB write
Set_PublicationDB;
property PublicationType: SQLDMO_PUBLICATION_TYPE read
Get_PublicationType write Set_PublicationType;
property PublicationAttributes: SQLDMO_PUBATTRIB_TYPE read
Get_PublicationAttributes write Set_PublicationAttributes;
property SnapshotAgent: WideString read Get_SnapshotAgent write
Set_SnapshotAgent;
property LogReaderAgent: WideString read Get_LogReaderAgent write
Set_LogReaderAgent;
property Description: WideString read Get_Description write
Set_Description;
property VendorName: WideString read Get_VendorName write
Set_VendorName;
property DistributionArticles: DistributionArticles read
Get_DistributionArticles;
property DistributionSubscriptions: DistributionSubscriptions read
Get_DistributionSubscriptions;
end;
// *********************************************************************//
// DispIntf: _DistributionPublicationDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10032106-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_DistributionPublicationDisp = dispinterface
['{10032106-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property Name: WideString dispid 9;
property ID: Integer readonly dispid 10;
property PublicationDB: WideString dispid 11;
property PublicationType: SQLDMO_PUBLICATION_TYPE dispid 12;
property PublicationAttributes: SQLDMO_PUBATTRIB_TYPE dispid 14;
property SnapshotAgent: WideString dispid 15;
property LogReaderAgent: WideString dispid 16;
property Description: WideString dispid 17;
property VendorName: WideString dispid 18;
property DistributionArticles: DistributionArticles readonly dispid 50;
property DistributionSubscriptions: DistributionSubscriptions readonly
dispid 51;
procedure Remove; dispid 100;
procedure BeginAlter; dispid 101;
procedure DoAlter; dispid 102;
procedure CancelAlter; dispid 103;
function EnumSubscriptionViews: QueryResults; dispid 104;
function EnumSnapshotAgentView: QueryResults; dispid 105;
function EnumLogReaderAgentView: QueryResults; dispid 106;
procedure GetAgentsStatus(out pRetValStatus: SQLDMO_TASKSTATUS_TYPE;
out pRetValTimeStamp: WideString); dispid 107;
end;
// *********************************************************************//
// Interface: DistributionArticles
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10033103-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
DistributionArticles = interface(_IVSQLDMOStdObject)
['{10033103-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Item(Index: OleVariant): DistributionArticle; safecall;
function Get__NewEnum: IUnknown; safecall;
function Get_Count: Integer; safecall;
function ItemByID(ID: Integer): DistributionArticle; safecall;
procedure Add(const Object_: DistributionArticle); safecall;
procedure Remove(Index: OleVariant); safecall;
procedure Refresh(ReleaseMemberObjects: OleVariant); safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property _NewEnum: IUnknown read Get__NewEnum;
property Count: Integer read Get_Count;
end;
// *********************************************************************//
// DispIntf: DistributionArticlesDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10033103-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
DistributionArticlesDisp = dispinterface
['{10033103-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
function Item(Index: OleVariant): DistributionArticle; dispid 0;
property _NewEnum: IUnknown readonly dispid -4;
property Count: Integer readonly dispid 5;
function ItemByID(ID: Integer): DistributionArticle; dispid 6;
procedure Add(const Object_: DistributionArticle); dispid 100;
procedure Remove(Index: OleVariant); dispid 101;
procedure Refresh(ReleaseMemberObjects: OleVariant); dispid 102;
end;
// *********************************************************************//
// Interface: _DistributionArticle
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10033106-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_DistributionArticle = interface(_IVSQLDMOStdObject)
['{10033106-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_Name: WideString; safecall;
procedure Set_Name(const pRetVal: WideString); safecall;
function Get_ID: Integer; safecall;
function Get_SourceObjectOwner: WideString; safecall;
procedure Set_SourceObjectOwner(const pRetVal: WideString); safecall;
function Get_SourceObjectName: WideString; safecall;
procedure Set_SourceObjectName(const pRetVal: WideString); safecall;
function Get_Description: WideString; safecall;
procedure Set_Description(const pRetVal: WideString); safecall;
procedure Remove; safecall;
procedure BeginAlter; safecall;
procedure DoAlter; safecall;
procedure CancelAlter; safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property Name: WideString read Get_Name write Set_Name;
property ID: Integer read Get_ID;
property SourceObjectOwner: WideString read Get_SourceObjectOwner write
Set_SourceObjectOwner;
property SourceObjectName: WideString read Get_SourceObjectName write
Set_SourceObjectName;
property Description: WideString read Get_Description write
Set_Description;
end;
// *********************************************************************//
// DispIntf: _DistributionArticleDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10033106-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_DistributionArticleDisp = dispinterface
['{10033106-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property Name: WideString dispid 9;
property ID: Integer readonly dispid 10;
property SourceObjectOwner: WideString dispid 11;
property SourceObjectName: WideString dispid 12;
property Description: WideString dispid 13;
procedure Remove; dispid 100;
procedure BeginAlter; dispid 101;
procedure DoAlter; dispid 102;
procedure CancelAlter; dispid 103;
end;
// *********************************************************************//
// Interface: DistributionSubscriptions
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10034103-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
DistributionSubscriptions = interface(_IVSQLDMOStdObject)
['{10034103-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Item(Index: OleVariant): DistributionSubscription; safecall;
function Get__NewEnum: IUnknown; safecall;
function Get_Count: Integer; safecall;
procedure Add(const Object_: DistributionSubscription); safecall;
procedure Remove(Index: OleVariant); safecall;
procedure Refresh(ReleaseMemberObjects: OleVariant); safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property _NewEnum: IUnknown read Get__NewEnum;
property Count: Integer read Get_Count;
end;
// *********************************************************************//
// DispIntf: DistributionSubscriptionsDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10034103-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
DistributionSubscriptionsDisp = dispinterface
['{10034103-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
function Item(Index: OleVariant): DistributionSubscription; dispid 0;
property _NewEnum: IUnknown readonly dispid -4;
property Count: Integer readonly dispid 5;
procedure Add(const Object_: DistributionSubscription); dispid 100;
procedure Remove(Index: OleVariant); dispid 101;
procedure Refresh(ReleaseMemberObjects: OleVariant); dispid 102;
end;
// *********************************************************************//
// Interface: _DistributionSubscription
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10034106-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_DistributionSubscription = interface(_IVSQLDMOStdObject)
['{10034106-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_Name: WideString; safecall;
function Get_Subscriber: WideString; safecall;
procedure Set_Subscriber(const pRetVal: WideString); safecall;
function Get_SubscriptionDB: WideString; safecall;
procedure Set_SubscriptionDB(const pRetVal: WideString); safecall;
function Get_Status: SQLDMO_SUBSTATUS_TYPE; safecall;
procedure Set_Status(pRetVal: SQLDMO_SUBSTATUS_TYPE); safecall;
function Get_SyncType: SQLDMO_SUBSYNC_TYPE; safecall;
procedure Set_SyncType(pRetVal: SQLDMO_SUBSYNC_TYPE); safecall;
function Get_SubscriptionType: SQLDMO_SUBSCRIPTION_TYPE; safecall;
procedure Set_SubscriptionType(pRetVal: SQLDMO_SUBSCRIPTION_TYPE);
safecall;
function Get_DistributionSchedule: Schedule; safecall;
function Get_DistributionAgent: WideString; safecall;
procedure Remove; safecall;
procedure BeginAlter; safecall;
procedure DoAlter; safecall;
procedure CancelAlter; safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property Name: WideString read Get_Name;
property Subscriber: WideString read Get_Subscriber write
Set_Subscriber;
property SubscriptionDB: WideString read Get_SubscriptionDB write
Set_SubscriptionDB;
property Status: SQLDMO_SUBSTATUS_TYPE read Get_Status write Set_Status;
property SyncType: SQLDMO_SUBSYNC_TYPE read Get_SyncType write
Set_SyncType;
property SubscriptionType: SQLDMO_SUBSCRIPTION_TYPE read
Get_SubscriptionType write Set_SubscriptionType;
property DistributionSchedule: Schedule read Get_DistributionSchedule;
property DistributionAgent: WideString read Get_DistributionAgent;
end;
// *********************************************************************//
// DispIntf: _DistributionSubscriptionDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10034106-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_DistributionSubscriptionDisp = dispinterface
['{10034106-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property Name: WideString readonly dispid 9;
property Subscriber: WideString dispid 10;
property SubscriptionDB: WideString dispid 11;
property Status: SQLDMO_SUBSTATUS_TYPE dispid 12;
property SyncType: SQLDMO_SUBSYNC_TYPE dispid 13;
property SubscriptionType: SQLDMO_SUBSCRIPTION_TYPE dispid 14;
property DistributionSchedule: Schedule readonly dispid 15;
property DistributionAgent: WideString readonly dispid 16;
procedure Remove; dispid 100;
procedure BeginAlter; dispid 102;
procedure DoAlter; dispid 103;
procedure CancelAlter; dispid 104;
end;
// *********************************************************************//
// Interface: DistributionDatabases
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10031303-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
DistributionDatabases = interface(_IVSQLDMOStdObject)
['{10031303-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Item(Index: OleVariant): DistributionDatabase; safecall;
function Get__NewEnum: IUnknown; safecall;
function Get_Count: Integer; safecall;
procedure Add(const Object_: DistributionDatabase); safecall;
procedure Remove(Index: OleVariant); safecall;
procedure Refresh(ReleaseMemberObjects: OleVariant); safecall;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant):
WideString; safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property _NewEnum: IUnknown read Get__NewEnum;
property Count: Integer read Get_Count;
end;
// *********************************************************************//
// DispIntf: DistributionDatabasesDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10031303-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
DistributionDatabasesDisp = dispinterface
['{10031303-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
function Item(Index: OleVariant): DistributionDatabase; dispid 0;
property _NewEnum: IUnknown readonly dispid -4;
property Count: Integer readonly dispid 5;
procedure Add(const Object_: DistributionDatabase); dispid 100;
procedure Remove(Index: OleVariant); dispid 101;
procedure Refresh(ReleaseMemberObjects: OleVariant); dispid 102;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant):
WideString; dispid 103;
end;
// *********************************************************************//
// Interface: _DistributionDatabase
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10031306-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_DistributionDatabase = interface(_IVSQLDMOStdObject)
['{10031306-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_Name: WideString; safecall;
procedure Set_Name(const pRetVal: WideString); safecall;
function Get_MinDistributionRetention: Integer; safecall;
procedure Set_MinDistributionRetention(pRetVal: Integer); safecall;
function Get_MaxDistributionRetention: Integer; safecall;
procedure Set_MaxDistributionRetention(pRetVal: Integer); safecall;
function Get_HistoryRetention: Integer; safecall;
procedure Set_HistoryRetention(pRetVal: Integer); safecall;
function Get_HistoryCleanupTaskName: WideString; safecall;
function Get_DistributionCleanupTaskName: WideString; safecall;
function Get_AgentsStatus: SQLDMO_TASKSTATUS_TYPE; safecall;
function Get_DataFolder: WideString; safecall;
procedure Set_DataFolder(const pRetVal: WideString); safecall;
function Get_DataFile: WideString; safecall;
procedure Set_DataFile(const pRetVal: WideString); safecall;
function Get_DataFileSize: Integer; safecall;
procedure Set_DataFileSize(pRetVal: Integer); safecall;
function Get_LogFolder: WideString; safecall;
procedure Set_LogFolder(const pRetVal: WideString); safecall;
function Get_LogFile: WideString; safecall;
procedure Set_LogFile(const pRetVal: WideString); safecall;
function Get_LogFileSize: Integer; safecall;
procedure Set_LogFileSize(pRetVal: Integer); safecall;
procedure Set_SecurityMode(Param1: SQLDMO_SECURITY_TYPE); safecall;
procedure Set_StandardLogin(const Param1: WideString); safecall;
procedure Set_StandardPassword(const Param1: WideString); safecall;
procedure Remove; safecall;
procedure Refresh; safecall;
procedure BeginAlter; safecall;
procedure DoAlter; safecall;
procedure CancelAlter; safecall;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant):
WideString; safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property Name: WideString read Get_Name write Set_Name;
property MinDistributionRetention: Integer read
Get_MinDistributionRetention write Set_MinDistributionRetention;
property MaxDistributionRetention: Integer read
Get_MaxDistributionRetention write Set_MaxDistributionRetention;
property HistoryRetention: Integer read Get_HistoryRetention write
Set_HistoryRetention;
property HistoryCleanupTaskName: WideString read
Get_HistoryCleanupTaskName;
property DistributionCleanupTaskName: WideString read
Get_DistributionCleanupTaskName;
property AgentsStatus: SQLDMO_TASKSTATUS_TYPE read Get_AgentsStatus;
property DataFolder: WideString read Get_DataFolder write
Set_DataFolder;
property DataFile: WideString read Get_DataFile write Set_DataFile;
property DataFileSize: Integer read Get_DataFileSize write
Set_DataFileSize;
property LogFolder: WideString read Get_LogFolder write Set_LogFolder;
property LogFile: WideString read Get_LogFile write Set_LogFile;
property LogFileSize: Integer read Get_LogFileSize write
Set_LogFileSize;
property SecurityMode: SQLDMO_SECURITY_TYPE write Set_SecurityMode;
property StandardLogin: WideString write Set_StandardLogin;
property StandardPassword: WideString write Set_StandardPassword;
end;
// *********************************************************************//
// DispIntf: _DistributionDatabaseDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10031306-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_DistributionDatabaseDisp = dispinterface
['{10031306-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property Name: WideString dispid 10;
property MinDistributionRetention: Integer dispid 14;
property MaxDistributionRetention: Integer dispid 15;
property HistoryRetention: Integer dispid 16;
property HistoryCleanupTaskName: WideString readonly dispid 17;
property DistributionCleanupTaskName: WideString readonly dispid 18;
property AgentsStatus: SQLDMO_TASKSTATUS_TYPE readonly dispid 20;
property DataFolder: WideString dispid 21;
property DataFile: WideString dispid 22;
property DataFileSize: Integer dispid 23;
property LogFolder: WideString dispid 24;
property LogFile: WideString dispid 25;
property LogFileSize: Integer dispid 26;
property SecurityMode: SQLDMO_SECURITY_TYPE writeonly dispid 27;
property StandardLogin: WideString writeonly dispid 28;
property StandardPassword: WideString writeonly dispid 29;
procedure Remove; dispid 100;
procedure Refresh; dispid 101;
procedure BeginAlter; dispid 102;
procedure DoAlter; dispid 103;
procedure CancelAlter; dispid 104;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant):
WideString; dispid 106;
end;
// *********************************************************************//
// Interface: ReplicationDatabases
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10030A03-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
ReplicationDatabases = interface(_IVSQLDMOStdObject)
['{10030A03-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Item(Index: OleVariant): ReplicationDatabase; safecall;
function Get__NewEnum: IUnknown; safecall;
function Get_Count: Integer; safecall;
function ItemByID(ID: Integer): ReplicationDatabase; safecall;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant):
WideString; safecall;
procedure Refresh(ReleaseMemberObjects: OleVariant); safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property _NewEnum: IUnknown read Get__NewEnum;
property Count: Integer read Get_Count;
end;
// *********************************************************************//
// DispIntf: ReplicationDatabasesDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10030A03-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
ReplicationDatabasesDisp = dispinterface
['{10030A03-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
function Item(Index: OleVariant): ReplicationDatabase; dispid 0;
property _NewEnum: IUnknown readonly dispid -4;
property Count: Integer readonly dispid 5;
function ItemByID(ID: Integer): ReplicationDatabase; dispid 6;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant):
WideString; dispid 101;
procedure Refresh(ReleaseMemberObjects: OleVariant); dispid 102;
end;
// *********************************************************************//
// Interface: ReplicationDatabase
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10030A06-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
ReplicationDatabase = interface(_IVSQLDMOStdObject)
['{10030A06-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_Name: WideString; safecall;
function Get_EnableTransPublishing: WordBool; safecall;
procedure Set_EnableTransPublishing(pRetVal: WordBool); safecall;
function Get_EnableMergePublishing: WordBool; safecall;
procedure Set_EnableMergePublishing(pRetVal: WordBool); safecall;
function Get_DBOwner: WordBool; safecall;
function Get_ReplicationTables: ReplicationTables; safecall;
function Get_ReplicationStoredProcedures: ReplicationStoredProcedures;
safecall;
function Get_TransPublications: TransPublications; safecall;
function Get_MergePublications: MergePublications; safecall;
function Get_TransPullSubscriptions: TransPullSubscriptions; safecall;
function Get_MergePullSubscriptions: MergePullSubscriptions; safecall;
procedure EnableTransSubscription(const Subscriber: WideString;
const SubscriptionDatabase:
WideString;
const PublicationName: WideString;
SubscriptionType: OleVariant;
SyncType: OleVariant;
SubscriberType: OleVariant); safecall;
procedure DisableTransSubscription(const Subscriber: WideString;
const SubscriptionDatabase:
WideString;
const PublicationName: WideString);
safecall;
procedure EnableMergeSubscription(const Subscriber: WideString;
const SubscriptionDatabase:
WideString;
const PublicationName: WideString;
SubscriptionType: OleVariant;
SyncType: OleVariant;
SubscriberType: OleVariant;
SubscriptionPriority: OleVariant); safecall;
procedure DisableMergeSubscription(const Subscriber: WideString;
const SubscriptionDatabase:
WideString;
const PublicationName: WideString);
safecall;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant):
WideString; safecall;
procedure RefreshChildren; safecall;
function EnumConflictTables(const Publication: WideString):
QueryResults; safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property Name: WideString read Get_Name;
property EnableTransPublishing: WordBool read Get_EnableTransPublishing
write Set_EnableTransPublishing;
property EnableMergePublishing: WordBool read Get_EnableMergePublishing
write Set_EnableMergePublishing;
property DBOwner: WordBool read Get_DBOwner;
property ReplicationTables: ReplicationTables read
Get_ReplicationTables;
property ReplicationStoredProcedures: ReplicationStoredProcedures read
Get_ReplicationStoredProcedures;
property TransPublications: TransPublications read
Get_TransPublications;
property MergePublications: MergePublications read
Get_MergePublications;
property TransPullSubscriptions: TransPullSubscriptions read
Get_TransPullSubscriptions;
property MergePullSubscriptions: MergePullSubscriptions read
Get_MergePullSubscriptions;
end;
// *********************************************************************//
// DispIntf: ReplicationDatabaseDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10030A06-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
ReplicationDatabaseDisp = dispinterface
['{10030A06-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property Name: WideString readonly dispid 9;
property EnableTransPublishing: WordBool dispid 10;
property EnableMergePublishing: WordBool dispid 11;
property DBOwner: WordBool readonly dispid 12;
property ReplicationTables: ReplicationTables readonly dispid 50;
property ReplicationStoredProcedures: ReplicationStoredProcedures
readonly dispid 51;
property TransPublications: TransPublications readonly dispid 52;
property MergePublications: MergePublications readonly dispid 53;
property TransPullSubscriptions: TransPullSubscriptions readonly dispid
54;
property MergePullSubscriptions: MergePullSubscriptions readonly dispid
55;
procedure EnableTransSubscription(const Subscriber: WideString;
const SubscriptionDatabase:
WideString;
const PublicationName: WideString;
SubscriptionType: OleVariant;
SyncType: OleVariant;
SubscriberType: OleVariant); dispid
100;
procedure DisableTransSubscription(const Subscriber: WideString;
const SubscriptionDatabase:
WideString;
const PublicationName: WideString);
dispid 101;
procedure EnableMergeSubscription(const Subscriber: WideString;
const SubscriptionDatabase:
WideString;
const PublicationName: WideString;
SubscriptionType: OleVariant;
SyncType: OleVariant;
SubscriberType: OleVariant;
SubscriptionPriority: OleVariant); dispid 102;
procedure DisableMergeSubscription(const Subscriber: WideString;
const SubscriptionDatabase:
WideString;
const PublicationName: WideString);
dispid 103;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant):
WideString; dispid 105;
procedure RefreshChildren; dispid 106;
function EnumConflictTables(const Publication: WideString):
QueryResults; dispid 107;
end;
// *********************************************************************//
// Interface: ReplicationTables
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10031403-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
ReplicationTables = interface(_IVSQLDMOStdObject)
['{10031403-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Item(Index: OleVariant): ReplicationTable; safecall;
function Get__NewEnum: IUnknown; safecall;
function Get_Count: Integer; safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property _NewEnum: IUnknown read Get__NewEnum;
property Count: Integer read Get_Count;
end;
// *********************************************************************//
// DispIntf: ReplicationTablesDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10031403-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
ReplicationTablesDisp = dispinterface
['{10031403-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
function Item(Index: OleVariant): ReplicationTable; dispid 0;
property _NewEnum: IUnknown readonly dispid -4;
property Count: Integer readonly dispid 5;
end;
// *********************************************************************//
// Interface: ReplicationTable
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10031406-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
ReplicationTable = interface(_IVSQLDMOStdObject)
['{10031406-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_Name: WideString; safecall;
function Get_Owner: WideString; safecall;
function Get_HasPrimaryKey: WordBool; safecall;
function Get_Columns: Columns; safecall;
function Get_HasGuidColumn: WordBool; safecall;
function EnumPublicationArticles: QueryResults; safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property Name: WideString read Get_Name;
property Owner: WideString read Get_Owner;
property HasPrimaryKey: WordBool read Get_HasPrimaryKey;
property Columns: Columns read Get_Columns;
property HasGuidColumn: WordBool read Get_HasGuidColumn;
end;
// *********************************************************************//
// DispIntf: ReplicationTableDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10031406-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
ReplicationTableDisp = dispinterface
['{10031406-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property Name: WideString readonly dispid 9;
property Owner: WideString readonly dispid 10;
property HasPrimaryKey: WordBool readonly dispid 11;
property Columns: Columns readonly dispid 12;
property HasGuidColumn: WordBool readonly dispid 13;
function EnumPublicationArticles: QueryResults; dispid 101;
end;
// *********************************************************************//
// Interface: ReplicationStoredProcedures
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10031603-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
ReplicationStoredProcedures = interface(_IVSQLDMOStdObject)
['{10031603-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Item(Index: OleVariant): ReplicationStoredProcedure; safecall;
function Get__NewEnum: IUnknown; safecall;
function Get_Count: Integer; safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property _NewEnum: IUnknown read Get__NewEnum;
property Count: Integer read Get_Count;
end;
// *********************************************************************//
// DispIntf: ReplicationStoredProceduresDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10031603-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
ReplicationStoredProceduresDisp = dispinterface
['{10031603-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
function Item(Index: OleVariant): ReplicationStoredProcedure; dispid 0;
property _NewEnum: IUnknown readonly dispid -4;
property Count: Integer readonly dispid 5;
end;
// *********************************************************************//
// Interface: ReplicationStoredProcedure
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10031606-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
ReplicationStoredProcedure = interface(_IVSQLDMOStdObject)
['{10031606-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_Name: WideString; safecall;
function Get_SystemObject: WordBool; safecall;
function Get_Owner: WideString; safecall;
function EnumPublicationArticles: QueryResults; safecall;
function EnumDependencies(DependencyType: OleVariant): QueryResults;
safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property Name: WideString read Get_Name;
property SystemObject: WordBool read Get_SystemObject;
property Owner: WideString read Get_Owner;
end;
// *********************************************************************//
// DispIntf: ReplicationStoredProcedureDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10031606-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
ReplicationStoredProcedureDisp = dispinterface
['{10031606-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property Name: WideString readonly dispid 9;
property SystemObject: WordBool readonly dispid 11;
property Owner: WideString readonly dispid 12;
function EnumPublicationArticles: QueryResults; dispid 101;
function EnumDependencies(DependencyType: OleVariant): QueryResults;
dispid 102;
end;
// *********************************************************************//
// Interface: TransPublications
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10030103-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
TransPublications = interface(_IVSQLDMOStdObject)
['{10030103-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Item(Index: OleVariant): TransPublication; safecall;
function Get__NewEnum: IUnknown; safecall;
function Get_Count: Integer; safecall;
function ItemByID(ID: Integer): TransPublication; safecall;
procedure Add(const Object_: TransPublication); safecall;
procedure Remove(Index: OleVariant); safecall;
procedure Refresh(ReleaseMemberObjects: OleVariant); safecall;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant):
WideString; safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property _NewEnum: IUnknown read Get__NewEnum;
property Count: Integer read Get_Count;
end;
// *********************************************************************//
// DispIntf: TransPublicationsDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10030103-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
TransPublicationsDisp = dispinterface
['{10030103-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
function Item(Index: OleVariant): TransPublication; dispid 0;
property _NewEnum: IUnknown readonly dispid -4;
property Count: Integer readonly dispid 5;
function ItemByID(ID: Integer): TransPublication; dispid 6;
procedure Add(const Object_: TransPublication); dispid 100;
procedure Remove(Index: OleVariant); dispid 101;
procedure Refresh(ReleaseMemberObjects: OleVariant); dispid 102;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant):
WideString; dispid 103;
end;
// *********************************************************************//
// Interface: _TransPublication
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10030106-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_TransPublication = interface(_IVSQLDMOStdObject)
['{10030106-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_Name: WideString; safecall;
procedure Set_Name(const pRetVal: WideString); safecall;
function Get_ID: Integer; safecall;
function Get_Description: WideString; safecall;
procedure Set_Description(const pRetVal: WideString); safecall;
function Get_Enabled: WordBool; safecall;
procedure Set_Enabled(pRetVal: WordBool); safecall;
function Get_RetentionPeriod: Integer; safecall;
procedure Set_RetentionPeriod(pRetVal: Integer); safecall;
function Get_SnapshotMethod: SQLDMO_INITIALSYNC_TYPE; safecall;
procedure Set_SnapshotMethod(pRetVal: SQLDMO_INITIALSYNC_TYPE);
safecall;
function Get_SnapshotAvailable: WordBool; safecall;
procedure Set_SnapshotAvailable(pRetVal: WordBool); safecall;
function Get_SnapshotSchedule: Schedule; safecall;
function Get_SnapshotJobID: WideString; safecall;
function Get_PublicationAttributes: SQLDMO_PUBATTRIB_TYPE; safecall;
procedure Set_PublicationAttributes(pRetVal: SQLDMO_PUBATTRIB_TYPE);
safecall;
function Get_DefaultAccess: WordBool; safecall;
procedure Set_DefaultAccess(pRetVal: WordBool); safecall;
function Get_AllowSynchronousTransactions: WordBool; safecall;
procedure Set_AllowSynchronousTransactions(pRetVal: WordBool); safecall;
function Get_AutogenerateSyncProcedures: WordBool; safecall;
procedure Set_AutogenerateSyncProcedures(pRetVal: WordBool); safecall;
function Get_ReplicationFrequency: SQLDMO_REPFREQ_TYPE; safecall;
procedure Set_ReplicationFrequency(pRetVal: SQLDMO_REPFREQ_TYPE);
safecall;
function Get_TransArticles: TransArticles; safecall;
function Get_TransSubscriptions: TransSubscriptions; safecall;
procedure Remove; safecall;
procedure BeginAlter; safecall;
procedure DoAlter; safecall;
procedure CancelAlter; safecall;
procedure ActivateSubscriptions; safecall;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant):
WideString; safecall;
function EnumSubscriptions: QueryResults; safecall;
procedure RefreshChildren; safecall;
procedure ReInitializeAllSubscriptions; safecall;
function EnumPublicationAccesses(bReturnGranted: WordBool):
QueryResults; safecall;
procedure GrantPublicationAccess(const szLoginName: WideString);
safecall;
procedure RevokePublicationAccess(const szLoginName: WideString);
safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property Name: WideString read Get_Name write Set_Name;
property ID: Integer read Get_ID;
property Description: WideString read Get_Description write
Set_Description;
property Enabled: WordBool read Get_Enabled write Set_Enabled;
property RetentionPeriod: Integer read Get_RetentionPeriod write
Set_RetentionPeriod;
property SnapshotMethod: SQLDMO_INITIALSYNC_TYPE read Get_SnapshotMethod
write Set_SnapshotMethod;
property SnapshotAvailable: WordBool read Get_SnapshotAvailable write
Set_SnapshotAvailable;
property SnapshotSchedule: Schedule read Get_SnapshotSchedule;
property SnapshotJobID: WideString read Get_SnapshotJobID;
property PublicationAttributes: SQLDMO_PUBATTRIB_TYPE read
Get_PublicationAttributes write Set_PublicationAttributes;
property DefaultAccess: WordBool read Get_DefaultAccess write
Set_DefaultAccess;
property AllowSynchronousTransactions: WordBool read
Get_AllowSynchronousTransactions write Set_AllowSynchronousTransactions;
property AutogenerateSyncProcedures: WordBool read
Get_AutogenerateSyncProcedures write Set_AutogenerateSyncProcedures;
property ReplicationFrequency: SQLDMO_REPFREQ_TYPE read
Get_ReplicationFrequency write Set_ReplicationFrequency;
property TransArticles: TransArticles read Get_TransArticles;
property TransSubscriptions: TransSubscriptions read
Get_TransSubscriptions;
end;
// *********************************************************************//
// DispIntf: _TransPublicationDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10030106-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_TransPublicationDisp = dispinterface
['{10030106-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property Name: WideString dispid 9;
property ID: Integer readonly dispid 10;
property Description: WideString dispid 11;
property Enabled: WordBool dispid 12;
property RetentionPeriod: Integer dispid 13;
property SnapshotMethod: SQLDMO_INITIALSYNC_TYPE dispid 14;
property SnapshotAvailable: WordBool dispid 15;
property SnapshotSchedule: Schedule readonly dispid 16;
property SnapshotJobID: WideString readonly dispid 17;
property PublicationAttributes: SQLDMO_PUBATTRIB_TYPE dispid 18;
property DefaultAccess: WordBool dispid 19;
property AllowSynchronousTransactions: WordBool dispid 20;
property AutogenerateSyncProcedures: WordBool dispid 21;
property ReplicationFrequency: SQLDMO_REPFREQ_TYPE dispid 22;
property TransArticles: TransArticles readonly dispid 50;
property TransSubscriptions: TransSubscriptions readonly dispid 51;
procedure Remove; dispid 100;
procedure BeginAlter; dispid 102;
procedure DoAlter; dispid 103;
procedure CancelAlter; dispid 104;
procedure ActivateSubscriptions; dispid 107;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant):
WideString; dispid 108;
function EnumSubscriptions: QueryResults; dispid 109;
procedure RefreshChildren; dispid 110;
procedure ReInitializeAllSubscriptions; dispid 111;
function EnumPublicationAccesses(bReturnGranted: WordBool):
QueryResults; dispid 112;
procedure GrantPublicationAccess(const szLoginName: WideString); dispid
113;
procedure RevokePublicationAccess(const szLoginName: WideString); dispid
114;
end;
// *********************************************************************//
// Interface: TransArticles
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10030203-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
TransArticles = interface(_IVSQLDMOStdObject)
['{10030203-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Item(Index: OleVariant): TransArticle; safecall;
function Get__NewEnum: IUnknown; safecall;
function Get_Count: Integer; safecall;
function ItemByID(ID: Integer): TransArticle; safecall;
procedure Add(const Object_: TransArticle); safecall;
procedure Remove(Index: OleVariant); safecall;
procedure Refresh(ReleaseMemberObjects: OleVariant); safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property _NewEnum: IUnknown read Get__NewEnum;
property Count: Integer read Get_Count;
end;
// *********************************************************************//
// DispIntf: TransArticlesDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10030203-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
TransArticlesDisp = dispinterface
['{10030203-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
function Item(Index: OleVariant): TransArticle; dispid 0;
property _NewEnum: IUnknown readonly dispid -4;
property Count: Integer readonly dispid 5;
function ItemByID(ID: Integer): TransArticle; dispid 6;
procedure Add(const Object_: TransArticle); dispid 100;
procedure Remove(Index: OleVariant); dispid 101;
procedure Refresh(ReleaseMemberObjects: OleVariant); dispid 102;
end;
// *********************************************************************//
// Interface: _TransArticle
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10030206-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_TransArticle = interface(_IVSQLDMOStdObject)
['{10030206-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_Name: WideString; safecall;
procedure Set_Name(const pRetVal: WideString); safecall;
function Get_ID: Integer; safecall;
function Get_SourceObjectOwner: WideString; safecall;
procedure Set_SourceObjectOwner(const pRetVal: WideString); safecall;
function Get_SourceObjectName: WideString; safecall;
procedure Set_SourceObjectName(const pRetVal: WideString); safecall;
function Get_Description: WideString; safecall;
procedure Set_Description(const pRetVal: WideString); safecall;
function Get_ReplicateAllColumns: WordBool; safecall;
function Get_SnapshotObjectOwner: WideString; safecall;
procedure Set_SnapshotObjectOwner(const pRetVal: WideString); safecall;
function Get_SnapshotObjectName: WideString; safecall;
procedure Set_SnapshotObjectName(const pRetVal: WideString); safecall;
function Get_ArticleType: SQLDMO_ARTICLE_TYPE; safecall;
procedure Set_ArticleType(pRetVal: SQLDMO_ARTICLE_TYPE); safecall;
function Get_InsertCommand: WideString; safecall;
procedure Set_InsertCommand(const pRetVal: WideString); safecall;
function Get_UpdateCommand: WideString; safecall;
procedure Set_UpdateCommand(const pRetVal: WideString); safecall;
function Get_DeleteCommand: WideString; safecall;
procedure Set_DeleteCommand(const pRetVal: WideString); safecall;
function Get_ReplicationFilterProcOwner: WideString; safecall;
procedure Set_ReplicationFilterProcOwner(const pRetVal: WideString);
safecall;
function Get_ReplicationFilterProcName: WideString; safecall;
procedure Set_ReplicationFilterProcName(const pRetVal: WideString);
safecall;
function Get_CreationScriptPath: WideString; safecall;
procedure Set_CreationScriptPath(const pRetVal: WideString); safecall;
function Get_DestinationOwnerName: WideString; safecall;
procedure Set_DestinationOwnerName(const pRetVal: WideString); safecall;
function Get_DestinationObjectName: WideString; safecall;
procedure Set_DestinationObjectName(const pRetVal: WideString);
safecall;
function Get_PreCreationMethod: SQLDMO_PREARTICLE_TYPE; safecall;
procedure Set_PreCreationMethod(pRetVal: SQLDMO_PREARTICLE_TYPE);
safecall;
function Get_FilterClause: WideString; safecall;
procedure Set_FilterClause(const pRetVal: WideString); safecall;
function Get_CreationScriptOptions: SQLDMO_CREATIONSCRIPT_TYPE;
safecall;
procedure Set_CreationScriptOptions(pRetVal:
SQLDMO_CREATIONSCRIPT_TYPE); safecall;
function Get_CommandOptions: SQLDMO_COMMANDOPTION_TYPE; safecall;
procedure Set_CommandOptions(pRetVal: SQLDMO_COMMANDOPTION_TYPE);
safecall;
function Get_TransSubscriptions: TransSubscriptions; safecall;
procedure Remove; safecall;
function ListReplicatedColumns: SQLObjectList; safecall;
procedure AddReplicatedColumns(const Columns: WideString); safecall;
procedure RemoveReplicatedColumns(const Columns: WideString); safecall;
procedure BeginAlter; safecall;
procedure DoAlter; safecall;
procedure CancelAlter; safecall;
function ScriptDestinationObject(ScriptType: OleVariant; ScriptFilePath:
OleVariant;
Script2Type: OleVariant): WideString;
safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property Name: WideString read Get_Name write Set_Name;
property ID: Integer read Get_ID;
property SourceObjectOwner: WideString read Get_SourceObjectOwner write
Set_SourceObjectOwner;
property SourceObjectName: WideString read Get_SourceObjectName write
Set_SourceObjectName;
property Description: WideString read Get_Description write
Set_Description;
property ReplicateAllColumns: WordBool read Get_ReplicateAllColumns;
property SnapshotObjectOwner: WideString read Get_SnapshotObjectOwner
write Set_SnapshotObjectOwner;
property SnapshotObjectName: WideString read Get_SnapshotObjectName
write Set_SnapshotObjectName;
property ArticleType: SQLDMO_ARTICLE_TYPE read Get_ArticleType write
Set_ArticleType;
property InsertCommand: WideString read Get_InsertCommand write
Set_InsertCommand;
property UpdateCommand: WideString read Get_UpdateCommand write
Set_UpdateCommand;
property DeleteCommand: WideString read Get_DeleteCommand write
Set_DeleteCommand;
property ReplicationFilterProcOwner: WideString read
Get_ReplicationFilterProcOwner write Set_ReplicationFilterProcOwner;
property ReplicationFilterProcName: WideString read
Get_ReplicationFilterProcName write Set_ReplicationFilterProcName;
property CreationScriptPath: WideString read Get_CreationScriptPath
write Set_CreationScriptPath;
property DestinationOwnerName: WideString read Get_DestinationOwnerName
write Set_DestinationOwnerName;
property DestinationObjectName: WideString read
Get_DestinationObjectName write Set_DestinationObjectName;
property PreCreationMethod: SQLDMO_PREARTICLE_TYPE read
Get_PreCreationMethod write Set_PreCreationMethod;
property FilterClause: WideString read Get_FilterClause write
Set_FilterClause;
property CreationScriptOptions: SQLDMO_CREATIONSCRIPT_TYPE read
Get_CreationScriptOptions write Set_CreationScriptOptions;
property CommandOptions: SQLDMO_COMMANDOPTION_TYPE read
Get_CommandOptions write Set_CommandOptions;
property TransSubscriptions: TransSubscriptions read
Get_TransSubscriptions;
end;
// *********************************************************************//
// DispIntf: _TransArticleDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10030206-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_TransArticleDisp = dispinterface
['{10030206-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property Name: WideString dispid 9;
property ID: Integer readonly dispid 10;
property SourceObjectOwner: WideString dispid 11;
property SourceObjectName: WideString dispid 12;
property Description: WideString dispid 13;
property ReplicateAllColumns: WordBool readonly dispid 14;
property SnapshotObjectOwner: WideString dispid 15;
property SnapshotObjectName: WideString dispid 16;
property ArticleType: SQLDMO_ARTICLE_TYPE dispid 17;
property InsertCommand: WideString dispid 18;
property UpdateCommand: WideString dispid 19;
property DeleteCommand: WideString dispid 20;
property ReplicationFilterProcOwner: WideString dispid 21;
property ReplicationFilterProcName: WideString dispid 22;
property CreationScriptPath: WideString dispid 23;
property DestinationOwnerName: WideString dispid 24;
property DestinationObjectName: WideString dispid 25;
property PreCreationMethod: SQLDMO_PREARTICLE_TYPE dispid 26;
property FilterClause: WideString dispid 27;
property CreationScriptOptions: SQLDMO_CREATIONSCRIPT_TYPE dispid 28;
property CommandOptions: SQLDMO_COMMANDOPTION_TYPE dispid 29;
property TransSubscriptions: TransSubscriptions readonly dispid 50;
procedure Remove; dispid 100;
function ListReplicatedColumns: SQLObjectList; dispid 101;
procedure AddReplicatedColumns(const Columns: WideString); dispid 102;
procedure RemoveReplicatedColumns(const Columns: WideString); dispid
103;
procedure BeginAlter; dispid 104;
procedure DoAlter; dispid 105;
procedure CancelAlter; dispid 106;
function ScriptDestinationObject(ScriptType: OleVariant; ScriptFilePath:
OleVariant;
Script2Type: OleVariant): WideString;
dispid 107;
end;
// *********************************************************************//
// Interface: TransSubscriptions
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10030303-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
TransSubscriptions = interface(_IVSQLDMOStdObject)
['{10030303-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Item(Index: OleVariant): TransSubscription; safecall;
function Get__NewEnum: IUnknown; safecall;
function Get_Count: Integer; safecall;
procedure Add(const Object_: TransSubscription); safecall;
procedure Remove(Index: OleVariant); safecall;
procedure Refresh(ReleaseMemberObjects: OleVariant); safecall;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant):
WideString; safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property _NewEnum: IUnknown read Get__NewEnum;
property Count: Integer read Get_Count;
end;
// *********************************************************************//
// DispIntf: TransSubscriptionsDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10030303-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
TransSubscriptionsDisp = dispinterface
['{10030303-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
function Item(Index: OleVariant): TransSubscription; dispid 0;
property _NewEnum: IUnknown readonly dispid -4;
property Count: Integer readonly dispid 5;
procedure Add(const Object_: TransSubscription); dispid 100;
procedure Remove(Index: OleVariant); dispid 101;
procedure Refresh(ReleaseMemberObjects: OleVariant); dispid 102;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant):
WideString; dispid 103;
end;
// *********************************************************************//
// Interface: _TransSubscription
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10030306-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_TransSubscription = interface(_IVSQLDMOStdObject)
['{10030306-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_Subscriber: WideString; safecall;
procedure Set_Subscriber(const pRetVal: WideString); safecall;
function Get_SubscriptionDB: WideString; safecall;
procedure Set_SubscriptionDB(const pRetVal: WideString); safecall;
function Get_SyncType: SQLDMO_SUBSYNC_TYPE; safecall;
procedure Set_SyncType(pRetVal: SQLDMO_SUBSYNC_TYPE); safecall;
function Get_Status: SQLDMO_SUBSTATUS_TYPE; safecall;
procedure Set_Status(pRetVal: SQLDMO_SUBSTATUS_TYPE); safecall;
function Get_FullSubscription: WordBool; safecall;
function Get_DistributionSchedule: Schedule; safecall;
function Get_Name: WideString; safecall;
function Get_SubscriptionType: SQLDMO_SUBSCRIPTION_TYPE; safecall;
function Get_SubscriberType: SQLDMO_TRANSUBSCRIBER_TYPE; safecall;
procedure Set_SubscriberType(pRetVal: SQLDMO_TRANSUBSCRIBER_TYPE);
safecall;
function Get_DistributionJobID: WideString; safecall;
procedure Remove; safecall;
procedure BeginAlter; safecall;
procedure DoAlter; safecall;
procedure CancelAlter; safecall;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant):
WideString; safecall;
procedure ReInitialize; safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property Subscriber: WideString read Get_Subscriber write
Set_Subscriber;
property SubscriptionDB: WideString read Get_SubscriptionDB write
Set_SubscriptionDB;
property SyncType: SQLDMO_SUBSYNC_TYPE read Get_SyncType write
Set_SyncType;
property Status: SQLDMO_SUBSTATUS_TYPE read Get_Status write Set_Status;
property FullSubscription: WordBool read Get_FullSubscription;
property DistributionSchedule: Schedule read Get_DistributionSchedule;
property Name: WideString read Get_Name;
property SubscriptionType: SQLDMO_SUBSCRIPTION_TYPE read
Get_SubscriptionType;
property SubscriberType: SQLDMO_TRANSUBSCRIBER_TYPE read
Get_SubscriberType write Set_SubscriberType;
property DistributionJobID: WideString read Get_DistributionJobID;
end;
// *********************************************************************//
// DispIntf: _TransSubscriptionDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10030306-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_TransSubscriptionDisp = dispinterface
['{10030306-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property Subscriber: WideString dispid 9;
property SubscriptionDB: WideString dispid 10;
property SyncType: SQLDMO_SUBSYNC_TYPE dispid 11;
property Status: SQLDMO_SUBSTATUS_TYPE dispid 12;
property FullSubscription: WordBool readonly dispid 13;
property DistributionSchedule: Schedule readonly dispid 14;
property Name: WideString readonly dispid 15;
property SubscriptionType: SQLDMO_SUBSCRIPTION_TYPE readonly dispid 16;
property SubscriberType: SQLDMO_TRANSUBSCRIBER_TYPE dispid 17;
property DistributionJobID: WideString readonly dispid 19;
procedure Remove; dispid 100;
procedure BeginAlter; dispid 102;
procedure DoAlter; dispid 103;
procedure CancelAlter; dispid 104;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant):
WideString; dispid 105;
procedure ReInitialize; dispid 106;
end;
// *********************************************************************//
// Interface: MergePublications
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10030403-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
MergePublications = interface(_IVSQLDMOStdObject)
['{10030403-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Item(Index: OleVariant): MergePublication; safecall;
function Get__NewEnum: IUnknown; safecall;
function Get_Count: Integer; safecall;
function ItemByID(ID: Integer): MergePublication; safecall;
procedure Add(const Object_: MergePublication); safecall;
procedure Remove(Index: OleVariant); safecall;
procedure Refresh(ReleaseMemberObjects: OleVariant); safecall;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant):
WideString; safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property _NewEnum: IUnknown read Get__NewEnum;
property Count: Integer read Get_Count;
end;
// *********************************************************************//
// DispIntf: MergePublicationsDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10030403-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
MergePublicationsDisp = dispinterface
['{10030403-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
function Item(Index: OleVariant): MergePublication; dispid 0;
property _NewEnum: IUnknown readonly dispid -4;
property Count: Integer readonly dispid 5;
function ItemByID(ID: Integer): MergePublication; dispid 6;
procedure Add(const Object_: MergePublication); dispid 100;
procedure Remove(Index: OleVariant); dispid 101;
procedure Refresh(ReleaseMemberObjects: OleVariant); dispid 102;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant):
WideString; dispid 103;
end;
// *********************************************************************//
// Interface: _MergePublication
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10030406-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_MergePublication = interface(_IVSQLDMOStdObject)
['{10030406-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_Name: WideString; safecall;
procedure Set_Name(const pRetVal: WideString); safecall;
function Get_ID: Integer; safecall;
function Get_Description: WideString; safecall;
procedure Set_Description(const pRetVal: WideString); safecall;
function Get_Enabled: WordBool; safecall;
procedure Set_Enabled(pRetVal: WordBool); safecall;
function Get_RetentionPeriod: Integer; safecall;
procedure Set_RetentionPeriod(pRetVal: Integer); safecall;
function Get_SnapshotMethod: SQLDMO_INITIALSYNC_TYPE; safecall;
procedure Set_SnapshotMethod(pRetVal: SQLDMO_INITIALSYNC_TYPE);
safecall;
function Get_SnapshotAvailable: WordBool; safecall;
procedure Set_SnapshotAvailable(pRetVal: WordBool); safecall;
function Get_SnapshotSchedule: Schedule; safecall;
function Get_SnapshotJobID: WideString; safecall;
function Get_PublicationAttributes: SQLDMO_PUBATTRIB_TYPE; safecall;
procedure Set_PublicationAttributes(pRetVal: SQLDMO_PUBATTRIB_TYPE);
safecall;
function Get_DefaultAccess: WordBool; safecall;
procedure Set_DefaultAccess(pRetVal: WordBool); safecall;
function Get_CentralizedConflicts: WordBool; safecall;
procedure Set_CentralizedConflicts(pRetVal: WordBool); safecall;
function Get_Priority: Single; safecall;
function Get_DynamicFilters: WordBool; safecall;
procedure Set_DynamicFilters(pRetVal: WordBool); safecall;
function Get_MergeArticles: MergeArticles; safecall;
function Get_MergeSubscriptions: MergeSubscriptions; safecall;
procedure Remove; safecall;
procedure BeginAlter; safecall;
procedure DoAlter; safecall;
procedure CancelAlter; safecall;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant):
WideString; safecall;
function EnumSubscriptions: QueryResults; safecall;
procedure RefreshChildren; safecall;
function EnumPublicationReferences: QueryResults; safecall;
procedure ReInitializeAllSubscriptions; safecall;
function EnumPublicationAccesses(bReturnGranted: WordBool):
QueryResults; safecall;
procedure GrantPublicationAccess(const szLoginName: WideString);
safecall;
procedure RevokePublicationAccess(const szLoginName: WideString);
safecall;
procedure GenerateFilters; safecall;
function EnumGeneratedSubsetFilters(const ArticleName: WideString;
const SubsetFilterClause:
WideString): QueryResults; safecall;
function EnumAllSubsetFilters: QueryResults; safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property Name: WideString read Get_Name write Set_Name;
property ID: Integer read Get_ID;
property Description: WideString read Get_Description write
Set_Description;
property Enabled: WordBool read Get_Enabled write Set_Enabled;
property RetentionPeriod: Integer read Get_RetentionPeriod write
Set_RetentionPeriod;
property SnapshotMethod: SQLDMO_INITIALSYNC_TYPE read Get_SnapshotMethod
write Set_SnapshotMethod;
property SnapshotAvailable: WordBool read Get_SnapshotAvailable write
Set_SnapshotAvailable;
property SnapshotSchedule: Schedule read Get_SnapshotSchedule;
property SnapshotJobID: WideString read Get_SnapshotJobID;
property PublicationAttributes: SQLDMO_PUBATTRIB_TYPE read
Get_PublicationAttributes write Set_PublicationAttributes;
property DefaultAccess: WordBool read Get_DefaultAccess write
Set_DefaultAccess;
property CentralizedConflicts: WordBool read Get_CentralizedConflicts
write Set_CentralizedConflicts;
property Priority: Single read Get_Priority;
property DynamicFilters: WordBool read Get_DynamicFilters write
Set_DynamicFilters;
property MergeArticles: MergeArticles read Get_MergeArticles;
property MergeSubscriptions: MergeSubscriptions read
Get_MergeSubscriptions;
end;
// *********************************************************************//
// DispIntf: _MergePublicationDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10030406-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_MergePublicationDisp = dispinterface
['{10030406-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property Name: WideString dispid 9;
property ID: Integer readonly dispid 10;
property Description: WideString dispid 11;
property Enabled: WordBool dispid 12;
property RetentionPeriod: Integer dispid 13;
property SnapshotMethod: SQLDMO_INITIALSYNC_TYPE dispid 14;
property SnapshotAvailable: WordBool dispid 15;
property SnapshotSchedule: Schedule readonly dispid 16;
property SnapshotJobID: WideString readonly dispid 17;
property PublicationAttributes: SQLDMO_PUBATTRIB_TYPE dispid 18;
property DefaultAccess: WordBool dispid 19;
property CentralizedConflicts: WordBool dispid 20;
property Priority: Single readonly dispid 21;
property DynamicFilters: WordBool dispid 22;
property MergeArticles: MergeArticles readonly dispid 50;
property MergeSubscriptions: MergeSubscriptions readonly dispid 51;
procedure Remove; dispid 100;
procedure BeginAlter; dispid 101;
procedure DoAlter; dispid 102;
procedure CancelAlter; dispid 103;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant):
WideString; dispid 104;
function EnumSubscriptions: QueryResults; dispid 105;
procedure RefreshChildren; dispid 106;
function EnumPublicationReferences: QueryResults; dispid 107;
procedure ReInitializeAllSubscriptions; dispid 108;
function EnumPublicationAccesses(bReturnGranted: WordBool):
QueryResults; dispid 109;
procedure GrantPublicationAccess(const szLoginName: WideString); dispid
110;
procedure RevokePublicationAccess(const szLoginName: WideString); dispid
111;
procedure GenerateFilters; dispid 112;
function EnumGeneratedSubsetFilters(const ArticleName: WideString;
const SubsetFilterClause:
WideString): QueryResults; dispid 113;
function EnumAllSubsetFilters: QueryResults; dispid 114;
end;
// *********************************************************************//
// Interface: MergeArticles
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10030503-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
MergeArticles = interface(_IVSQLDMOStdObject)
['{10030503-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Item(Index: OleVariant): MergeArticle; safecall;
function Get__NewEnum: IUnknown; safecall;
function Get_Count: Integer; safecall;
function ItemByID(ID: Integer): MergeArticle; safecall;
procedure Add(const Object_: MergeArticle); safecall;
procedure Remove(Index: OleVariant); safecall;
procedure Refresh(ReleaseMemberObjects: OleVariant); safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property _NewEnum: IUnknown read Get__NewEnum;
property Count: Integer read Get_Count;
end;
// *********************************************************************//
// DispIntf: MergeArticlesDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10030503-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
MergeArticlesDisp = dispinterface
['{10030503-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
function Item(Index: OleVariant): MergeArticle; dispid 0;
property _NewEnum: IUnknown readonly dispid -4;
property Count: Integer readonly dispid 5;
function ItemByID(ID: Integer): MergeArticle; dispid 6;
procedure Add(const Object_: MergeArticle); dispid 100;
procedure Remove(Index: OleVariant); dispid 101;
procedure Refresh(ReleaseMemberObjects: OleVariant); dispid 102;
end;
// *********************************************************************//
// Interface: _MergeArticle
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10030506-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_MergeArticle = interface(_IVSQLDMOStdObject)
['{10030506-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_Name: WideString; safecall;
procedure Set_Name(const pRetVal: WideString); safecall;
function Get_ID: Integer; safecall;
function Get_SourceObjectOwner: WideString; safecall;
procedure Set_SourceObjectOwner(const pRetVal: WideString); safecall;
function Get_SourceObjectName: WideString; safecall;
procedure Set_SourceObjectName(const pRetVal: WideString); safecall;
function Get_Status: SQLDMO_ARTSTATUS_TYPE; safecall;
procedure Set_Status(pRetVal: SQLDMO_ARTSTATUS_TYPE); safecall;
function Get_Description: WideString; safecall;
procedure Set_Description(const pRetVal: WideString); safecall;
function Get_ConflictTable: WideString; safecall;
function Get_ArticleResolver: WideString; safecall;
procedure Set_ArticleResolver(const pRetVal: WideString); safecall;
function Get_SubsetFilterClause: WideString; safecall;
procedure Set_SubsetFilterClause(const pRetVal: WideString); safecall;
function Get_PreCreationMethod: SQLDMO_PREARTICLE_TYPE; safecall;
procedure Set_PreCreationMethod(pRetVal: SQLDMO_PREARTICLE_TYPE);
safecall;
function Get_CreationScriptOptions: SQLDMO_CREATIONSCRIPT_TYPE;
safecall;
procedure Set_CreationScriptOptions(pRetVal:
SQLDMO_CREATIONSCRIPT_TYPE); safecall;
function Get_ArticleType: SQLDMO_ARTICLE_TYPE; safecall;
procedure Set_ArticleType(pRetVal: SQLDMO_ARTICLE_TYPE); safecall;
function Get_ColumnTracking: WordBool; safecall;
procedure Set_ColumnTracking(pRetVal: WordBool); safecall;
function Get_CreationScriptPath: WideString; safecall;
procedure Set_CreationScriptPath(const pRetVal: WideString); safecall;
function Get_SnapshotObjectOwner: WideString; safecall;
function Get_SnapshotObjectName: WideString; safecall;
function Get_ResolverInfo: WideString; safecall;
procedure Set_ResolverInfo(const pRetVal: WideString); safecall;
function Get_MergeSubsetFilters: MergeSubsetFilters; safecall;
procedure Remove; safecall;
procedure BeginAlter; safecall;
procedure DoAlter; safecall;
procedure CancelAlter; safecall;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant):
WideString; safecall;
function ScriptDestinationObject(ScriptType: OleVariant; ScriptFilePath:
OleVariant;
Script2Type: OleVariant): WideString;
safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property Name: WideString read Get_Name write Set_Name;
property ID: Integer read Get_ID;
property SourceObjectOwner: WideString read Get_SourceObjectOwner write
Set_SourceObjectOwner;
property SourceObjectName: WideString read Get_SourceObjectName write
Set_SourceObjectName;
property Status: SQLDMO_ARTSTATUS_TYPE read Get_Status write Set_Status;
property Description: WideString read Get_Description write
Set_Description;
property ConflictTable: WideString read Get_ConflictTable;
property ArticleResolver: WideString read Get_ArticleResolver write
Set_ArticleResolver;
property SubsetFilterClause: WideString read Get_SubsetFilterClause
write Set_SubsetFilterClause;
property PreCreationMethod: SQLDMO_PREARTICLE_TYPE read
Get_PreCreationMethod write Set_PreCreationMethod;
property CreationScriptOptions: SQLDMO_CREATIONSCRIPT_TYPE read
Get_CreationScriptOptions write Set_CreationScriptOptions;
property ArticleType: SQLDMO_ARTICLE_TYPE read Get_ArticleType write
Set_ArticleType;
property ColumnTracking: WordBool read Get_ColumnTracking write
Set_ColumnTracking;
property CreationScriptPath: WideString read Get_CreationScriptPath
write Set_CreationScriptPath;
property SnapshotObjectOwner: WideString read Get_SnapshotObjectOwner;
property SnapshotObjectName: WideString read Get_SnapshotObjectName;
property ResolverInfo: WideString read Get_ResolverInfo write
Set_ResolverInfo;
property MergeSubsetFilters: MergeSubsetFilters read
Get_MergeSubsetFilters;
end;
// *********************************************************************//
// DispIntf: _MergeArticleDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10030506-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_MergeArticleDisp = dispinterface
['{10030506-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property Name: WideString dispid 9;
property ID: Integer readonly dispid 10;
property SourceObjectOwner: WideString dispid 11;
property SourceObjectName: WideString dispid 12;
property Status: SQLDMO_ARTSTATUS_TYPE dispid 13;
property Description: WideString dispid 14;
property ConflictTable: WideString readonly dispid 15;
property ArticleResolver: WideString dispid 16;
property SubsetFilterClause: WideString dispid 17;
property PreCreationMethod: SQLDMO_PREARTICLE_TYPE dispid 18;
property CreationScriptOptions: SQLDMO_CREATIONSCRIPT_TYPE dispid 19;
property ArticleType: SQLDMO_ARTICLE_TYPE dispid 20;
property ColumnTracking: WordBool dispid 21;
property CreationScriptPath: WideString dispid 23;
property SnapshotObjectOwner: WideString readonly dispid 24;
property SnapshotObjectName: WideString readonly dispid 25;
property ResolverInfo: WideString dispid 26;
property MergeSubsetFilters: MergeSubsetFilters readonly dispid 50;
procedure Remove; dispid 100;
procedure BeginAlter; dispid 104;
procedure DoAlter; dispid 105;
procedure CancelAlter; dispid 106;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant):
WideString; dispid 107;
function ScriptDestinationObject(ScriptType: OleVariant; ScriptFilePath:
OleVariant;
Script2Type: OleVariant): WideString;
dispid 108;
end;
// *********************************************************************//
// Interface: MergeSubsetFilters
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10035103-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
MergeSubsetFilters = interface(_IVSQLDMOStdObject)
['{10035103-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Item(Index: OleVariant): MergeSubsetFilter; safecall;
function Get__NewEnum: IUnknown; safecall;
function Get_Count: Integer; safecall;
function ItemByID(ID: Integer): MergeSubsetFilter; safecall;
procedure Add(const Object_: MergeSubsetFilter); safecall;
procedure Remove(Index: OleVariant); safecall;
procedure Refresh(ReleaseMemberObjects: OleVariant); safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property _NewEnum: IUnknown read Get__NewEnum;
property Count: Integer read Get_Count;
end;
// *********************************************************************//
// DispIntf: MergeSubsetFiltersDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10035103-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
MergeSubsetFiltersDisp = dispinterface
['{10035103-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
function Item(Index: OleVariant): MergeSubsetFilter; dispid 0;
property _NewEnum: IUnknown readonly dispid -4;
property Count: Integer readonly dispid 5;
function ItemByID(ID: Integer): MergeSubsetFilter; dispid 6;
procedure Add(const Object_: MergeSubsetFilter); dispid 100;
procedure Remove(Index: OleVariant); dispid 101;
procedure Refresh(ReleaseMemberObjects: OleVariant); dispid 102;
end;
// *********************************************************************//
// Interface: _MergeSubsetFilter
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10035106-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_MergeSubsetFilter = interface(_IVSQLDMOStdObject)
['{10035106-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_Name: WideString; safecall;
procedure Set_Name(const pRetVal: WideString); safecall;
function Get_JoinArticleName: WideString; safecall;
procedure Set_JoinArticleName(const pRetVal: WideString); safecall;
function Get_JoinFilterClause: WideString; safecall;
procedure Set_JoinFilterClause(const pRetVal: WideString); safecall;
function Get_ID: Integer; safecall;
function Get_JoinUniqueKey: WordBool; safecall;
procedure Set_JoinUniqueKey(pRetVal: WordBool); safecall;
procedure Remove; safecall;
procedure BeginAlter; safecall;
procedure DoAlter; safecall;
procedure CancelAlter; safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property Name: WideString read Get_Name write Set_Name;
property JoinArticleName: WideString read Get_JoinArticleName write
Set_JoinArticleName;
property JoinFilterClause: WideString read Get_JoinFilterClause write
Set_JoinFilterClause;
property ID: Integer read Get_ID;
property JoinUniqueKey: WordBool read Get_JoinUniqueKey write
Set_JoinUniqueKey;
end;
// *********************************************************************//
// DispIntf: _MergeSubsetFilterDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10035106-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_MergeSubsetFilterDisp = dispinterface
['{10035106-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property Name: WideString dispid 9;
property JoinArticleName: WideString dispid 10;
property JoinFilterClause: WideString dispid 11;
property ID: Integer readonly dispid 12;
property JoinUniqueKey: WordBool dispid 13;
procedure Remove; dispid 100;
procedure BeginAlter; dispid 102;
procedure DoAlter; dispid 103;
procedure CancelAlter; dispid 104;
end;
// *********************************************************************//
// Interface: MergeSubscriptions
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10030603-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
MergeSubscriptions = interface(_IVSQLDMOStdObject)
['{10030603-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Item(Index: OleVariant): MergeSubscription; safecall;
function Get__NewEnum: IUnknown; safecall;
function Get_Count: Integer; safecall;
procedure Add(const Object_: MergeSubscription); safecall;
procedure Remove(Index: OleVariant); safecall;
procedure Refresh(ReleaseMemberObjects: OleVariant); safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property _NewEnum: IUnknown read Get__NewEnum;
property Count: Integer read Get_Count;
end;
// *********************************************************************//
// DispIntf: MergeSubscriptionsDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10030603-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
MergeSubscriptionsDisp = dispinterface
['{10030603-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
function Item(Index: OleVariant): MergeSubscription; dispid 0;
property _NewEnum: IUnknown readonly dispid -4;
property Count: Integer readonly dispid 5;
procedure Add(const Object_: MergeSubscription); dispid 100;
procedure Remove(Index: OleVariant); dispid 101;
procedure Refresh(ReleaseMemberObjects: OleVariant); dispid 102;
end;
// *********************************************************************//
// Interface: _MergeSubscription
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10030606-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_MergeSubscription = interface(_IVSQLDMOStdObject)
['{10030606-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_Name: WideString; safecall;
function Get_Subscriber: WideString; safecall;
procedure Set_Subscriber(const pRetVal: WideString); safecall;
function Get_SubscriptionDB: WideString; safecall;
procedure Set_SubscriptionDB(const pRetVal: WideString); safecall;
function Get_Status: SQLDMO_SUBSTATUS_TYPE; safecall;
procedure Set_Status(pRetVal: SQLDMO_SUBSTATUS_TYPE); safecall;
function Get_SubscriberType: SQLDMO_MERGESUBSCRIBER_TYPE; safecall;
procedure Set_SubscriberType(pRetVal: SQLDMO_MERGESUBSCRIBER_TYPE);
safecall;
function Get_Priority: Single; safecall;
procedure Set_Priority(pRetVal: Single); safecall;
function Get_MergeSchedule: Schedule; safecall;
function Get_SyncType: SQLDMO_SUBSYNC_TYPE; safecall;
procedure Set_SyncType(pRetVal: SQLDMO_SUBSYNC_TYPE); safecall;
function Get_SubscriptionType: SQLDMO_SUBSCRIPTION_TYPE; safecall;
function Get_MergeJobID: WideString; safecall;
function Get_Description: WideString; safecall;
procedure Set_Description(const pRetVal: WideString); safecall;
procedure Remove; safecall;
procedure BeginAlter; safecall;
procedure DoAlter; safecall;
procedure CancelAlter; safecall;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant):
WideString; safecall;
procedure ReInitialize; safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property Name: WideString read Get_Name;
property Subscriber: WideString read Get_Subscriber write
Set_Subscriber;
property SubscriptionDB: WideString read Get_SubscriptionDB write
Set_SubscriptionDB;
property Status: SQLDMO_SUBSTATUS_TYPE read Get_Status write Set_Status;
property SubscriberType: SQLDMO_MERGESUBSCRIBER_TYPE read
Get_SubscriberType write Set_SubscriberType;
property Priority: Single read Get_Priority write Set_Priority;
property MergeSchedule: Schedule read Get_MergeSchedule;
property SyncType: SQLDMO_SUBSYNC_TYPE read Get_SyncType write
Set_SyncType;
property SubscriptionType: SQLDMO_SUBSCRIPTION_TYPE read
Get_SubscriptionType;
property MergeJobID: WideString read Get_MergeJobID;
property Description: WideString read Get_Description write
Set_Description;
end;
// *********************************************************************//
// DispIntf: _MergeSubscriptionDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10030606-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_MergeSubscriptionDisp = dispinterface
['{10030606-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property Name: WideString readonly dispid 9;
property Subscriber: WideString dispid 10;
property SubscriptionDB: WideString dispid 11;
property Status: SQLDMO_SUBSTATUS_TYPE dispid 12;
property SubscriberType: SQLDMO_MERGESUBSCRIBER_TYPE dispid 13;
property Priority: Single dispid 14;
property MergeSchedule: Schedule readonly dispid 15;
property SyncType: SQLDMO_SUBSYNC_TYPE dispid 16;
property SubscriptionType: SQLDMO_SUBSCRIPTION_TYPE readonly dispid 17;
property MergeJobID: WideString readonly dispid 18;
property Description: WideString dispid 19;
procedure Remove; dispid 100;
procedure BeginAlter; dispid 102;
procedure DoAlter; dispid 103;
procedure CancelAlter; dispid 104;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant):
WideString; dispid 105;
procedure ReInitialize; dispid 106;
end;
// *********************************************************************//
// Interface: TransPullSubscriptions
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10030B03-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
TransPullSubscriptions = interface(_IVSQLDMOStdObject)
['{10030B03-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Item(Index: OleVariant): TransPullSubscription; safecall;
function Get__NewEnum: IUnknown; safecall;
function Get_Count: Integer; safecall;
procedure Add(const Object_: TransPullSubscription); safecall;
procedure Remove(Index: OleVariant); safecall;
procedure Refresh(ReleaseMemberObjects: OleVariant); safecall;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant):
WideString; safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property _NewEnum: IUnknown read Get__NewEnum;
property Count: Integer read Get_Count;
end;
// *********************************************************************//
// DispIntf: TransPullSubscriptionsDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10030B03-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
TransPullSubscriptionsDisp = dispinterface
['{10030B03-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
function Item(Index: OleVariant): TransPullSubscription; dispid 0;
property _NewEnum: IUnknown readonly dispid -4;
property Count: Integer readonly dispid 5;
procedure Add(const Object_: TransPullSubscription); dispid 100;
procedure Remove(Index: OleVariant); dispid 101;
procedure Refresh(ReleaseMemberObjects: OleVariant); dispid 102;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant):
WideString; dispid 103;
end;
// *********************************************************************//
// Interface: _TransPullSubscription
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10030B06-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_TransPullSubscription = interface(_IVSQLDMOStdObject)
['{10030B06-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_Name: WideString; safecall;
function Get_Publisher: WideString; safecall;
procedure Set_Publisher(const pRetVal: WideString); safecall;
function Get_PublicationDB: WideString; safecall;
procedure Set_PublicationDB(const pRetVal: WideString); safecall;
function Get_Publication: WideString; safecall;
procedure Set_Publication(const pRetVal: WideString); safecall;
function Get_Description: WideString; safecall;
procedure Set_Description(const pRetVal: WideString); safecall;
function Get_SubscriptionType: SQLDMO_SUBSCRIPTION_TYPE; safecall;
procedure Set_SubscriptionType(pRetVal: SQLDMO_SUBSCRIPTION_TYPE);
safecall;
function Get_SubscriberType: SQLDMO_TRANSUBSCRIBER_TYPE; safecall;
procedure Set_SubscriberType(pRetVal: SQLDMO_TRANSUBSCRIBER_TYPE);
safecall;
function Get_Distributor: WideString; safecall;
procedure Set_Distributor(const pRetVal: WideString); safecall;
function Get_PublisherSecurity: ReplicationSecurity; safecall;
function Get_DistributorSecurity: ReplicationSecurity; safecall;
procedure Set_SubscriberSecurityMode(Param1: SQLDMO_SECURITY_TYPE);
safecall;
procedure Set_SubscriberLogin(const Param1: WideString); safecall;
procedure Set_SubscriberPassword(const Param1: WideString); safecall;
function Get_DistributionSchedule: Schedule; safecall;
function Get_DistributionJobID: WideString; safecall;
function Get_LastDistributionDate: WideString; safecall;
function Get_PublicationAttributes: SQLDMO_PUBATTRIB_TYPE; safecall;
procedure Set_PublicationAttributes(pRetVal: SQLDMO_PUBATTRIB_TYPE);
safecall;
procedure Remove; safecall;
procedure BeginAlter; safecall;
procedure DoAlter; safecall;
procedure CancelAlter; safecall;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant):
WideString; safecall;
function EnumJobInfo: QueryResults; safecall;
procedure ReInitialize; safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property Name: WideString read Get_Name;
property Publisher: WideString read Get_Publisher write Set_Publisher;
property PublicationDB: WideString read Get_PublicationDB write
Set_PublicationDB;
property Publication: WideString read Get_Publication write
Set_Publication;
property Description: WideString read Get_Description write
Set_Description;
property SubscriptionType: SQLDMO_SUBSCRIPTION_TYPE read
Get_SubscriptionType write Set_SubscriptionType;
property SubscriberType: SQLDMO_TRANSUBSCRIBER_TYPE read
Get_SubscriberType write Set_SubscriberType;
property Distributor: WideString read Get_Distributor write
Set_Distributor;
property PublisherSecurity: ReplicationSecurity read
Get_PublisherSecurity;
property DistributorSecurity: ReplicationSecurity read
Get_DistributorSecurity;
property SubscriberSecurityMode: SQLDMO_SECURITY_TYPE write
Set_SubscriberSecurityMode;
property SubscriberLogin: WideString write Set_SubscriberLogin;
property SubscriberPassword: WideString write Set_SubscriberPassword;
property DistributionSchedule: Schedule read Get_DistributionSchedule;
property DistributionJobID: WideString read Get_DistributionJobID;
property LastDistributionDate: WideString read Get_LastDistributionDate;
property PublicationAttributes: SQLDMO_PUBATTRIB_TYPE read
Get_PublicationAttributes write Set_PublicationAttributes;
end;
// *********************************************************************//
// DispIntf: _TransPullSubscriptionDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10030B06-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_TransPullSubscriptionDisp = dispinterface
['{10030B06-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property Name: WideString readonly dispid 9;
property Publisher: WideString dispid 10;
property PublicationDB: WideString dispid 11;
property Publication: WideString dispid 12;
property Description: WideString dispid 13;
property SubscriptionType: SQLDMO_SUBSCRIPTION_TYPE dispid 14;
property SubscriberType: SQLDMO_TRANSUBSCRIBER_TYPE dispid 15;
property Distributor: WideString dispid 16;
property PublisherSecurity: ReplicationSecurity readonly dispid 17;
property DistributorSecurity: ReplicationSecurity readonly dispid 18;
property SubscriberSecurityMode: SQLDMO_SECURITY_TYPE writeonly dispid
19;
property SubscriberLogin: WideString writeonly dispid 20;
property SubscriberPassword: WideString writeonly dispid 21;
property DistributionSchedule: Schedule readonly dispid 22;
property DistributionJobID: WideString readonly dispid 23;
property LastDistributionDate: WideString readonly dispid 24;
property PublicationAttributes: SQLDMO_PUBATTRIB_TYPE dispid 25;
procedure Remove; dispid 100;
procedure BeginAlter; dispid 102;
procedure DoAlter; dispid 103;
procedure CancelAlter; dispid 104;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant):
WideString; dispid 106;
function EnumJobInfo: QueryResults; dispid 107;
procedure ReInitialize; dispid 108;
end;
// *********************************************************************//
// Interface: MergePullSubscriptions
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10031103-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
MergePullSubscriptions = interface(_IVSQLDMOStdObject)
['{10031103-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Item(Index: OleVariant): MergePullSubscription; safecall;
function Get__NewEnum: IUnknown; safecall;
function Get_Count: Integer; safecall;
procedure Add(const Object_: MergePullSubscription); safecall;
procedure Remove(Index: OleVariant); safecall;
procedure Refresh(ReleaseMemberObjects: OleVariant); safecall;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant):
WideString; safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property _NewEnum: IUnknown read Get__NewEnum;
property Count: Integer read Get_Count;
end;
// *********************************************************************//
// DispIntf: MergePullSubscriptionsDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10031103-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
MergePullSubscriptionsDisp = dispinterface
['{10031103-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
function Item(Index: OleVariant): MergePullSubscription; dispid 0;
property _NewEnum: IUnknown readonly dispid -4;
property Count: Integer readonly dispid 5;
procedure Add(const Object_: MergePullSubscription); dispid 100;
procedure Remove(Index: OleVariant); dispid 101;
procedure Refresh(ReleaseMemberObjects: OleVariant); dispid 102;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant):
WideString; dispid 103;
end;
// *********************************************************************//
// Interface: _MergePullSubscription
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10031106-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_MergePullSubscription = interface(_IVSQLDMOStdObject)
['{10031106-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_Name: WideString; safecall;
function Get_Publisher: WideString; safecall;
procedure Set_Publisher(const pRetVal: WideString); safecall;
function Get_PublicationDB: WideString; safecall;
procedure Set_PublicationDB(const pRetVal: WideString); safecall;
function Get_Publication: WideString; safecall;
procedure Set_Publication(const pRetVal: WideString); safecall;
function Get_Description: WideString; safecall;
procedure Set_Description(const pRetVal: WideString); safecall;
function Get_SubscriptionType: SQLDMO_SUBSCRIPTION_TYPE; safecall;
procedure Set_SubscriptionType(pRetVal: SQLDMO_SUBSCRIPTION_TYPE);
safecall;
function Get_SubscriberType: SQLDMO_MERGESUBSCRIBER_TYPE; safecall;
procedure Set_SubscriberType(pRetVal: SQLDMO_MERGESUBSCRIBER_TYPE);
safecall;
function Get_Distributor: WideString; safecall;
procedure Set_Distributor(const pRetVal: WideString); safecall;
function Get_PublisherSecurity: ReplicationSecurity; safecall;
function Get_DistributorSecurity: ReplicationSecurity; safecall;
procedure Set_SubscriberSecurityMode(Param1: SQLDMO_SECURITY_TYPE);
safecall;
procedure Set_SubscriberLogin(const Param1: WideString); safecall;
procedure Set_SubscriberPassword(const Param1: WideString); safecall;
function Get_MergeSchedule: Schedule; safecall;
function Get_MergeJobID: WideString; safecall;
function Get_SyncType: SQLDMO_SUBSYNC_TYPE; safecall;
procedure Set_SyncType(pRetVal: SQLDMO_SUBSYNC_TYPE); safecall;
function Get_Priority: Single; safecall;
procedure Set_Priority(pRetVal: Single); safecall;
procedure Remove; safecall;
procedure BeginAlter; safecall;
procedure DoAlter; safecall;
procedure CancelAlter; safecall;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant):
WideString; safecall;
function EnumJobInfo: QueryResults; safecall;
procedure ReInitialize; safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property Name: WideString read Get_Name;
property Publisher: WideString read Get_Publisher write Set_Publisher;
property PublicationDB: WideString read Get_PublicationDB write
Set_PublicationDB;
property Publication: WideString read Get_Publication write
Set_Publication;
property Description: WideString read Get_Description write
Set_Description;
property SubscriptionType: SQLDMO_SUBSCRIPTION_TYPE read
Get_SubscriptionType write Set_SubscriptionType;
property SubscriberType: SQLDMO_MERGESUBSCRIBER_TYPE read
Get_SubscriberType write Set_SubscriberType;
property Distributor: WideString read Get_Distributor write
Set_Distributor;
property PublisherSecurity: ReplicationSecurity read
Get_PublisherSecurity;
property DistributorSecurity: ReplicationSecurity read
Get_DistributorSecurity;
property SubscriberSecurityMode: SQLDMO_SECURITY_TYPE write
Set_SubscriberSecurityMode;
property SubscriberLogin: WideString write Set_SubscriberLogin;
property SubscriberPassword: WideString write Set_SubscriberPassword;
property MergeSchedule: Schedule read Get_MergeSchedule;
property MergeJobID: WideString read Get_MergeJobID;
property SyncType: SQLDMO_SUBSYNC_TYPE read Get_SyncType write
Set_SyncType;
property Priority: Single read Get_Priority write Set_Priority;
end;
// *********************************************************************//
// DispIntf: _MergePullSubscriptionDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10031106-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_MergePullSubscriptionDisp = dispinterface
['{10031106-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property Name: WideString readonly dispid 9;
property Publisher: WideString dispid 10;
property PublicationDB: WideString dispid 11;
property Publication: WideString dispid 12;
property Description: WideString dispid 13;
property SubscriptionType: SQLDMO_SUBSCRIPTION_TYPE dispid 14;
property SubscriberType: SQLDMO_MERGESUBSCRIBER_TYPE dispid 15;
property Distributor: WideString dispid 16;
property PublisherSecurity: ReplicationSecurity readonly dispid 17;
property DistributorSecurity: ReplicationSecurity readonly dispid 18;
property SubscriberSecurityMode: SQLDMO_SECURITY_TYPE writeonly dispid
19;
property SubscriberLogin: WideString writeonly dispid 20;
property SubscriberPassword: WideString writeonly dispid 21;
property MergeSchedule: Schedule readonly dispid 22;
property MergeJobID: WideString readonly dispid 23;
property SyncType: SQLDMO_SUBSYNC_TYPE dispid 24;
property Priority: Single dispid 25;
procedure Remove; dispid 100;
procedure BeginAlter; dispid 102;
procedure DoAlter; dispid 103;
procedure CancelAlter; dispid 104;
function Script(ScriptType: OleVariant; ScriptFilePath: OleVariant):
WideString; dispid 106;
function EnumJobInfo: QueryResults; dispid 107;
procedure ReInitialize; dispid 108;
end;
// *********************************************************************//
// Interface: ServerRoles
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10022F03-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
ServerRoles = interface(_IVSQLDMOStdObject)
['{10022F03-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Item(ItemIndex: OleVariant): ServerRole; safecall;
function Get__NewEnum: IUnknown; safecall;
function Get_Count: Integer; safecall;
procedure Refresh(ReleaseMemberObjects: OleVariant); safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property _NewEnum: IUnknown read Get__NewEnum;
property Count: Integer read Get_Count;
end;
// *********************************************************************//
// DispIntf: ServerRolesDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10022F03-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
ServerRolesDisp = dispinterface
['{10022F03-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
function Item(ItemIndex: OleVariant): ServerRole; dispid 0;
property _NewEnum: IUnknown readonly dispid -4;
property Count: Integer readonly dispid 5;
procedure Refresh(ReleaseMemberObjects: OleVariant); dispid 102;
end;
// *********************************************************************//
// Interface: _ServerRole
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10022F06-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_ServerRole = interface(_IVSQLDMOStdObject)
['{10022F06-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_Name: WideString; safecall;
function Get_FullName: WideString; safecall;
function Get_Description: WideString; safecall;
function EnumServerRolePermission: QueryResults; safecall;
function EnumServerRoleMember: QueryResults; safecall;
procedure AddMember(const LoginName: WideString); safecall;
procedure DropMember(const LoginName: WideString); safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property Name: WideString read Get_Name;
property FullName: WideString read Get_FullName;
property Description: WideString read Get_Description;
end;
// *********************************************************************//
// DispIntf: _ServerRoleDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10022F06-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_ServerRoleDisp = dispinterface
['{10022F06-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property Name: WideString readonly dispid 9;
property FullName: WideString readonly dispid 10;
property Description: WideString readonly dispid 11;
function EnumServerRolePermission: QueryResults; dispid 100;
function EnumServerRoleMember: QueryResults; dispid 101;
procedure AddMember(const LoginName: WideString); dispid 102;
procedure DropMember(const LoginName: WideString); dispid 103;
end;
// *********************************************************************//
// Interface: LinkedServers
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10023303-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
LinkedServers = interface(_IVSQLDMOStdObject)
['{10023303-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Item(Index: OleVariant): LinkedServer; safecall;
function Get__NewEnum: IUnknown; safecall;
function Get_Count: Integer; safecall;
procedure Add(const Object_: LinkedServer); safecall;
procedure Remove(Index: OleVariant); safecall;
procedure Refresh(ReleaseMemberObjects: OleVariant); safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property _NewEnum: IUnknown read Get__NewEnum;
property Count: Integer read Get_Count;
end;
// *********************************************************************//
// DispIntf: LinkedServersDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10023303-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
LinkedServersDisp = dispinterface
['{10023303-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
function Item(Index: OleVariant): LinkedServer; dispid 0;
property _NewEnum: IUnknown readonly dispid -4;
property Count: Integer readonly dispid 5;
procedure Add(const Object_: LinkedServer); dispid 100;
procedure Remove(Index: OleVariant); dispid 101;
procedure Refresh(ReleaseMemberObjects: OleVariant); dispid 102;
end;
// *********************************************************************//
// Interface: _LinkedServer
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10023306-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_LinkedServer = interface(_IVSQLDMOStdObject)
['{10023306-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_Name: WideString; safecall;
procedure Set_Name(const pRetVal: WideString); safecall;
function Get_ProductName: WideString; safecall;
procedure Set_ProductName(const pRetVal: WideString); safecall;
function Get_LinkedServerLogins: LinkedServerLogins; safecall;
function Get_ProviderName: WideString; safecall;
procedure Set_ProviderName(const pRetVal: WideString); safecall;
function Get_DataSource: WideString; safecall;
procedure Set_DataSource(const pRetVal: WideString); safecall;
function Get_Location: WideString; safecall;
procedure Set_Location(const pRetVal: WideString); safecall;
function Get_ProviderString: WideString; safecall;
procedure Set_ProviderString(const pRetVal: WideString); safecall;
function Get_Options: SQLDMO_SRVOPTION_TYPE; safecall;
procedure Remove; safecall;
procedure ExecuteImmediate(const Command: WideString; Length:
OleVariant); safecall;
function ExecuteWithResults(const Command: WideString; Length:
OleVariant): QueryResults; safecall;
function ExecuteWithResultsAndMessages(const Command: WideString;
Length: OleVariant;
out Messages: WideString):
QueryResults; safecall;
procedure SetOptions(Options: SQLDMO_SRVOPTION_TYPE; Setting: WordBool);
safecall;
function Get_Catalog: WideString; safecall;
procedure Set_Catalog(const pRetVal: WideString); safecall;
function EnumTables(TableName: OleVariant; SchemaName: OleVariant;
CatalogName: OleVariant;
TableType: OleVariant): QueryResults; safecall;
function EnumColumns(TableName: OleVariant; SchemaName: OleVariant;
CatalogName: OleVariant;
ColumnName: OleVariant): QueryResults; safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property Name: WideString read Get_Name write Set_Name;
property ProductName: WideString read Get_ProductName write
Set_ProductName;
property LinkedServerLogins: LinkedServerLogins read
Get_LinkedServerLogins;
property ProviderName: WideString read Get_ProviderName write
Set_ProviderName;
property DataSource: WideString read Get_DataSource write
Set_DataSource;
property Location: WideString read Get_Location write Set_Location;
property ProviderString: WideString read Get_ProviderString write
Set_ProviderString;
property Options: SQLDMO_SRVOPTION_TYPE read Get_Options;
property Catalog: WideString read Get_Catalog write Set_Catalog;
end;
// *********************************************************************//
// DispIntf: _LinkedServerDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10023306-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_LinkedServerDisp = dispinterface
['{10023306-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property Name: WideString dispid 9;
property ProductName: WideString dispid 11;
property LinkedServerLogins: LinkedServerLogins readonly dispid 12;
property ProviderName: WideString dispid 13;
property DataSource: WideString dispid 14;
property Location: WideString dispid 15;
property ProviderString: WideString dispid 16;
property Options: SQLDMO_SRVOPTION_TYPE readonly dispid 17;
procedure Remove; dispid 100;
procedure ExecuteImmediate(const Command: WideString; Length:
OleVariant); dispid 101;
function ExecuteWithResults(const Command: WideString; Length:
OleVariant): QueryResults; dispid 102;
function ExecuteWithResultsAndMessages(const Command: WideString;
Length: OleVariant;
out Messages: WideString):
QueryResults; dispid 103;
procedure SetOptions(Options: SQLDMO_SRVOPTION_TYPE; Setting: WordBool);
dispid 104;
property Catalog: WideString dispid 18;
function EnumTables(TableName: OleVariant; SchemaName: OleVariant;
CatalogName: OleVariant;
TableType: OleVariant): QueryResults; dispid 105;
function EnumColumns(TableName: OleVariant; SchemaName: OleVariant;
CatalogName: OleVariant;
ColumnName: OleVariant): QueryResults; dispid 106;
end;
// *********************************************************************//
// Interface: LinkedServerLogins
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10023403-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
LinkedServerLogins = interface(_IVSQLDMOStdObject)
['{10023403-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Item(Index: OleVariant): LinkedServerLogin; safecall;
function Get__NewEnum: IUnknown; safecall;
function Get_Count: Integer; safecall;
procedure Add(const Object_: LinkedServerLogin); safecall;
procedure Remove(Index: OleVariant); safecall;
procedure Refresh(ReleaseMemberObjects: OleVariant); safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property _NewEnum: IUnknown read Get__NewEnum;
property Count: Integer read Get_Count;
end;
// *********************************************************************//
// DispIntf: LinkedServerLoginsDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10023403-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
LinkedServerLoginsDisp = dispinterface
['{10023403-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
function Item(Index: OleVariant): LinkedServerLogin; dispid 0;
property _NewEnum: IUnknown readonly dispid -4;
property Count: Integer readonly dispid 5;
procedure Add(const Object_: LinkedServerLogin); dispid 100;
procedure Remove(Index: OleVariant); dispid 101;
procedure Refresh(ReleaseMemberObjects: OleVariant); dispid 102;
end;
// *********************************************************************//
// Interface: _LinkedServerLogin
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10023406-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_LinkedServerLogin = interface(_IVSQLDMOStdObject)
['{10023406-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_LocalLogin: WideString; safecall;
procedure Set_LocalLogin(const pRetVal: WideString); safecall;
function Get_RemoteUser: WideString; safecall;
procedure Set_RemoteUser(const pRetVal: WideString); safecall;
procedure Set_RemotePassword(const Param1: WideString); safecall;
function Get_Impersonate: WordBool; safecall;
procedure Set_Impersonate(pRetVal: WordBool); safecall;
procedure Remove; safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property LocalLogin: WideString read Get_LocalLogin write
Set_LocalLogin;
property RemoteUser: WideString read Get_RemoteUser write
Set_RemoteUser;
property RemotePassword: WideString write Set_RemotePassword;
property Impersonate: WordBool read Get_Impersonate write
Set_Impersonate;
end;
// *********************************************************************//
// DispIntf: _LinkedServerLoginDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10023406-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_LinkedServerLoginDisp = dispinterface
['{10023406-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property LocalLogin: WideString dispid 11;
property RemoteUser: WideString dispid 12;
property RemotePassword: WideString writeonly dispid 13;
property Impersonate: WordBool dispid 14;
procedure Remove; dispid 100;
end;
// *********************************************************************//
// Interface: FullTextService
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10023606-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
FullTextService = interface(_IVSQLDMOStdObject)
['{10023606-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_Status: SQLDMO_SVCSTATUS_TYPE; safecall;
function Get_DefaultPath: WideString; safecall;
function Get_ResourceUsage: Integer; safecall;
procedure Set_ResourceUsage(pRetVal: Integer); safecall;
function Get_ConnectTimeout: Integer; safecall;
procedure Set_ConnectTimeout(pRetVal: Integer); safecall;
function Get_IsFullTextInstalled: WordBool; safecall;
procedure Start; safecall;
procedure Stop; safecall;
procedure CleanUp; safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property Status: SQLDMO_SVCSTATUS_TYPE read Get_Status;
property DefaultPath: WideString read Get_DefaultPath;
property ResourceUsage: Integer read Get_ResourceUsage write
Set_ResourceUsage;
property ConnectTimeout: Integer read Get_ConnectTimeout write
Set_ConnectTimeout;
property IsFullTextInstalled: WordBool read Get_IsFullTextInstalled;
end;
// *********************************************************************//
// DispIntf: FullTextServiceDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10023606-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
FullTextServiceDisp = dispinterface
['{10023606-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property Status: SQLDMO_SVCSTATUS_TYPE readonly dispid 9;
property DefaultPath: WideString readonly dispid 10;
property ResourceUsage: Integer dispid 11;
property ConnectTimeout: Integer dispid 12;
property IsFullTextInstalled: WordBool readonly dispid 13;
procedure Start; dispid 100;
procedure Stop; dispid 101;
procedure CleanUp; dispid 102;
end;
// *********************************************************************//
// Interface: ServerGroups
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10021803-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
ServerGroups = interface(_IVSQLDMOStdObject)
['{10021803-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Item(ItemIndex: OleVariant): ServerGroup; safecall;
function Get__NewEnum: IUnknown; safecall;
function Get_Count: Integer; safecall;
procedure Add(const Object_: ServerGroup); safecall;
procedure Remove(Index: OleVariant); safecall;
procedure Refresh(ReleaseMemberObjects: OleVariant); safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property _NewEnum: IUnknown read Get__NewEnum;
property Count: Integer read Get_Count;
end;
// *********************************************************************//
// DispIntf: ServerGroupsDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10021803-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
ServerGroupsDisp = dispinterface
['{10021803-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
function Item(ItemIndex: OleVariant): ServerGroup; dispid 0;
property _NewEnum: IUnknown readonly dispid -4;
property Count: Integer readonly dispid 5;
procedure Add(const Object_: ServerGroup); dispid 100;
procedure Remove(Index: OleVariant); dispid 101;
procedure Refresh(ReleaseMemberObjects: OleVariant); dispid 102;
end;
// *********************************************************************//
// Interface: _ServerGroup
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10021806-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_ServerGroup = interface(_IVSQLDMOStdObject)
['{10021806-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_RegisteredServers: RegisteredServers; safecall;
function Get_Properties: Properties; safecall;
function Get_Name: WideString; safecall;
procedure Set_Name(const pRetVal: WideString); safecall;
function Get_ServerGroups: ServerGroups; safecall;
procedure Remove; safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property RegisteredServers: RegisteredServers read
Get_RegisteredServers;
property Properties: Properties read Get_Properties;
property Name: WideString read Get_Name write Set_Name;
property ServerGroups: ServerGroups read Get_ServerGroups;
end;
// *********************************************************************//
// DispIntf: _ServerGroupDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10021806-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_ServerGroupDisp = dispinterface
['{10021806-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property RegisteredServers: RegisteredServers readonly dispid 0;
property Properties: Properties readonly dispid 7;
property Name: WideString dispid 9;
property ServerGroups: ServerGroups readonly dispid 16;
procedure Remove; dispid 100;
end;
// *********************************************************************//
// Interface: RegisteredServers
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10021903-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
RegisteredServers = interface(_IVSQLDMOStdObject)
['{10021903-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Item(ItemIndex: OleVariant): RegisteredServer; safecall;
function Get__NewEnum: IUnknown; safecall;
function Get_Count: Integer; safecall;
procedure Add(const Object_: RegisteredServer); safecall;
procedure Remove(Index: OleVariant); safecall;
procedure Refresh(ReleaseMemberObjects: OleVariant); safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property _NewEnum: IUnknown read Get__NewEnum;
property Count: Integer read Get_Count;
end;
// *********************************************************************//
// DispIntf: RegisteredServersDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10021903-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
RegisteredServersDisp = dispinterface
['{10021903-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
function Item(ItemIndex: OleVariant): RegisteredServer; dispid 0;
property _NewEnum: IUnknown readonly dispid -4;
property Count: Integer readonly dispid 5;
procedure Add(const Object_: RegisteredServer); dispid 100;
procedure Remove(Index: OleVariant); dispid 101;
procedure Refresh(ReleaseMemberObjects: OleVariant); dispid 102;
end;
// *********************************************************************//
// Interface: _RegisteredServer
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10021906-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_RegisteredServer = interface(_IVSQLDMOStdObject)
['{10021906-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_Name: WideString; safecall;
procedure Set_Name(const pRetVal: WideString); safecall;
function Get_Login: WideString; safecall;
procedure Set_Login(const pRetVal: WideString); safecall;
function Get_Password: WideString; safecall;
procedure Set_Password(const pRetVal: WideString); safecall;
function Get_UseTrustedConnection: Integer; safecall;
procedure Set_UseTrustedConnection(pRetVal: Integer); safecall;
function Get_VersionMajor: Integer; safecall;
function Get_VersionMinor: Integer; safecall;
function Get_SaLogin: WordBool; safecall;
function Get_PersistFlags: Integer; safecall;
procedure Set_PersistFlags(pRetVal: Integer); safecall;
procedure Remove; safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property Name: WideString read Get_Name write Set_Name;
property Login: WideString read Get_Login write Set_Login;
property Password: WideString read Get_Password write Set_Password;
property UseTrustedConnection: Integer read Get_UseTrustedConnection
write Set_UseTrustedConnection;
property VersionMajor: Integer read Get_VersionMajor;
property VersionMinor: Integer read Get_VersionMinor;
property SaLogin: WordBool read Get_SaLogin;
property PersistFlags: Integer read Get_PersistFlags write
Set_PersistFlags;
end;
// *********************************************************************//
// DispIntf: _RegisteredServerDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10021906-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_RegisteredServerDisp = dispinterface
['{10021906-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property Name: WideString dispid 9;
property Login: WideString dispid 10;
property Password: WideString dispid 11;
property UseTrustedConnection: Integer dispid 12;
property VersionMajor: Integer readonly dispid 13;
property VersionMinor: Integer readonly dispid 14;
property SaLogin: WordBool readonly dispid 15;
property PersistFlags: Integer dispid 16;
procedure Remove; dispid 100;
end;
// *********************************************************************//
// Interface: Permission
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10022906-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
Permission = interface(_IVSQLDMOStdObject)
['{10022906-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_PrivilegeTypeName: WideString; safecall;
function Get_PrivilegeType: SQLDMO_PRIVILEGE_TYPE; safecall;
function Get_ObjectName: WideString; safecall;
function Get_ObjectOwner: WideString; safecall;
function Get_ObjectTypeName: WideString; safecall;
function Get_ObjectType: SQLDMO_OBJECT_TYPE; safecall;
function Get_ObjectID: Integer; safecall;
function Get_Grantee: WideString; safecall;
function Get_Granted: WordBool; safecall;
function ListPrivilegeColumns: SQLObjectList; safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property PrivilegeTypeName: WideString read Get_PrivilegeTypeName;
property PrivilegeType: SQLDMO_PRIVILEGE_TYPE read Get_PrivilegeType;
property ObjectName: WideString read Get_ObjectName;
property ObjectOwner: WideString read Get_ObjectOwner;
property ObjectTypeName: WideString read Get_ObjectTypeName;
property ObjectType: SQLDMO_OBJECT_TYPE read Get_ObjectType;
property ObjectID: Integer read Get_ObjectID;
property Grantee: WideString read Get_Grantee;
property Granted: WordBool read Get_Granted;
end;
// *********************************************************************//
// DispIntf: PermissionDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10022906-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
PermissionDisp = dispinterface
['{10022906-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property PrivilegeTypeName: WideString readonly dispid 12;
property PrivilegeType: SQLDMO_PRIVILEGE_TYPE readonly dispid 13;
property ObjectName: WideString readonly dispid 14;
property ObjectOwner: WideString readonly dispid 15;
property ObjectTypeName: WideString readonly dispid 16;
property ObjectType: SQLDMO_OBJECT_TYPE readonly dispid 17;
property ObjectID: Integer readonly dispid 18;
property Grantee: WideString readonly dispid 19;
property Granted: WordBool readonly dispid 20;
function ListPrivilegeColumns: SQLObjectList; dispid 100;
end;
// *********************************************************************//
// Interface: _Restore
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10023203-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_Restore = interface(_IVSQLDMOStdObject)
['{10023203-E260-11CF-AE68-00AA004A34D5}']
function Get_Application_: Application_; safecall;
function Get_Parent: _IVSQLDMOStdObject; safecall;
function Get_UserData: Integer; safecall;
procedure Set_UserData(pRetVal: Integer); safecall;
function Get_TypeOf: SQLDMO_OBJECT_TYPE; safecall;
function Get_Properties: Properties; safecall;
function Get_PercentCompleteNotification: Integer; safecall;
procedure Set_PercentCompleteNotification(pRetVal: Integer); safecall;
function Get_UnloadTapeAfter: WordBool; safecall;
procedure Set_UnloadTapeAfter(pRetVal: WordBool); safecall;
function Get_Database: WideString; safecall;
procedure Set_Database(const pRetVal: WideString); safecall;
function Get_Devices: WideString; safecall;
procedure Set_Devices(const pRetVal: WideString); safecall;
function Get_Files: WideString; safecall;
procedure Set_Files(const pRetVal: WideString); safecall;
function Get_Tapes: WideString; safecall;
procedure Set_Tapes(const pRetVal: WideString); safecall;
function Get_Pipes: WideString; safecall;
procedure Set_Pipes(const pRetVal: WideString); safecall;
function Get_DatabaseFileGroups: WideString; safecall;
procedure Set_DatabaseFileGroups(const pRetVal: WideString); safecall;
function Get_DatabaseFiles: WideString; safecall;
procedure Set_DatabaseFiles(const pRetVal: WideString); safecall;
function Get_Action: SQLDMO_RESTORE_TYPE; safecall;
procedure Set_Action(pRetVal: SQLDMO_RESTORE_TYPE); safecall;
function Get_BackupSetName: WideString; safecall;
procedure Set_BackupSetName(const pRetVal: WideString); safecall;
function Get_RelocateFiles: WideString; safecall;
procedure Set_RelocateFiles(const pRetVal: WideString); safecall;
function Get_ReplaceDatabase: WordBool; safecall;
procedure Set_ReplaceDatabase(pRetVal: WordBool); safecall;
function Get_LastRestore: WordBool; safecall;
procedure Set_LastRestore(pRetVal: WordBool); safecall;
function Get_Restart: WordBool; safecall;
procedure Set_Restart(pRetVal: WordBool); safecall;
function Get_MediaName: WideString; safecall;
procedure Set_MediaName(const pRetVal: WideString); safecall;
function Get_LoadHistory: WordBool; safecall;
procedure Set_LoadHistory(pRetVal: WordBool); safecall;
function Get_FileNumber: Integer; safecall;
procedure Set_FileNumber(pRetVal: Integer); safecall;
function Get_ToPointInTime: WideString; safecall;
procedure Set_ToPointInTime(const pRetVal: WideString); safecall;
function Get_StandbyFiles: WideString; safecall;
procedure Set_StandbyFiles(const pRetVal: WideString); safecall;
procedure Abort; safecall;
procedure SQLRestore(const ServerObject: SQLServer); safecall;
procedure SQLVerify(const ServerObject: SQLServer); safecall;
function GenerateSQL: WideString; safecall;
function ReadBackupHeader(const ServerObject: SQLServer): QueryResults;
safecall;
function ReadFileList(const ServerObject: SQLServer): QueryResults;
safecall;
function ReadMediaHeader(const ServerObject: SQLServer): QueryResults;
safecall;
property Application_: Application_ read Get_Application_;
property Parent: _IVSQLDMOStdObject read Get_Parent;
property UserData: Integer read Get_UserData write Set_UserData;
property TypeOf: SQLDMO_OBJECT_TYPE read Get_TypeOf;
property Properties: Properties read Get_Properties;
property PercentCompleteNotification: Integer read
Get_PercentCompleteNotification write Set_PercentCompleteNotification;
property UnloadTapeAfter: WordBool read Get_UnloadTapeAfter write
Set_UnloadTapeAfter;
property Database: WideString read Get_Database write Set_Database;
property Devices: WideString read Get_Devices write Set_Devices;
property Files: WideString read Get_Files write Set_Files;
property Tapes: WideString read Get_Tapes write Set_Tapes;
property Pipes: WideString read Get_Pipes write Set_Pipes;
property DatabaseFileGroups: WideString read Get_DatabaseFileGroups
write Set_DatabaseFileGroups;
property DatabaseFiles: WideString read Get_DatabaseFiles write
Set_DatabaseFiles;
property Action: SQLDMO_RESTORE_TYPE read Get_Action write Set_Action;
property BackupSetName: WideString read Get_BackupSetName write
Set_BackupSetName;
property RelocateFiles: WideString read Get_RelocateFiles write
Set_RelocateFiles;
property ReplaceDatabase: WordBool read Get_ReplaceDatabase write
Set_ReplaceDatabase;
property LastRestore: WordBool read Get_LastRestore write
Set_LastRestore;
property Restart: WordBool read Get_Restart write Set_Restart;
property MediaName: WideString read Get_MediaName write Set_MediaName;
property LoadHistory: WordBool read Get_LoadHistory write
Set_LoadHistory;
property FileNumber: Integer read Get_FileNumber write Set_FileNumber;
property ToPointInTime: WideString read Get_ToPointInTime write
Set_ToPointInTime;
property StandbyFiles: WideString read Get_StandbyFiles write
Set_StandbyFiles;
end;
// *********************************************************************//
// DispIntf: _RestoreDisp
// Flags: (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID: {10023203-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
_RestoreDisp = dispinterface
['{10023203-E260-11CF-AE68-00AA004A34D5}']
property Application_: Application_ readonly dispid 1;
property Parent: _IVSQLDMOStdObject readonly dispid 2;
property UserData: Integer dispid 3;
property TypeOf: SQLDMO_OBJECT_TYPE readonly dispid 4;
property Properties: Properties readonly dispid 7;
property PercentCompleteNotification: Integer dispid 9;
property UnloadTapeAfter: WordBool dispid 10;
property Database: WideString dispid 11;
property Devices: WideString dispid 12;
property Files: WideString dispid 13;
property Tapes: WideString dispid 14;
property Pipes: WideString dispid 15;
property DatabaseFileGroups: WideString dispid 16;
property DatabaseFiles: WideString dispid 17;
property Action: SQLDMO_RESTORE_TYPE dispid 18;
property BackupSetName: WideString dispid 19;
property RelocateFiles: WideString dispid 20;
property ReplaceDatabase: WordBool dispid 21;
property LastRestore: WordBool dispid 22;
property Restart: WordBool dispid 23;
property MediaName: WideString dispid 24;
property LoadHistory: WordBool dispid 25;
property FileNumber: Integer dispid 26;
property ToPointInTime: WideString dispid 27;
property StandbyFiles: WideString dispid 28;
procedure Abort; dispid 100;
procedure SQLRestore(const ServerObject: SQLServer); dispid 101;
procedure SQLVerify(const ServerObject: SQLServer); dispid 102;
function GenerateSQL: WideString; dispid 103;
function ReadBackupHeader(const ServerObject: SQLServer): QueryResults;
dispid 104;
function ReadFileList(const ServerObject: SQLServer): QueryResults;
dispid 105;
function ReadMediaHeader(const ServerObject: SQLServer): QueryResults;
dispid 106;
end;
// *********************************************************************//
// Interface: RestoreSink
// Flags: (256) OleAutomation
// GUID: {10023206-E260-11CF-AE68-00AA004A34D5}
// *********************************************************************//
RestoreSink = interface(IUnknown)
['{10023206-E260-11CF-AE68-00AA004A34D5}']
function PercentComplete(const Message: WideString; Percent: Integer):
HResult; stdcall;
function NextMedia(const Message: WideString): HResult; stdcall;
function Complete(const Message: WideString): HResult; stdcall;
end;
CoApplication_ = class
class function Create: _Application;
class function CreateRemote(const MachineName: string): _Application;
end;
CoDatabase = class
class function Create: _Database;
class function CreateRemote(const MachineName: string): _Database;
end;
CoTable = class
class function Create: _Table;
class function CreateRemote(const MachineName: string): _Table;
end;
CoColumn = class
class function Create: _Column;
class function CreateRemote(const MachineName: string): _Column;
end;
CoKey = class
class function Create: _Key;
class function CreateRemote(const MachineName: string): _Key;
end;
CoIndex = class
class function Create: _Index;
class function CreateRemote(const MachineName: string): _Index;
end;
CoTrigger = class
class function Create: _Trigger;
class function CreateRemote(const MachineName: string): _Trigger;
end;
CoCheck = class
class function Create: _Check;
class function CreateRemote(const MachineName: string): _Check;
end;
CoBulkCopy = class
class function Create: _BulkCopy;
class function CreateRemote(const MachineName: string): _BulkCopy;
end;
CoView = class
class function Create: _View;
class function CreateRemote(const MachineName: string): _View;
end;
CoStoredProcedure = class
class function Create: _StoredProcedure;
class function CreateRemote(const MachineName: string):
_StoredProcedure;
end;
CoDefault = class
class function Create: _Default;
class function CreateRemote(const MachineName: string): _Default;
end;
CoRule = class
class function Create: _Rule;
class function CreateRemote(const MachineName: string): _Rule;
end;
CoUserDefinedDatatype = class
class function Create: _UserDefinedDatatype;
class function CreateRemote(const MachineName: string):
_UserDefinedDatatype;
end;
CoUser = class
class function Create: _User;
class function CreateRemote(const MachineName: string): _User;
end;
CoGroup = class
class function Create: _Group;
class function CreateRemote(const MachineName: string): _Group;
end;
CoLogFile = class
class function Create: _LogFile;
class function CreateRemote(const MachineName: string): _LogFile;
end;
CoTransfer = class
class function Create: _Transfer;
class function CreateRemote(const MachineName: string): _Transfer;
end;
CoFileGroup = class
class function Create: _FileGroup;
class function CreateRemote(const MachineName: string): _FileGroup;
end;
CoDBFile = class
class function Create: _DBFile;
class function CreateRemote(const MachineName: string): _DBFile;
end;
CoDatabaseRole = class
class function Create: _DatabaseRole;
class function CreateRemote(const MachineName: string): _DatabaseRole;
end;
CoFullTextCatalog = class
class function Create: _FullTextCatalog;
class function CreateRemote(const MachineName: string):
_FullTextCatalog;
end;
CoBackupDevice = class
class function Create: _BackupDevice;
class function CreateRemote(const MachineName: string): _BackupDevice;
end;
CoLanguage = class
class function Create: _Language;
class function CreateRemote(const MachineName: string): _Language;
end;
CoRemoteServer = class
class function Create: _RemoteServer;
class function CreateRemote(const MachineName: string): _RemoteServer;
end;
CoRemoteLogin = class
class function Create: _RemoteLogin;
class function CreateRemote(const MachineName: string): _RemoteLogin;
end;
CoLogin = class
class function Create: _Login;
class function CreateRemote(const MachineName: string): _Login;
end;
CoOperator = class
class function Create: _Operator;
class function CreateRemote(const MachineName: string): _Operator;
end;
CoAlert = class
class function Create: _Alert;
class function CreateRemote(const MachineName: string): _Alert;
end;
CoJob = class
class function Create: _Job;
class function CreateRemote(const MachineName: string): _Job;
end;
CoJobStep = class
class function Create: _JobStep;
class function CreateRemote(const MachineName: string): _JobStep;
end;
CoJobSchedule = class
class function Create: _JobSchedule;
class function CreateRemote(const MachineName: string): _JobSchedule;
end;
CoTargetServer = class
class function Create: _TargetServer;
class function CreateRemote(const MachineName: string): _TargetServer;
end;
CoTargetServerGroup = class
class function Create: _TargetServerGroup;
class function CreateRemote(const MachineName: string):
_TargetServerGroup;
end;
CoCategory = class
class function Create: _Category;
class function CreateRemote(const MachineName: string): _Category;
end;
CoBackup = class
class function Create: _Backup;
class function CreateRemote(const MachineName: string): _Backup;
end;
CoRegisteredSubscriber = class
class function Create: _RegisteredSubscriber;
class function CreateRemote(const MachineName: string):
_RegisteredSubscriber;
end;
CoReplicationSecurity = class
class function Create: _ReplicationSecurity;
class function CreateRemote(const MachineName: string):
_ReplicationSecurity;
end;
CoDistributionPublisher = class
class function Create: _DistributionPublisher;
class function CreateRemote(const MachineName: string):
_DistributionPublisher;
end;
CoDistributionPublication = class
class function Create: _DistributionPublication;
class function CreateRemote(const MachineName: string):
_DistributionPublication;
end;
CoDistributionArticle = class
class function Create: _DistributionArticle;
class function CreateRemote(const MachineName: string):
_DistributionArticle;
end;
CoDistributionSubscription = class
class function Create: _DistributionSubscription;
class function CreateRemote(const MachineName: string):
_DistributionSubscription;
end;
CoDistributionDatabase = class
class function Create: _DistributionDatabase;
class function CreateRemote(const MachineName: string):
_DistributionDatabase;
end;
CoTransPublication = class
class function Create: _TransPublication;
class function CreateRemote(const MachineName: string):
_TransPublication;
end;
CoTransArticle = class
class function Create: _TransArticle;
class function CreateRemote(const MachineName: string): _TransArticle;
end;
CoTransSubscription = class
class function Create: _TransSubscription;
class function CreateRemote(const MachineName: string):
_TransSubscription;
end;
CoMergePublication = class
class function Create: _MergePublication;
class function CreateRemote(const MachineName: string):
_MergePublication;
end;
CoMergeArticle = class
class function Create: _MergeArticle;
class function CreateRemote(const MachineName: string): _MergeArticle;
end;
CoMergeSubsetFilter = class
class function Create: _MergeSubsetFilter;
class function CreateRemote(const MachineName: string):
_MergeSubsetFilter;
end;
CoMergeSubscription = class
class function Create: _MergeSubscription;
class function CreateRemote(const MachineName: string):
_MergeSubscription;
end;
CoTransPullSubscription = class
class function Create: _TransPullSubscription;
class function CreateRemote(const MachineName: string):
_TransPullSubscription;
end;
CoMergePullSubscription = class
class function Create: _MergePullSubscription;
class function CreateRemote(const MachineName: string):
_MergePullSubscription;
end;
CoReplication = class
class function Create: _Replication;
class function CreateRemote(const MachineName: string): _Replication;
end;
CoServerRole = class
class function Create: _ServerRole;
class function CreateRemote(const MachineName: string): _ServerRole;
end;
CoLinkedServer = class
class function Create: _LinkedServer;
class function CreateRemote(const MachineName: string): _LinkedServer;
end;
CoLinkedServerLogin = class
class function Create: _LinkedServerLogin;
class function CreateRemote(const MachineName: string):
_LinkedServerLogin;
end;
CoSQLServer = class
class function Create: _SQLServer;
class function CreateRemote(const MachineName: string): _SQLServer;
end;
CoServerGroup = class
class function Create: _ServerGroup;
class function CreateRemote(const MachineName: string): _ServerGroup;
end;
CoRegisteredServer = class
class function Create: _RegisteredServer;
class function CreateRemote(const MachineName: string):
_RegisteredServer;
end;
CoRestore = class
class function Create: _Restore;
class function CreateRemote(const MachineName: string): _Restore;
end;
implementation
uses ComObj;
class function CoApplication_.Create: _Application;
begin
Result := CreateComObject(CLASS_Application_) as _Application;
end;
class function CoApplication_.CreateRemote(const MachineName: string):
_Application;
begin
Result := CreateRemoteComObject(MachineName, CLASS_Application_) as
_Application;
end;
class function CoDatabase.Create: _Database;
begin
Result := CreateComObject(CLASS_Database) as _Database;
end;
class function CoDatabase.CreateRemote(const MachineName: string):
_Database;
begin
Result := CreateRemoteComObject(MachineName, CLASS_Database) as _Database;
end;
class function CoTable.Create: _Table;
begin
Result := CreateComObject(CLASS_Table) as _Table;
end;
class function CoTable.CreateRemote(const MachineName: string): _Table;
begin
Result := CreateRemoteComObject(MachineName, CLASS_Table) as _Table;
end;
class function CoColumn.Create: _Column;
begin
Result := CreateComObject(CLASS_Column) as _Column;
end;
class function CoColumn.CreateRemote(const MachineName: string): _Column;
begin
Result := CreateRemoteComObject(MachineName, CLASS_Column) as _Column;
end;
class function CoKey.Create: _Key;
begin
Result := CreateComObject(CLASS_Key) as _Key;
end;
class function CoKey.CreateRemote(const MachineName: string): _Key;
begin
Result := CreateRemoteComObject(MachineName, CLASS_Key) as _Key;
end;
class function CoIndex.Create: _Index;
begin
Result := CreateComObject(CLASS_Index) as _Index;
end;
class function CoIndex.CreateRemote(const MachineName: string): _Index;
begin
Result := CreateRemoteComObject(MachineName, CLASS_Index) as _Index;
end;
class function CoTrigger.Create: _Trigger;
begin
Result := CreateComObject(CLASS_Trigger) as _Trigger;
end;
class function CoTrigger.CreateRemote(const MachineName: string): _Trigger;
begin
Result := CreateRemoteComObject(MachineName, CLASS_Trigger) as _Trigger;
end;
class function CoCheck.Create: _Check;
begin
Result := CreateComObject(CLASS_Check) as _Check;
end;
class function CoCheck.CreateRemote(const MachineName: string): _Check;
begin
Result := CreateRemoteComObject(MachineName, CLASS_Check) as _Check;
end;
class function CoBulkCopy.Create: _BulkCopy;
begin
Result := CreateComObject(CLASS_BulkCopy) as _BulkCopy;
end;
class function CoBulkCopy.CreateRemote(const MachineName: string):
_BulkCopy;
begin
Result := CreateRemoteComObject(MachineName, CLASS_BulkCopy) as _BulkCopy;
end;
class function CoView.Create: _View;
begin
Result := CreateComObject(CLASS_View) as _View;
end;
class function CoView.CreateRemote(const MachineName: string): _View;
begin
Result := CreateRemoteComObject(MachineName, CLASS_View) as _View;
end;
class function CoStoredProcedure.Create: _StoredProcedure;
begin
Result := CreateComObject(CLASS_StoredProcedure) as _StoredProcedure;
end;
class function CoStoredProcedure.CreateRemote(const MachineName: string):
_StoredProcedure;
begin
Result := CreateRemoteComObject(MachineName, CLASS_StoredProcedure) as
_StoredProcedure;
end;
class function CoDefault.Create: _Default;
begin
Result := CreateComObject(CLASS_Default) as _Default;
end;
class function CoDefault.CreateRemote(const MachineName: string): _Default;
begin
Result := CreateRemoteComObject(MachineName, CLASS_Default) as _Default;
end;
class function CoRule.Create: _Rule;
begin
Result := CreateComObject(CLASS_Rule) as _Rule;
end;
class function CoRule.CreateRemote(const MachineName: string): _Rule;
begin
Result := CreateRemoteComObject(MachineName, CLASS_Rule) as _Rule;
end;
class function CoUserDefinedDatatype.Create: _UserDefinedDatatype;
begin
Result := CreateComObject(CLASS_UserDefinedDatatype) as
_UserDefinedDatatype;
end;
class function CoUserDefinedDatatype.CreateRemote(const MachineName:
string): _UserDefinedDatatype;
begin
Result := CreateRemoteComObject(MachineName, CLASS_UserDefinedDatatype) as
_UserDefinedDatatype;
end;
class function CoUser.Create: _User;
begin
Result := CreateComObject(CLASS_User) as _User;
end;
class function CoUser.CreateRemote(const MachineName: string): _User;
begin
Result := CreateRemoteComObject(MachineName, CLASS_User) as _User;
end;
class function CoGroup.Create: _Group;
begin
Result := CreateComObject(CLASS_Group) as _Group;
end;
class function CoGroup.CreateRemote(const MachineName: string): _Group;
begin
Result := CreateRemoteComObject(MachineName, CLASS_Group) as _Group;
end;
class function CoLogFile.Create: _LogFile;
begin
Result := CreateComObject(CLASS_LogFile) as _LogFile;
end;
class function CoLogFile.CreateRemote(const MachineName: string): _LogFile;
begin
Result := CreateRemoteComObject(MachineName, CLASS_LogFile) as _LogFile;
end;
class function CoTransfer.Create: _Transfer;
begin
Result := CreateComObject(CLASS_Transfer) as _Transfer;
end;
class function CoTransfer.CreateRemote(const MachineName: string):
_Transfer;
begin
Result := CreateRemoteComObject(MachineName, CLASS_Transfer) as _Transfer;
end;
class function CoFileGroup.Create: _FileGroup;
begin
Result := CreateComObject(CLASS_FileGroup) as _FileGroup;
end;
class function CoFileGroup.CreateRemote(const MachineName: string):
_FileGroup;
begin
Result := CreateRemoteComObject(MachineName, CLASS_FileGroup) as
_FileGroup;
end;
class function CoDBFile.Create: _DBFile;
begin
Result := CreateComObject(CLASS_DBFile) as _DBFile;
end;
class function CoDBFile.CreateRemote(const MachineName: string): _DBFile;
begin
Result := CreateRemoteComObject(MachineName, CLASS_DBFile) as _DBFile;
end;
class function CoDatabaseRole.Create: _DatabaseRole;
begin
Result := CreateComObject(CLASS_DatabaseRole) as _DatabaseRole;
end;
class function CoDatabaseRole.CreateRemote(const MachineName: string):
_DatabaseRole;
begin
Result := CreateRemoteComObject(MachineName, CLASS_DatabaseRole) as
_DatabaseRole;
end;
class function CoFullTextCatalog.Create: _FullTextCatalog;
begin
Result := CreateComObject(CLASS_FullTextCatalog) as _FullTextCatalog;
end;
class function CoFullTextCatalog.CreateRemote(const MachineName: string):
_FullTextCatalog;
begin
Result := CreateRemoteComObject(MachineName, CLASS_FullTextCatalog) as
_FullTextCatalog;
end;
class function CoBackupDevice.Create: _BackupDevice;
begin
Result := CreateComObject(CLASS_BackupDevice) as _BackupDevice;
end;
class function CoBackupDevice.CreateRemote(const MachineName: string):
_BackupDevice;
begin
Result := CreateRemoteComObject(MachineName, CLASS_BackupDevice) as
_BackupDevice;
end;
class function CoLanguage.Create: _Language;
begin
Result := CreateComObject(CLASS_Language) as _Language;
end;
class function CoLanguage.CreateRemote(const MachineName: string):
_Language;
begin
Result := CreateRemoteComObject(MachineName, CLASS_Language) as _Language;
end;
class function CoRemoteServer.Create: _RemoteServer;
begin
Result := CreateComObject(CLASS_RemoteServer) as _RemoteServer;
end;
class function CoRemoteServer.CreateRemote(const MachineName: string):
_RemoteServer;
begin
Result := CreateRemoteComObject(MachineName, CLASS_RemoteServer) as
_RemoteServer;
end;
class function CoRemoteLogin.Create: _RemoteLogin;
begin
Result := CreateComObject(CLASS_RemoteLogin) as _RemoteLogin;
end;
class function CoRemoteLogin.CreateRemote(const MachineName: string):
_RemoteLogin;
begin
Result := CreateRemoteComObject(MachineName, CLASS_RemoteLogin) as
_RemoteLogin;
end;
class function CoLogin.Create: _Login;
begin
Result := CreateComObject(CLASS_Login) as _Login;
end;
class function CoLogin.CreateRemote(const MachineName: string): _Login;
begin
Result := CreateRemoteComObject(MachineName, CLASS_Login) as _Login;
end;
class function CoOperator.Create: _Operator;
begin
Result := CreateComObject(CLASS_Operator) as _Operator;
end;
class function CoOperator.CreateRemote(const MachineName: string):
_Operator;
begin
Result := CreateRemoteComObject(MachineName, CLASS_Operator) as _Operator;
end;
class function CoAlert.Create: _Alert;
begin
Result := CreateComObject(CLASS_Alert) as _Alert;
end;
class function CoAlert.CreateRemote(const MachineName: string): _Alert;
begin
Result := CreateRemoteComObject(MachineName, CLASS_Alert) as _Alert;
end;
class function CoJob.Create: _Job;
begin
Result := CreateComObject(CLASS_Job) as _Job;
end;
class function CoJob.CreateRemote(const MachineName: string): _Job;
begin
Result := CreateRemoteComObject(MachineName, CLASS_Job) as _Job;
end;
class function CoJobStep.Create: _JobStep;
begin
Result := CreateComObject(CLASS_JobStep) as _JobStep;
end;
class function CoJobStep.CreateRemote(const MachineName: string): _JobStep;
begin
Result := CreateRemoteComObject(MachineName, CLASS_JobStep) as _JobStep;
end;
class function CoJobSchedule.Create: _JobSchedule;
begin
Result := CreateComObject(CLASS_JobSchedule) as _JobSchedule;
end;
class function CoJobSchedule.CreateRemote(const MachineName: string):
_JobSchedule;
begin
Result := CreateRemoteComObject(MachineName, CLASS_JobSchedule) as
_JobSchedule;
end;
class function CoTargetServer.Create: _TargetServer;
begin
Result := CreateComObject(CLASS_TargetServer) as _TargetServer;
end;
class function CoTargetServer.CreateRemote(const MachineName: string):
_TargetServer;
begin
Result := CreateRemoteComObject(MachineName, CLASS_TargetServer) as
_TargetServer;
end;
class function CoTargetServerGroup.Create: _TargetServerGroup;
begin
Result := CreateComObject(CLASS_TargetServerGroup) as _TargetServerGroup;
end;
class function CoTargetServerGroup.CreateRemote(const MachineName: string):
_TargetServerGroup;
begin
Result := CreateRemoteComObject(MachineName, CLASS_TargetServerGroup) as
_TargetServerGroup;
end;
class function CoCategory.Create: _Category;
begin
Result := CreateComObject(CLASS_Category) as _Category;
end;
class function CoCategory.CreateRemote(const MachineName: string):
_Category;
begin
Result := CreateRemoteComObject(MachineName, CLASS_Category) as _Category;
end;
class function CoBackup.Create: _Backup;
begin
Result := CreateComObject(CLASS_Backup) as _Backup;
end;
class function CoBackup.CreateRemote(const MachineName: string): _Backup;
begin
Result := CreateRemoteComObject(MachineName, CLASS_Backup) as _Backup;
end;
class function CoRegisteredSubscriber.Create: _RegisteredSubscriber;
begin
Result := CreateComObject(CLASS_RegisteredSubscriber) as
_RegisteredSubscriber;
end;
class function CoRegisteredSubscriber.CreateRemote(const MachineName:
string): _RegisteredSubscriber;
begin
Result := CreateRemoteComObject(MachineName, CLASS_RegisteredSubscriber)
as _RegisteredSubscriber;
end;
class function CoReplicationSecurity.Create: _ReplicationSecurity;
begin
Result := CreateComObject(CLASS_ReplicationSecurity) as
_ReplicationSecurity;
end;
class function CoReplicationSecurity.CreateRemote(const MachineName:
string): _ReplicationSecurity;
begin
Result := CreateRemoteComObject(MachineName, CLASS_ReplicationSecurity) as
_ReplicationSecurity;
end;
class function CoDistributionPublisher.Create: _DistributionPublisher;
begin
Result := CreateComObject(CLASS_DistributionPublisher) as
_DistributionPublisher;
end;
class function CoDistributionPublisher.CreateRemote(const MachineName:
string): _DistributionPublisher;
begin
Result := CreateRemoteComObject(MachineName, CLASS_DistributionPublisher)
as _DistributionPublisher;
end;
class function CoDistributionPublication.Create: _DistributionPublication;
begin
Result := CreateComObject(CLASS_DistributionPublication) as
_DistributionPublication;
end;
class function CoDistributionPublication.CreateRemote(const MachineName:
string): _DistributionPublication;
begin
Result := CreateRemoteComObject(MachineName,
CLASS_DistributionPublication) as _DistributionPublication;
end;
class function CoDistributionArticle.Create: _DistributionArticle;
begin
Result := CreateComObject(CLASS_DistributionArticle) as
_DistributionArticle;
end;
class function CoDistributionArticle.CreateRemote(const MachineName:
string): _DistributionArticle;
begin
Result := CreateRemoteComObject(MachineName, CLASS_DistributionArticle) as
_DistributionArticle;
end;
class function CoDistributionSubscription.Create: _DistributionSubscription;
begin
Result := CreateComObject(CLASS_DistributionSubscription) as
_DistributionSubscription;
end;
class function CoDistributionSubscription.CreateRemote(const MachineName:
string): _DistributionSubscription;
begin
Result := CreateRemoteComObject(MachineName,
CLASS_DistributionSubscription) as _DistributionSubscription;
end;
class function CoDistributionDatabase.Create: _DistributionDatabase;
begin
Result := CreateComObject(CLASS_DistributionDatabase) as
_DistributionDatabase;
end;
class function CoDistributionDatabase.CreateRemote(const MachineName:
string): _DistributionDatabase;
begin
Result := CreateRemoteComObject(MachineName, CLASS_DistributionDatabase)
as _DistributionDatabase;
end;
class function CoTransPublication.Create: _TransPublication;
begin
Result := CreateComObject(CLASS_TransPublication) as _TransPublication;
end;
class function CoTransPublication.CreateRemote(const MachineName: string):
_TransPublication;
begin
Result := CreateRemoteComObject(MachineName, CLASS_TransPublication) as
_TransPublication;
end;
class function CoTransArticle.Create: _TransArticle;
begin
Result := CreateComObject(CLASS_TransArticle) as _TransArticle;
end;
class function CoTransArticle.CreateRemote(const MachineName: string):
_TransArticle;
begin
Result := CreateRemoteComObject(MachineName, CLASS_TransArticle) as
_TransArticle;
end;
class function CoTransSubscription.Create: _TransSubscription;
begin
Result := CreateComObject(CLASS_TransSubscription) as _TransSubscription;
end;
class function CoTransSubscription.CreateRemote(const MachineName: string):
_TransSubscription;
begin
Result := CreateRemoteComObject(MachineName, CLASS_TransSubscription) as
_TransSubscription;
end;
class function CoMergePublication.Create: _MergePublication;
begin
Result := CreateComObject(CLASS_MergePublication) as _MergePublication;
end;
class function CoMergePublication.CreateRemote(const MachineName: string):
_MergePublication;
begin
Result := CreateRemoteComObject(MachineName, CLASS_MergePublication) as
_MergePublication;
end;
class function CoMergeArticle.Create: _MergeArticle;
begin
Result := CreateComObject(CLASS_MergeArticle) as _MergeArticle;
end;
class function CoMergeArticle.CreateRemote(const MachineName: string):
_MergeArticle;
begin
Result := CreateRemoteComObject(MachineName, CLASS_MergeArticle) as
_MergeArticle;
end;
class function CoMergeSubsetFilter.Create: _MergeSubsetFilter;
begin
Result := CreateComObject(CLASS_MergeSubsetFilter) as _MergeSubsetFilter;
end;
class function CoMergeSubsetFilter.CreateRemote(const MachineName: string):
_MergeSubsetFilter;
begin
Result := CreateRemoteComObject(MachineName, CLASS_MergeSubsetFilter) as
_MergeSubsetFilter;
end;
class function CoMergeSubscription.Create: _MergeSubscription;
begin
Result := CreateComObject(CLASS_MergeSubscription) as _MergeSubscription;
end;
class function CoMergeSubscription.CreateRemote(const MachineName: string):
_MergeSubscription;
begin
Result := CreateRemoteComObject(MachineName, CLASS_MergeSubscription) as
_MergeSubscription;
end;
class function CoTransPullSubscription.Create: _TransPullSubscription;
begin
Result := CreateComObject(CLASS_TransPullSubscription) as
_TransPullSubscription;
end;
class function CoTransPullSubscription.CreateRemote(const MachineName:
string): _TransPullSubscription;
begin
Result := CreateRemoteComObject(MachineName, CLASS_TransPullSubscription)
as _TransPullSubscription;
end;
class function CoMergePullSubscription.Create: _MergePullSubscription;
begin
Result := CreateComObject(CLASS_MergePullSubscription) as
_MergePullSubscription;
end;
class function CoMergePullSubscription.CreateRemote(const MachineName:
string): _MergePullSubscription;
begin
Result := CreateRemoteComObject(MachineName, CLASS_MergePullSubscription)
as _MergePullSubscription;
end;
class function CoReplication.Create: _Replication;
begin
Result := CreateComObject(CLASS_Replication) as _Replication;
end;
class function CoReplication.CreateRemote(const MachineName: string):
_Replication;
begin
Result := CreateRemoteComObject(MachineName, CLASS_Replication) as
_Replication;
end;
class function CoServerRole.Create: _ServerRole;
begin
Result := CreateComObject(CLASS_ServerRole) as _ServerRole;
end;
class function CoServerRole.CreateRemote(const MachineName: string):
_ServerRole;
begin
Result := CreateRemoteComObject(MachineName, CLASS_ServerRole) as
_ServerRole;
end;
class function CoLinkedServer.Create: _LinkedServer;
begin
Result := CreateComObject(CLASS_LinkedServer) as _LinkedServer;
end;
class function CoLinkedServer.CreateRemote(const MachineName: string):
_LinkedServer;
begin
Result := CreateRemoteComObject(MachineName, CLASS_LinkedServer) as
_LinkedServer;
end;
class function CoLinkedServerLogin.Create: _LinkedServerLogin;
begin
Result := CreateComObject(CLASS_LinkedServerLogin) as _LinkedServerLogin;
end;
class function CoLinkedServerLogin.CreateRemote(const MachineName: string):
_LinkedServerLogin;
begin
Result := CreateRemoteComObject(MachineName, CLASS_LinkedServerLogin) as
_LinkedServerLogin;
end;
class function CoSQLServer.Create: _SQLServer;
begin
Result := CreateComObject(CLASS_SQLServer) as _SQLServer;
end;
class function CoSQLServer.CreateRemote(const MachineName: string):
_SQLServer;
begin
Result := CreateRemoteComObject(MachineName, CLASS_SQLServer) as
_SQLServer;
end;
class function CoServerGroup.Create: _ServerGroup;
begin
Result := CreateComObject(CLASS_ServerGroup) as _ServerGroup;
end;
class function CoServerGroup.CreateRemote(const MachineName: string):
_ServerGroup;
begin
Result := CreateRemoteComObject(MachineName, CLASS_ServerGroup) as
_ServerGroup;
end;
class function CoRegisteredServer.Create: _RegisteredServer;
begin
Result := CreateComObject(CLASS_RegisteredServer) as _RegisteredServer;
end;
class function CoRegisteredServer.CreateRemote(const MachineName: string):
_RegisteredServer;
begin
Result := CreateRemoteComObject(MachineName, CLASS_RegisteredServer) as
_RegisteredServer;
end;
class function CoRestore.Create: _Restore;
begin
Result := CreateComObject(CLASS_Restore) as _Restore;
end;
class function CoRestore.CreateRemote(const MachineName: string): _Restore;
begin
Result := CreateRemoteComObject(MachineName, CLASS_Restore) as _Restore;
end;
end.
 

Re:How to use SqlDMO in Delphi ???

Charles Adriano writes:
Quote
here is a code and sample for SqlDMO (it's free)
Charles, this is *far* to long to post in a message and essentially
constitutes an attachment, I must cancel this.
You may repost this *as an attachment to the attachments group*
(borland.public.attachments).
--
Wayne Niddery - Logic Fundamentals, Inc. (www.logicfundamentals.com)
RADBooks: www.logicfundamentals.com/RADBooks.html
"True peace is not the absence of tension, but the presence of justice." -
Martin Luther King, Jr.
 

Re:How to use SqlDMO in Delphi ???

sorry.... in the future i will make this...
charles
"Wayne Niddery [TeamB]" <XXXX@XXXXX.COM>escribi?en el mensaje
Quote
Charles Adriano writes:
>here is a code and sample for SqlDMO (it's free)

Charles, this is *far* to long to post in a message and essentially
constitutes an attachment, I must cancel this.

You may repost this *as an attachment to the attachments group*
(borland.public.attachments).

--
Wayne Niddery - Logic Fundamentals, Inc. (www.logicfundamentals.com)
RADBooks: www.logicfundamentals.com/RADBooks.html
"True peace is not the absence of tension, but the presence of
ustice." -
Martin Luther King, Jr.