Export (0) Print
Expand All

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)

[SfcKeyAttribute()]
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::ReadOnlyAfterCreation|SfcPropertyFlags::Standalone|SfcPropertyFlags::Design|SfcPropertyFlags::Matrix)]
public:
virtual property String^ Name {
	String^ get ();
	void set (String^ value);
}

Property Value

Type: String
A String value that specifies the name of the object.

NoteNote

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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft