Summary
Usage
Syntax
arcpy.management.CreateArcSDEConnectionFile(out_folder_path, out_name, server, service, {database}, {account_authentication}, {username}, {password}, {save_username_password}, {version}, {save_version_info})| Parameter | Explanation | Data Type | 
out_folder_path  | The folder path where the .sde file will be stored.  | Folder | 
out_name  | The name of the connection file. Use the .sde file extension.  | String | 
server  | The name of the machine where the ArcSDE application server is installed.  | String | 
service  | The ArcSDE service name or TCP port number.  | String | 
database (Optional)  | The name of the database to connect to. Do not provide a database name when connecting to Oracle.  | String | 
account_authentication (Optional)  | 
  | Boolean | 
username (Optional)  | Database user name to connect with when using Database Authentication.  | String | 
password (Optional)  | The database user password when using Database Authentication.  | Encrypted String | 
save_username_password (Optional)  | 
  | Boolean | 
version (Optional)  | The geodatabase version to connect to. By default, connections are made to the DEFAULT version.  | String | 
save_version_info (Optional)  | 
  | Boolean | 
Environments
Licensing information
- Basic: No
 - Standard: Yes
 - Advanced: Yes