SyncId.GetStringId Method
Gets a string sync ID.
Namespace: Microsoft.Synchronization
Assembly: Microsoft.Synchronization (in Microsoft.Synchronization.dll)
Syntax
'Declaration
Public Function GetStringId As String
'Usage
Dim instance As SyncId
Dim returnValue As String
returnValue = instance.GetStringId()
public string GetStringId()
public:
String^ GetStringId()
member GetStringId : unit -> string
public function GetStringId() : String
Return Value
Type: System.String
The sync ID if it is a variable-length string; otherwise, throws InvalidOperationException.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | This SyncId object is not variable length. |