📄 nativemethods.cs
字号:
public interface ITransactionLog {
int Bogus_1(); // HRESULT Application([out, retval] Application** ppApp);
int Bogus_2(); // HRESULT Parent([out, retval] _IVSQLDMOStdObject** ppParent);
int Bogus_3(); // HRESULT UserData([out, retval] long* pRetVal);
int Bogus_4(); // HRESULT UserData([in] long pRetVal);
int Bogus_5(); // HRESULT TypeOf([out, retval] SQLDMO_OBJECT_TYPE* pRetVal);
int Bogus_6(); // HRESULT Properties([out, retval] Properties** ppVBObjRet);
int Bogus_7(); // HRESULT CreateDate([out, retval] BSTR* pRetVal);
int Bogus_8(); // HRESULT LastBackup([out, retval] BSTR* pRetVal);
int Bogus_9(); // HRESULT Size([out, retval] long* pRetVal);
int Bogus_10(); // HRESULT SpaceAvailable([out, retval] long* pRetVal);
int Bogus_11(); // HRESULT SpaceAvailableInMB([out, retval] single* pRetVal);
int Bogus_12(); // HRESULT SpaceAllocatedOnFiles([in] BSTR DatabaseName, [out, retval] long* pRetVal);
int Bogus_13(); // HRESULT Truncate();
ILogFiles GetLogFiles();
}
[ComVisible(true), ComImport(), Guid("10022E03-E260-11CF-AE68-00AA004A34D5"), InterfaceTypeAttribute(ComInterfaceType.InterfaceIsDual)]
public interface ILogFiles {
int Bogus_1(); // HRESULT Application([out, retval] Application** ppApp);
int Bogus_2(); // HRESULT Parent([out, retval] _IVSQLDMOStdObject** ppParent);
int Bogus_3(); // HRESULT UserData([out, retval] long* pRetVal);
int Bogus_4(); // HRESULT UserData([in] long pRetVal);
int Bogus_5(); // HRESULT TypeOf([out, retval] SQLDMO_OBJECT_TYPE* pRetVal);
ILogFile Item(object ItemIndex);
int Bogus_6(); // HRESULT _NewEnum([out, retval] IUnknown** ppEnum);
int Bogus_7(); // HRESULT Count([out, retval] long* pRetVal);
int Bogus_8(); // HRESULT ItemByID([in] long ID, [out, retval] LogFile** ppVBObjRet);
int Bogus_9(); // HRESULT Add([in] LogFile* Object);
int Bogus_10(); // HRESULT Refresh([in, optional] VARIANT ReleaseMemberObjects);
}
[ComVisible(true), ComImport(), Guid("10022E00-E260-11CF-AE68-00AA004A34D5")]
public class LogFile {
}
[ComVisible(true), ComImport(), Guid("10022E06-E260-11CF-AE68-00AA004A34D5"), InterfaceTypeAttribute(ComInterfaceType.InterfaceIsDual)]
public interface ILogFile {
int Bogus_1(); // HRESULT Application([out, retval] Application** ppApp);
int Bogus_2(); // HRESULT Parent([out, retval] _IVSQLDMOStdObject** ppParent);
int Bogus_3(); // HRESULT UserData([out, retval] long* pRetVal);
int Bogus_4(); // HRESULT UserData([in] long pRetVal);
int Bogus_5(); // HRESULT TypeOf([out, retval] SQLDMO_OBJECT_TYPE* pRetVal);
int Bogus_6(); // HRESULT Properties([out, retval] Properties** ppVBObjRet);
int Bogus_7(); // HRESULT Name([out, retval] BSTR* pRetVal);
int Bogus_8(); // HRESULT Name([in] BSTR pRetVal);
int Bogus_9(); // HRESULT PhysicalName([out, retval] BSTR* pRetVal);
int Bogus_10(); // HRESULT PhysicalName([in] BSTR pRetVal);
int Bogus_11(); // HRESULT Size([out, retval] long* pRetVal);
int Bogus_12(); // HRESULT Size([in] long pRetVal);
int Bogus_13(); // HRESULT ID([out, retval] long* pRetVal);
int GetFileGrowth();
int SetFileGrowth(int pRetVal);
int GetFileGrowthType();
int SetFileGrowthType(int pRetVal);
int Bogus_14(); // HRESULT FileGrowthInKB([out, retval] single* pRetVal);
int GetMaximumSize();
int SetMaximumSize(int pRetVal);
int Bogus_15(); // HRESULT Shrink([in] long NewSizeInMB, [in] SQLDMO_SHRINK_TYPE Truncate);
int Bogus_16(); // HRESULT SizeInKB([out, retval] single* pRetVal);
}
[ComVisible(true), ComImport(), Guid("10020B03-E260-11CF-AE68-00AA004A34D5"), InterfaceTypeAttribute(ComInterfaceType.InterfaceIsDual)]
public interface IUsers {
int Bogus_1(); // HRESULT Application([out, retval] Application** ppApp);
int Bogus_2(); // HRESULT Parent([out, retval] _IVSQLDMOStdObject** ppParent);
int Bogus_3(); // HRESULT UserData([out, retval] long* pRetVal);
int Bogus_4(); // HRESULT UserData([in] long pRetVal);
int Bogus_5(); // HRESULT TypeOf([out, retval] SQLDMO_OBJECT_TYPE* pRetVal);
int Bogus_6(); // HRESULT Item([in] VARIANT Index, [out, retval] User** ppVBObjRet);
int Bogus_7(); // HRESULT _NewEnum([out, retval] IUnknown** ppEnum);
int GetCount();
int Bogus_8(); // HRESULT ItemByID([in] long ID, [out, retval] User** ppVBObjRet);
int Bogus_9(); // HRESULT Add([in] User* Object);
int Bogus_10(); // HRESULT Remove([in] VARIANT Index);
int Bogus_11(); // HRESULT Refresh([in, optional] VARIANT ReleaseMemberObjects);
}
[ComVisible(true), ComImport(), Guid("10020403-E260-11CF-AE68-00AA004A34D5"), InterfaceTypeAttribute(ComInterfaceType.InterfaceIsDual)]
public interface ITables {
int Bogus_1(); // HRESULT Application([out, retval] Application** ppApp);
int Bogus_2(); // HRESULT Parent([out, retval] _IVSQLDMOStdObject** ppParent);
int Bogus_3(); // HRESULT UserData([out, retval] long* pRetVal);
int Bogus_4(); // HRESULT UserData([in] long pRetVal);
int Bogus_5(); // HRESULT TypeOf([out, retval] SQLDMO_OBJECT_TYPE* pRetVal);
ITable Item(object Index, object Owner);
int Bogus_6(); // HRESULT _NewEnum([out, retval] IUnknown** ppEnum);
int GetCount();
int Bogus_7(); // HRESULT ItemByID([in] long ID, [out, retval] Table** ppVBObjRet);
int Add(ITable Object);
int Bogus_8(); // HRESULT Remove([in] VARIANT Index, [in, optional] VARIANT Owner);
int Refresh(object ReleaseMemberObjects); // HRESULT Refresh([in, optional] VARIANT ReleaseMemberObjects);
}
[ComVisible(true), ComImport(), Guid("10020400-E260-11CF-AE68-00AA004A34D5")]
public class Table {
}
[ComVisible(true), ComImport(), Guid("10020406-E260-11CF-AE68-00AA004A34D5"), InterfaceTypeAttribute(ComInterfaceType.InterfaceIsDual)]
public interface ITable {
int Bogus_1(); // HRESULT Application([out, retval] Application** ppApp);
int Bogus_2(); // HRESULT Parent([out, retval] _IVSQLDMOStdObject** ppParent);
int Bogus_3(); // HRESULT UserData([out, retval] long* pRetVal);
int Bogus_4(); // HRESULT UserData([in] long pRetVal);
int Bogus_5(); // HRESULT TypeOf([out, retval] SQLDMO_OBJECT_TYPE* pRetVal);
int Bogus_6(); // HRESULT Properties([out, retval] Properties** ppVBObjRet);
string GetName();
int SetName(string pRetVal);
IColumns GetColumns(); // HRESULT Columns([out, retval] Columns** ppVBObjRet);
int Bogus_7(); // HRESULT DataSpaceUsed([out, retval] long* pRetVal);
int Bogus_8(); // HRESULT IndexSpaceUsed([out, retval] long* pRetVal);
int Bogus_9(); // HRESULT Attributes([out, retval] SQLDMO_TABLEATT_TYPE* pRetVal);
IKeys GetKeys(); // HRESULT GetKeys([out, retval] Keys** ppVBObjRet);
string GetOwner();
int SetOwner(string pRetVal);
int Bogus_10(); // HRESULT ID([out, retval] long* pRetVal);
string GetCreateDate();
int Bogus_11(); // HRESULT PrimaryKey([out, retval] Key** ppVBObjRet);
int GetIndexes(); // HRESULT Indexes([out, retval] Indexes** ppVBObjRet);
int Bogus_13(); // HRESULT Triggers([out, retval] Triggers** ppVBObjRet);
int Bogus_14(); // HRESULT Checks([out, retval] Checks** ppVBObjRet);
int Bogus_15(); // HRESULT ClusteredIndex([out, retval] Index** ppVBObjRet);
bool GetSystemObject();
int GetRows();
int BeginAlter();
int DoAlter();
int CancelAlter();
int Bogus_19(); // HRESULT ReCompileReferences();
int Bogus_20(); // HRESULT Grant([in] SQLDMO_PRIVILEGE_TYPE Privileges, [in] BSTR GranteeNames, [in, optional] VARIANT ColumnNames, [in, optional] VARIANT GrantGrant, [in, optional] VARIANT AsRole);
int Bogus_21(); // HRESULT Revoke([in] SQLDMO_PRIVILEGE_TYPE Privileges, [in] BSTR RevokeeNames, [in, optional] VARIANT ColumnNames, [in, optional] VARIANT GrantGrant, [in, optional] VARIANT RevokeGrantOption, [in, optional] VARIANT AsRole);
int Bogus_22(); // HRESULT ListPermissions([in, optional, defaultvalue(63)] SQLDMO_PRIVILEGE_TYPE PrivilegeTypes, [out, retval] SQLObjectList** ppVBObjRet);
int Bogus_23(); // HRESULT ListUserPermissions([in] BSTR UserName, [out, retval] SQLObjectList** ppVBObjRet);
int Bogus_24(); // HRESULT CheckTable([out, retval] BSTR* pRetVal);
int Bogus_25(); // HRESULT TruncateData();
int Bogus_26(); // HRESULT UpdateStatistics();
int Remove();
int Bogus_27(); // HRESULT EnumReferencedKeys([in, optional] VARIANT ReferencedTableName, [in, optional] VARIANT IncludeAllCandidates, [out, retval] QueryResults** ppVBObjRet);
int Bogus_28(); // HRESULT EnumReferencedTables([in, optional] VARIANT IncludeAllCandidates, [out, retval] QueryResults** ppVBObjRet);
int Bogus_29(); // HRESULT EnumReferencingKeys([in, optional] VARIANT ReferencingTableName, [in, optional] VARIANT IncludeAllCandidates, [out, retval] QueryResults** ppVBObjRet);
int Bogus_30(); // HRESULT EnumReferencingTables([in, optional] VARIANT IncludeAllCandidates, [out, retval] QueryResults** ppVBObjRet);
int Bogus_31(); // HRESULT EnumDependencies([in, optional, defaultvalue(0)] SQLDMO_DEPENDENCY_TYPE DependencyType, [out, retval] QueryResults** ppVBObjRet);
int Bogus_32(); // HRESULT InsertColumn([in] Column* NewColumn, [in] BSTR BeforeColumnName);
int Bogus_33(); // HRESULT RecalcSpaceUsage();
int Bogus_34(); // HRESULT EnumLastStatisticsUpdates([in, optional] VARIANT IndexName, [out, retval] QueryResults** ppVBObjRet);
string Script(int ScriptType, object ScriptFilePath, object NewName, int Script2Type);
int Bogus_35(); // HRESULT DoAlterWithNoCheck();
int Bogus_36(); // HRESULT Refresh();
int Bogus_37(); // HRESULT ImportData([in] BulkCopy* Bcp, [out, retval] long* RowsImported);
int Bogus_38(); // HRESULT ExportData([in] BulkCopy* Bcp, [out, retval] long* RowsExported);
int Bogus_39(); // HRESULT RebuildIndexes([in, optional, defaultvalue(0)] SQLDMO_INDEX_TYPE SortedDataType, [in, optional] VARIANT FillFactor);
int Bogus_40(); // HRESULT CheckIdentityValue();
int Bogus_41(); // HRESULT CheckTableDataOnly([out, retval] BSTR* pRetVal);
int Bogus_42(); // HRESULT InAlter([out, retval] VARIANT_BOOL* pRetVal);
int Bogus_43(); // HRESULT FileGroup([out, retval] BSTR* pRetVal);
int Bogus_44(); // HRESULT FileGroup([in] BSTR pRetVal);
int Bogus_45(); // HRESULT TextFileGroup([out, retval] BSTR* pRetVal);
int Bogus_46(); // HRESULT TextFileGroup([in] BSTR pRetVal);
int Bogus_47(); // HRESULT Deny([in] SQLDMO_PRIVILEGE_TYPE Privileges, [in] BSTR DenyeeNames, [in, optional] VARIANT ColumnNames, [in, optional] VARIANT GrantGrant);
int Bogus_48(); // HRESULT GenerateSQL([in] Database* pDB, [out, retval] BSTR* pRetVal);
int Bogus_49(); // HRESULT CheckTextAllocsFast([out, retval] BSTR* pRetVal);
int Bogus_50(); // HRESULT CheckTextAllocsFull([out, retval] BSTR* pRetVal);
int Bogus_51(); // HRESULT UpdateStatisticsWith([in] SQLDMO_STAT_AFFECT_TYPE AffectType, [in] SQLDMO_STAT_SCAN_TYPE ScanType, [in, optional] VARIANT ScanNumber, [in, optional] VARIANT ReCompute);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -