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)

[SfcPropertyAttribute(SfcPropertyFlags.None | SfcPropertyFlags.ReadOnlyAfterCreation | SfcPropertyFlags.Standalone | SfcPropertyFlags.Design)]
[SfcKeyAttribute(0)]
public virtual string Name { get; set; }

Property Value

Type: System.String

A String value that specifies the name of the object.

System_CAPS_noteNote

If the index is based on a UserDefinedTableType object, the name is always automatically system-generated regardless of the Name property value.

Return to top
Show: