Add a file to the database                          This overload does not attach inherited attributes (i.e. system file attributes, project file attributes, folder file attributes). See the overload for that option.
        Namespace:
SynergyServerScripting.Entities
        
Assembly: SynergyServerScripting (in SynergyServerScripting.dll)
	
		
	
	
	
				
			
	
			
				
				
				
					
				
					
			
		
		
		
			
	
			
		
		
			
	
			
		
		
		
			
	
			
		
		
	
  
	
	
	
	
	
	
		
  
	
	
						
			
			Assembly: SynergyServerScripting (in SynergyServerScripting.dll)
Public Shared Function PerformAddFile( _
ByVal file_name As String, _
ByVal folder_id As EntityID, _
ByVal user_id As EntityID, _
ByVal file_to_add As String, _
ByVal change_data As FileChangeData, _
ByVal add_time As Date, _
ByVal allow_workflow As Boolean, _
ByVal db As IDatabase _
) As FileInfo
This language is not supported or no code example is available.
Parameters
- file_name
 - 
		Type: string 
		
the name of the file to add
 
- folder_id
 - 
		Type: EntityID 
		
the id the folder
 
- user_id
 - 
		Type: EntityID 
		
the user id to add the filr for
 
- file_to_add
 - 
		Type: string 
		
the path to the actual file
 
- change_data
 - 
		Type: FileChangeData 
		
the data about the change
 
- add_time
 - 
		Type: DateTime 
		
 
- allow_workflow
 - 
		Type: bool 
		
 
- db
 - 
		Type: IDatabase 
		
the db connection