I am trying to disconnect users of SDE using python . When I use the below code
arcpy.DisconnectUser(arcpy.env.workspace, "ALL")
arcpy.env.workspace = r"C:\\Connections\\SDE.sde"
I am getting an error Python Exception <TypeError>: Could not open SDE workspace.
Has anybody encountered this error ? Any Ideas ?