FileChange.AddChange Method

Add a file change to the database
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
ServerID

file_id
EntityID

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

version
int

the version number

user_id
EntityID

the id of the user making the change

change_type
FileChangeType

<default>

change_message
string

<default>

file_modified_utc
DateTime

the last time the file was modified

db
IDatabase

the database connection

Return Value

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

In this article

Definition