OwnDataset Method
Description
Sets the ownership of a dataset.
Syntax
| Visual Basic |
|---|
Public Function OwnDataset( _ ByVal dataset As String, _ ByVal own As Integer _ ) As Integer |
Parameters
- dataset
- The filename of the dataset whose ownership is to be changed.
- own
-
TrueAttempt to get the ownership of the dataset. FalseDisown the dataset.
Remarks
Available: GEO D OD OM SISpy
Group:
Example
sis.OwnDataset ("c:\data\property.bds", True)
This will give the user ownership of the dataset c:\data\property.bds. To get ownership, you will need to have editable access to the dataset.