Module: IP2DataStream

Includes:
WIN32OLE::VARIANT
Defined in:
lib/ole20110223-013209.rb

Overview

IP2DataStream Interface

Constant Summary

Constants included from WIN32OLE::VARIANT

WIN32OLE::VARIANT::VT_ARRAY, WIN32OLE::VARIANT::VT_BOOL, WIN32OLE::VARIANT::VT_BSTR, WIN32OLE::VARIANT::VT_BYREF, WIN32OLE::VARIANT::VT_CY, WIN32OLE::VARIANT::VT_DATE, WIN32OLE::VARIANT::VT_DISPATCH, WIN32OLE::VARIANT::VT_EMPTY, WIN32OLE::VARIANT::VT_ERROR, WIN32OLE::VARIANT::VT_I1, WIN32OLE::VARIANT::VT_I2, WIN32OLE::VARIANT::VT_I4, WIN32OLE::VARIANT::VT_I8, WIN32OLE::VARIANT::VT_INT, WIN32OLE::VARIANT::VT_NULL, WIN32OLE::VARIANT::VT_PTR, WIN32OLE::VARIANT::VT_R4, WIN32OLE::VARIANT::VT_R8, WIN32OLE::VARIANT::VT_UI1, WIN32OLE::VARIANT::VT_UI2, WIN32OLE::VARIANT::VT_UI4, WIN32OLE::VARIANT::VT_UI8, WIN32OLE::VARIANT::VT_UINT, WIN32OLE::VARIANT::VT_UNKNOWN, WIN32OLE::VARIANT::VT_USERDEFINED, WIN32OLE::VARIANT::VT_VARIANT

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#lastargsObject (readonly)

Returns the value of attribute lastargs.



1115
1116
1117
# File 'lib/ole20110223-013209.rb', line 1115

def lastargs
  @lastargs
end

Instance Method Details

#CloseObject

method VOID Close



1169
1170
1171
# File 'lib/ole20110223-013209.rb', line 1169

def Close()
  _invoke(7, [], [])
end

#DBConnStringObject

property BSTR DBConnString



1128
1129
1130
# File 'lib/ole20110223-013209.rb', line 1128

def DBConnString()
  _getproperty(3, [], [])
end

#DBConnString=(val) ⇒ Object

property VOID DBConnString



1153
1154
1155
# File 'lib/ole20110223-013209.rb', line 1153

def DBConnString=(val)
  _setproperty(3, [val], [VT_BSTR])
end

#Open(conn) ⇒ Object

method VOID Open

IP2Connection conn [IN]


1164
1165
1166
# File 'lib/ole20110223-013209.rb', line 1164

def Open(conn)
  _invoke(6, [conn], [VT_BYREF|VT_DISPATCH])
end

#StateObject

property TDataStreamState State



1138
1139
1140
# File 'lib/ole20110223-013209.rb', line 1138

def State()
  _getproperty(5, [], [])
end

#StreamNameObject

property BSTR StreamName



1123
1124
1125
# File 'lib/ole20110223-013209.rb', line 1123

def StreamName()
  _getproperty(2, [], [])
end

#StreamName=(val) ⇒ Object

property VOID StreamName



1148
1149
1150
# File 'lib/ole20110223-013209.rb', line 1148

def StreamName=(val)
  _setproperty(2, [val], [VT_BSTR])
end

#TableSetObject

property IP2TableSet TableSet



1118
1119
1120
# File 'lib/ole20110223-013209.rb', line 1118

def TableSet()
  _getproperty(1, [], [])
end

#TableSet=(val) ⇒ Object

property VOID TableSet



1143
1144
1145
# File 'lib/ole20110223-013209.rb', line 1143

def TableSet=(val)
  _setproperty(1, [val], [VT_BYREF|VT_DISPATCH])
end

#typeObject

TRequestType type: property Type



1133
1134
1135
# File 'lib/ole20110223-013209.rb', line 1133

def type()
  _getproperty(4, [], [])
end

#type=(val) ⇒ Object

VOID type: property Type



1158
1159
1160
# File 'lib/ole20110223-013209.rb', line 1158

def type=(val)
  _setproperty(4, [val], [VT_DISPATCH])
end