다음을 통해 공유


Name 속성

Gets or sets the name of the object.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo

구문

‘선언
<SfcKeyAttribute()> _
<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)> _
Public Overridable Property Name As String
    Get
    Set
‘사용 방법
Dim instance As NamedSmoObject
Dim value As String

value = instance.Name

instance.Name = value
[SfcKeyAttribute()]
[SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)]
public virtual string Name { get; set; }
[SfcKeyAttribute()]
[SfcPropertyAttribute(SfcPropertyFlags::ReadOnlyAfterCreation)]
public:
virtual property String^ Name {
    String^ get ();
    void set (String^ value);
}
[<SfcKeyAttribute()>]
[<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)>]
abstract Name : string with get, set
[<SfcKeyAttribute()>]
[<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)>]
override Name : string with get, set
function get Name () : String
function set Name (value : String)

속성 값

형식: System. . :: . .String
A String value that specifies the name of the object.

주의

[!참고]

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