Add a file change to the database
Namespace:
SynergyServerScripting.Entities
Assembly: SynergyServerScripting (in SynergyServerScripting.dll)
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.
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: EntityIDthe id of the change