CreateObject

オブジェクトを作成


文法
Server.CreateObject(Key)


パラメータ
Key : 作成オブジェクトのID


機能説明
オブジェクトを作成(同じページ内でスコープは有効)


使用例
<% 'Connectionオブジェクト作成 Set ObjConn = Server.CreateObject(ADODB.Connection") 'Connectionオブジェクト作成を作成して、セッション変数にセット Set Session("Con") = Server.CreateObject("ADODB.Connection") Set Session("Con") = Nothing %>
Topへ