Partager via


Name propriété

Gets or sets the name of an item in the report server database.

Espace de noms :  ReportService2005
Assembly :  ReportService2005 (dans ReportService2005.dll)

Syntaxe

'Déclaration
Public Property Name As String
    Get
    Set
'Utilisation
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)

Valeur de la propriété

Type : System. . :: . .String
A String value containing the name of an item in the report server database.

Notes

The name can include spaces, but cannot include reserved characters that are used for URL encoding: ; ? : @ & = + , $ / * < > |.

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.