📄 nativemethods.cs
字号:
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] DBFile** ppVBObjRet);
int Bogus_9(); // HRESULT Add([in] DBFile* Object);
int Bogus_10(); // HRESULT Remove([in] VARIANT Index);
int Bogus_11(); // HRESULT Refresh([in, optional] VARIANT ReleaseMemberObjects);
}
[ComVisible(true), ComImport(), Guid("10022D00-E260-11CF-AE68-00AA004A34D5")]
public class DBFile {
}
[ComVisible(true), ComImport(), Guid("10022D06-E260-11CF-AE68-00AA004A34D5"), InterfaceTypeAttribute(ComInterfaceType.InterfaceIsDual)]
public interface IDBFile {
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 PrimaryFile([out, retval] VARIANT_BOOL* pRetVal);
int Bogus_12(); // HRESULT PrimaryFile([in] VARIANT_BOOL pRetVal);
int GetFileGrowth();
int SetFileGrowth(int pRetVal);
int GetMaximumSize();
int SetMaximumSize(int pRetVal);
int Bogus_13(); // HRESULT SpaceAvailableInMB([out, retval] long* pRetVal);
int Bogus_14(); // HRESULT Size([out, retval] long* pRetVal);
int Bogus_15(); // HRESULT Size([in] long pRetVal);
int Bogus_16(); // HRESULT ID([out, retval] long* pRetVal);
int GetFileGrowthType();
int SetFileGrowthType(int pRetVal);
int Bogus_17(); // HRESULT FileGrowthInKB([out, retval] single* pRetVal);
int Bogus_18(); // HRESULT Remove();
int Bogus_19(); // HRESULT Shrink([in] long NewSizeInMB, [in] SQLDMO_SHRINK_TYPE Truncate);
int Bogus_20(); // HRESULT SizeInKB([out, retval] single* pRetVal);
}
[ComVisible(true), ComImport(), Guid("10022606-E260-11CF-AE68-00AA004A34D5"), InterfaceTypeAttribute(ComInterfaceType.InterfaceIsDual)]
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);
}
// Extended below. DM
// [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();
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -