com.vmware.samples.sms
Class UpdateVcDbConnectionInfo

java.lang.Object
  extended by com.vmware.samples.sms.UpdateVcDbConnectionInfo

public class UpdateVcDbConnectionInfo
extends java.lang.Object

This sample implements a function that



Command: To update the VC database connection information 
run.bat com.vmware.samples.sms.UpdateVcDbConnectionInfo --url  
--username  --password   --jdbcUrl  --jdbcUsername   --jdbcPassword 

Sample Command Line 
run.bat com.vmware.samples.sms.UpdateVcDbConnectionInfo --url http://localhost/sdk --username administrator --password password 
--ignorecert --jdbcUrl "jdbc:sqlserver://localhost\SQLEXP_VIM;databaseName=VIM_VCDB;integratedSecurity=true" 
--jdbcUsername  "" --jdbcPassword "" 


Constructor Summary
UpdateVcDbConnectionInfo()
           
 
Method Summary
 void execute()
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpdateVcDbConnectionInfo

public UpdateVcDbConnectionInfo()
Method Detail

execute

public void execute()
             throws java.lang.Exception
Throws:
java.lang.Exception

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception