Add a file change to the database

Namespace: SynergyServerScripting.Entities
Assembly: SynergyServerScripting (in SynergyServerScripting.dll)

Public Shared Function AddChange( _ 
ByVal server_id As ServerID, _ 
ByVal file_id As EntityID, _ 
ByVal version As Integer, _ 
ByVal user_id As EntityID, _ 
ByVal change_type As FileChangeType, _ 
ByVal change_message As String, _ 
ByVal file_modified_utc As Date, _ 
ByVal db As IDatabase
) As EntityID
This language is not supported or no code example is available.
public static EntityID AddChange( 
ServerID server_id
EntityID file_id
int version
EntityID user_id
FileChangeType change_type
string change_message
DateTime file_modified_utc
IDatabase db 
)
This language is not supported or no code example is available.
public:  
static EntityID^ AddChange( 
ServerID^ server_id
EntityID^ file_id
int version
EntityID^ user_id
FileChangeType change_type
String^ change_message
DateTime file_modified_utc
IDatabase^ db 
)
This language is not supported or no code example is available.
public static function AddChange( 
server_id : ServerID
file_id : EntityID
version : int
user_id : EntityID
change_type : FileChangeType
change_message : String
file_modified_utc : DateTime
db : IDatabase 
) : EntityID;
This language is not supported or no code example is available.

Parameters

server_id
Type: ServerID

file_id
Type: EntityID

the id of the file we're registering a change for

version
Type: int

the version number

user_id
Type: EntityID

the id of the user making the change

change_type
Type: FileChangeType

<default>

change_message
Type: string

<default>

file_modified_utc
Type: DateTime

the last time the file was modified

db
Type: IDatabase

the database connection

Return Value

Type: EntityID

the id of the change

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1