Share via


SharedAccess.IsOnlyClient Method

Indicates whether the specified document file is in single-edit or co-authoring mode.

Namespace:  [SharedAccess Web service]
Web service reference: http://Site/_vti_bin/SharedAccess.asmx

Syntax

'Declaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sharepoint/soap/IsOnlyClient", RequestNamespace := "https://schemas.microsoft.com/sharepoint/soap/",  _
    ResponseNamespace := "https://schemas.microsoft.com/sharepoint/soap/",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function IsOnlyClient ( _
    id As Guid _
) As Boolean
'Usage
Dim instance As SharedAccess
Dim id As Guid
Dim returnValue As Boolean

returnValue = instance.IsOnlyClient(id)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sharepoint/soap/IsOnlyClient", RequestNamespace = "https://schemas.microsoft.com/sharepoint/soap/", 
    ResponseNamespace = "https://schemas.microsoft.com/sharepoint/soap/", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public bool IsOnlyClient(
    Guid id
)

Parameters

  • id
    Type: System.Guid

    Unique identifier of the document file.

Return Value

Type: System.Boolean
Returns BooleanTrue if the specified file is being edited by only one client, or if it is already in co-authoring mode. Returns false if a request has been made to transition to the co-authoring mode.

See Also

Reference

SharedAccess Class

SharedAccess Members

SharedAccess Web Service