Class FeatureClassNameClass

Namespace
ESRI.ArcGIS.Geodatabase
Assembly
ESRI.Server.Geodatabase.dll
[ClassInterface(ClassInterfaceType.None)]
[Guid("198846D0-CA42-11D1-AA7C-00C04FA33A15")]
public class FeatureClassNameClass : FeatureClassName, IName, IDatasetName2, IDatasetName, ITableName, IObjectClassName, IFeatureClassName, ITopologyClassName, IModelInfo, IPersistStream, IPersist, IMetadata, IMetadataEdit, INativeTypeInfo, ISQLPrivilege
Inheritance
FeatureClassNameClass
Implements
Inherited Members

Constructors

FeatureClassNameClass()

public FeatureClassNameClass()

Explicit Interface Implementations

CanEditMetadata

Indicates if metadata can be edited.

virtual bool CanEditMetadata { get; }

Returns

bool

Remarks

This property is available to those objects that support metadata.

Category

The category of the dataset.

virtual string Category { get; set; }

Returns

string

ControllerName

Add a DatasetName.

virtual IDatasetName ControllerName { set; }

Returns

IDatasetName

ControllerNames[esriDatasetType]

The names of the dataset of the specified type.

virtual IEnumDatasetName ControllerNames[esriDatasetType DatasetType] { get; }

Parameters

DatasetType esriDatasetType

Returns

IEnumDatasetName

FeatureDatasetName

The Feature Dataset Name object.

virtual IDatasetName FeatureDatasetName { get; set; }

Returns

IDatasetName

FeatureType

The feature type for this feature class name.

virtual esriFeatureType FeatureType { get; set; }

Returns

esriFeatureType

GetClassID(out Guid)

virtual void GetClassID(out Guid pClassID)

Parameters

pClassID Guid

GetSizeMax(out _ULARGE_INTEGER)

virtual void GetSizeMax(out _ULARGE_INTEGER pcbSize)

Parameters

pcbSize _ULARGE_INTEGER

Grant(string, int, bool)

Grants privileges for the database user.

virtual void Grant(string UserName, int privileges, bool withGrant)

Parameters

UserName string
privileges int
withGrant bool

IDatasetName2_Category

virtual string IDatasetName2_Category { get; set; }

Returns

string

IDatasetName2_Name

virtual string IDatasetName2_Name { get; set; }

Returns

string

IDatasetName2_SubsetNames

virtual IEnumDatasetName IDatasetName2_SubsetNames { get; }

Returns

IEnumDatasetName

IDatasetName2_Type

virtual esriDatasetType IDatasetName2_Type { get; }

Returns

esriDatasetType

IDatasetName2_WorkspaceName

virtual IWorkspaceName IDatasetName2_WorkspaceName { get; set; }

Returns

IWorkspaceName

IPersistStream_GetClassID(out Guid)

virtual void IPersistStream_GetClassID(out Guid pClassID)

Parameters

pClassID Guid

IsDirty()

virtual void IsDirty()

Load(IStream)

virtual void Load(IStream pstm)

Parameters

pstm IStream

Metadata

The PropertySet containing metadata.

virtual IPropertySet Metadata { get; set; }

Returns

IPropertySet

Remarks

The variable to hold the data must be of IPropertySet data type.

The metadata property is frequently used to save, or update, changes to metadata documents that have taken place through methods available on the IPropertySet, IXmlPropertySet, and/or IXmlPropertySet2 interfaces.

ModelName

The model name of the field.

virtual string ModelName { get; set; }

Returns

string

Remarks

Returns the model name currently associated with the field or object class.

Name

The name of the dataset.

virtual string Name { get; set; }

Returns

string

NameString

The name string of the object.

virtual string NameString { get; set; }

Returns

string

Remarks

The NameString property is reserved for future use. When implemented, it will return a string representation of the locational component of the name object that may be persisted by applications.

NativeType

The native type.

virtual INativeType NativeType { get; }

Returns

INativeType

ObjectClassID

The object class ID.

virtual int ObjectClassID { get; }

Returns

int

Remarks

Each feature class or table registered with the geodatabase is an object class. Object classes have a unique ID which distinguishes them from other object classes in the geodatabase. The ObjectClassID property returns this ID as an integer. The object class ID is assigned by the system when the class is created, or registered with the geodatabase, it cannot be modified.

Tables that are in the database, but not registered with the geodatabase, will have an object class ID of -1.

Open()

Opens the object referred to by this name.

virtual object Open()

Returns

object

Remarks

The Open method lets you instantiate the actual object given the name object.

Note: Opening a feature class that participates in a topology or geometric network will also open all other feature classes participating in the topology or geometric network in memory.

Revoke(string, int)

Revokes privileges for the database user.

virtual void Revoke(string UserName, int privileges)

Parameters

UserName string
privileges int

Remarks

The esriSQLPrivilege enumeration defines privieges that that can be revoked with ISQLPrivilege:

Enumeration esriSQLPrivilege SQL Privileges

1 - esriSelectPrivilege

Select

2 - esriUpdatePrivilege

Update

4 - esriInsertPrivilege

Insert

8 - esriDeletePrivilege

Delete

The values may be bitwise OR'd together if more than one priviege applies (note that this is equal to summing the integer values). The dataset name could be a feature dataset, in which case the user would no longer have privileges on the contents of the feature dataset.

SQLPrivileges

The database privileges.

virtual int SQLPrivileges { get; }

Returns

int

Save(IStream, int)

virtual void Save(IStream pstm, int fClearDirty)

Parameters

pstm IStream
fClearDirty int

ShapeFieldName

The spatial column name for this feature class name.

virtual string ShapeFieldName { get; set; }

Returns

string

ShapeType

The feature class shape type.

virtual esriGeometryType ShapeType { get; set; }

Returns

esriGeometryType

SubsetNames

Subset names contained within this dataset name.

virtual IEnumDatasetName SubsetNames { get; }

Returns

IEnumDatasetName

Synchronize(esriMetadataSyncAction, int)

Updates metadata with the current properties; may create metadata if it doesn't already exist.

virtual void Synchronize(esriMetadataSyncAction action, int interval)

Parameters

action esriMetadataSyncAction
interval int

Remarks

The following actions will result in synchronization given each of the listed conditions:

Action Metadata status Esri/Sync element Interval parameter
esriMSAAccessed Doesn't matter Must not be FALSE Must be less than actual interval
esriMSAAlways Doesn't matter Doesn't matter Doesn't matter
esriMSACreated Must not exist Must not be FALSE Must be less than actual interval
esriMSANotCreated Must exist Must not be FALSE Must be less than actual interval
esriMSAOverwrite Doesn't matter Doesn't matter Doesn't matter

The difference between esriMSAAlways and esriMSAOverwrite lies in which elements are synchronized. esriMSAAlways will honor the removal or value change of an element's Sync attribute (to disable synchronization), whereas using esriMSAOverwrite is equivalent to setting the IXmlPropertySet2.OverwriteSyncAttribute to true for the metadata's property set, meaning that even elements without a Sync attribute of TRUE will be synchronized.

TopologyName

The Topology Name object.

virtual ITopologyName TopologyName { get; set; }

Returns

ITopologyName

Remarks

The Name object of a Topology.

Type

The type of the dataset.

virtual esriDatasetType Type { get; }

Returns

esriDatasetType

WorkspaceName

The WorkspaceName of the DatasetName.

virtual IWorkspaceName WorkspaceName { get; set; }

Returns

IWorkspaceName

Remarks

<P><FONT face=Verdana size=2>A workspace name specifies a workspace object and can be used to instantiate it. The workspace is specified using the connection properties for the workspace.  </FONT><FONT face=Verdana size=2>A workspace name is a key component of any dataset name for datasets in the workspace.</FONT></P> <P></P>