다음을 통해 공유


Name 속성

Gets the name of the DAC instance.

네임스페이스:  Microsoft.SqlServer.Management.Dac
어셈블리:  Microsoft.SqlServer.Management.Dac(Microsoft.SqlServer.Management.Dac.dll)

구문

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

value = instance.Name

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

속성 값

유형: System. . :: . .String
A String system value that specifies the name of the DAC instance.