Microsoft.Protocols.TestSuites.MS_SHDACCWS.MS_SHDACCWSAdapter.IsOnlyClient C# (CSharp) Method

IsOnlyClient() public method

Specifies whether a co-authoring transition request was made for a document.
public IsOnlyClient ( Guid id ) : bool
id Guid The identifier(Guid) of the document in the server.
return bool
        public bool IsOnlyClient(Guid id)
        {
            bool isOnlyClient = false;
            isOnlyClient = this.service.IsOnlyClient(id.ToString("B"));

            // Capture requirements about transport.
            this.VerifyTransportProtocol();

            // If no exception thrown, capture requirement about schema of IsOnlyClient operation.
            this.VerifySchemaOfIsOnlyClientOperation();
            return isOnlyClient;
        }