Share via


DataSetSurrogate.DatasetName Property

Gets or sets the name of the data set that the DataSetSurrogate object represents.

Namespace:  Microsoft.Synchronization.Data
Assembly:  Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)

Syntax

'Declaration
Public Property DatasetName As String
    Get
    Set
'Usage
Dim instance As DataSetSurrogate
Dim value As String

value = instance.DatasetName

instance.DatasetName = value
public string DatasetName { get; set; }
public:
property String^ DatasetName {
    String^ get ();
    void set (String^ value);
}
member DatasetName : string with get, set
function get DatasetName () : String
function set DatasetName (value : String)

Property Value

Type: System.String
The name of the data set.

Exceptions

Exception Condition
ArgumentNullException

value is a null reference (Nothing in Visual Basic).

See Also

Reference

DataSetSurrogate Class

Microsoft.Synchronization.Data Namespace