Microsoft SDK for Java

getName

This method of the AdoProperty class retrieves the name of an object.

The value is read/write on a Command or Parameter object and read-only on an AdoProperty or Field object.

For Parameter objects not yet appended to the Parameters collection, the name is read/write. For appended Parameter objects and all other objects, the name is read-only. Names do not have to be unique within a collection.

You can retrieve the name of an object by an ordinal reference, after which you can refer to the object directly by name.

Syntax

public String getName();

© 1999 Microsoft Corporation. All rights reserved. Terms of use.