PC Review


Reply
Thread Tools Rate Thread

ADSI Script Close Sessions

 
 
Carlos Castillo
Guest
Posts: n/a
 
      10th Nov 2003
I am trying to use the IADsFileServiceOperations to disconnect a resource.
Here is my syntax...

Dim fso As IADsFileServiceOperations, Resource As IADsresource
Set fso = GetObject("WinNT://Domain/Computer/LanmanServer")

For Each Resource In fso.Resources
fso.Resources.Remove Resource.Name
Next

I'm getting an error that says object doesn't support this Method. Any help
would be appreciated.



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ADSI script implement in C# John Microsoft C# .NET 8 11th Jun 2008 10:22 AM
ADSI with DNS Script(VB.NET) Snow Du Microsoft Windows 2000 DNS 0 1st Sep 2003 01:27 AM
ADSI VB Script Chai Microsoft Windows 2000 Active Directory 0 17th Jul 2003 03:04 AM
ADSI Script problem Chai Microsoft Windows 2000 Active Directory 2 12th Jul 2003 05:36 AM
Re: ADSI script problem Michael Holzemer Microsoft Windows 2000 Active Directory 0 11th Jul 2003 09:38 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:12 AM.