Поделиться через


Свойство Name

Возвращает или задает имя элемента в базе данных сервера отчетов.

Пространство имен:  ReportService2005
Сборка:  ReportService2005 (в ReportService2005.dll)

Синтаксис

'Декларация
Public Property Name As String
    Get
    Set
'Применение
Dim instance As CatalogItem
Dim value As String

value = instance.Name

instance.Name = value
public string Name { get; set; }
public:
property String^ Name {
    String^ get ();
    void set (String^ value);
}
member Name : string with get, set
function get Name () : String
function set Name (value : String)

Значение свойства

Тип: System. . :: . .String
Значение String, содержащее имя элемента в базе данных сервера отчетов.

Замечания

The Name property does not include the full path name of the item. To retrieve the full path name of an item, use the Path property.

You can modify the Name property of an item using the MoveItem method. Attempting to modify the Name property using the SetProperties method results in an exception with error code rsReadOnlyProperty.