Microsoft.Protocols.TestSuites.Common.Common.CreateInitialSyncRequest C# (CSharp) Method

CreateInitialSyncRequest() public static method

Create an initial Sync request.
public static CreateInitialSyncRequest ( string collectionId ) : SyncRequest
collectionId string The server id of the folder to be synchronized.
return SyncRequest
        public static SyncRequest CreateInitialSyncRequest(string collectionId)
        {
            Request.SyncCollection syncCollection = new Request.SyncCollection
            {
                CollectionId = collectionId,
                SyncKey = "0"
            };

            return Common.CreateSyncRequest(new Request.SyncCollection[] { syncCollection });
        }
Common