Guidance
指路人
g.yi.org
Software / Reginald / Examples / repository / Applications / Server Applications / Indexing Server / ListScopes.rex

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
/* Displays information about all the Indexing Service scopes found on the local computer. */
objadminis = createcomobject("Microsoft.ISAdm")
IF objadminis~findfirstcatalog() = 0 THEN DO
    objcatadm = objadminis~getcatalog()
    objscopeadm = objcatadm~getscope()
    SAY "Alias:" objscopeadm~alias
    SAY "Exclude scope:" objscopeadm~excludescope
    SAY "Logon:" objscopeadm~logon
    SAY "Path:" objscopeadm~path
    SAY "Virtual scope:" objscopeadm~virtualscope

    DO WHILE objadminis~findnextcatalog() = 0
        objcatadm = objadminis.getcatalog()
        objscopeadm = objcatadm~getscope()
        SAY "Alias:" objscopeadm~alias
        SAY "Exclude scope:" objscopeadm~excludescope
        SAY "Logon:" objscopeadm~logon
        SAY "Path:" objscopeadm~path
        SAY "Virtual scope:" objscopeadm~virtualscope
    END
END
掌柜推荐
 
 
 
 
 
 
 
 
 
 
 
 
© Fri 2023-1-27  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0 Last modified:2010-07-16 20:49:16