LOTUSSCRIPT /COM/OLE のクラス
現在のスクリプトの環境を表します。このクラスを使うと、環境変数、アドレス帳、現在のユーザーに関する情報、現在の Lotus Notes のプラットフォームとリリース番号の情報にアクセスできます。
包含関係サブクラス:NotesAdministrationProcess、 NotesAgent、 NotesColorObject、 NotesDatabase、 NotesDateRange、 NotesDateTime、 NotesDbDirectory、 NotesDirectory、 NotesDocument、 NotesDocumentCollection、 NotesDOMParser、 NotesDXLExporter、 NotesDXLImporter、 NotesInternational、 NotesName、 NotesLog、 NotesNewsletter、 NotesPropertyBroker、 NotesRegistration、 NotesRichTextParagraphStyle、 NotesRichTextStyle、 NotesSAXParser、 NotesStream、 NotesTimer、 NotesXSLTransformer プロパティAddressBooks CommonUserName
ConvertMime
CurrentAgent
CurrentDatabase
DocumentContext
EffectiveUserName
HttpURL
International
IsOnServer
LastExitStatus
LastRun
NotesBuildVersion
NotesURL
NotesVersion
OrgDirectoryPath
Platform
SavedData
ServerName
URLDatabase
UserGroupNameList
UserName
UserNameList
UserNameObject
メソッドCreateAdministrationProcess CreateColorObject
CreateDateRange
CreateDateTime
CreateDOMParser
CreateDxlExporter
CreateDxlImporter
CreateLog
CreateName
CreateNewsletter
CreateRegistration
CreateRichTextParagraphStyle
CreateRichTextStyle
CreateSAXParser
CreateStream
CreateTimer
CreateXSLTransformer
Evaluate
FreeTimeSearch
GetDatabase
GetDbDirectory
GetDirectory
GetEnvironmentString
GetEnvironmentValue
GetPropertyBroker
GetUserPolicySettings
HashPassword
Initialize
InitializeUsingNotesUserName
New
Resolve
SendConsoleCommand
SetEnvironmentVar
UpdateProcessedDoc
VerifyPassword
作成方法とアクセス方法現在のセッションにアクセスするには New を使います。 構文Dim variableName As New NotesSession または
Set notesSession = New NotesSession
NotesDatabase オブジェクトから現在のセッションにアクセスするには、NotesDatabase の Parent プロパティを使います。
COM を使って現在のセッションにアクセスするには、「セッションオブジェクトを作成する」と「セッションを初期化する」を参照してください。
OLE を使って現在のセッションにアクセスするには、「OLE を使用する」を使います。
使用法1 つのスクリプトに対してセッションは 1 つだけです。このため、New メソッドは呼び出されると常に同じオブジェクトを返します。 セッションオブジェクトを削除してはいけません。
例 関連項目