共用方式為


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.