Problem with taking snapshot by iscsitargetor

abc20032048 2010-04-02 04:31:21
Hi all,
Now I'm trying to write a script to use the MS iscsitargetor to take a disk
snapshot automatically. Here is part of my script:
'
' Get the Wbem Services object.
'
Dim WbemServices
Set WbemServices =
GetObject("WINMGMTS:{impersonationLevel=impersonate,authenticationLevel=pktPrivac
y}!\\.\root\wmi")
'
' Get the WtSnapshot class.
'
Dim WtSnapshotClass
Set WtSnapshotClass = WbemServices.Get( "WT_Snapshot" )
'
' Take snapshot.
'
Dim WTSnapshot
Dim RetCode
Set WTSnapshot = WtSnapshotClass.Create( ...)

My problem is I can not get the parameters of method "Create".

Thanks & regards.
...全文
36 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

18,125

社区成员

发帖
与我相关
我的任务
社区描述
Windows客户端使用相关问题交流社区
社区管理员
  • Windows客户端使用社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧