Share via


SourceFullName property

Returns the full path name of the data source file. Returns an empty string for data sets with a HowCreated property of geoDataSetDemographic. Read-only String.

Applies to

Objects:  DataSet

Syntax

object.SourceFullName

Parameters

Part Description
object Required. An expression that returns a DataSet object.

Example

    Sub GetSourceName()
    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("Sales")
    'Check the name of the source file for the data set     MsgBox objDataSet.SourceFullName   End Sub