Cadcorp SIS API Methods

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
True    Attempt to get the ownership of the dataset.
False    Disown the dataset.

Remarks

Available: GEO MM ME MD 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.


Send comments on this topic.

Click to return to www.cadcorp.com

© Copyright 2000-2017 Computer Aided Development Corporation Limited (Cadcorp).