NamedSmoObject.Name Property
Gets or sets the name of the object.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Syntax
'Deklaracja
<SfcKeyAttribute(0)> _
<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)> _
Public Overridable Property Name As String
[SfcKeyAttribute(0)]
[SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)]
public virtual string Name { get; set; }
[SfcKeyAttribute(0)]
[SfcPropertyAttribute(SfcPropertyFlags::ReadOnlyAfterCreation)]
public:
virtual property String^ Name {
String^ get ();
void set (String^ value);
}
/** @property */
public String get_Name ()
/** @property */
public void set_Name (String value)
public function get Name () : String
public function set Name (value : String)
Property Value
A String value that specifies the name of the object.
Remarks
Uwaga
If the index is based on a UserDefinedTableType object, the name is always automatically system-generated regardless of the Name property value.
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.