IsLinked property
Returns whether the DataSet object is linked. Always False for data sets with a HowCreated property of geoDataSetDemographic. Read-only Boolean.
Applies to
Objects: DataSet
Syntax
object.IsLinked
Parameters
Part | Description |
---|---|
object | Required. An expression that returns a DataSet object. |
Example
Sub ReturnIsLinked()
Dim objApp As New MapPoint.Application
Dim objDataSet As MapPoint.DataSet
objApp.Visible = True
objApp.UserControl = True
Set objDataSet = objApp.OpenMap(objApp.Path & "\Samples\Clients.ptm").DataSets("Clients")
'Check the link status of the data set
If objDataSet.IsLinked Then
MsgBox "Set is linked."
Else
MsgBox "Set is not linked."
End If
End Sub