다음을 통해 공유


ConnectionStringSettings.Name 속성

정의

이름을 가져오거나 설정합니다 ConnectionStringSettings .

public:
 property System::String ^ Name { System::String ^ get(); void set(System::String ^ value); };
[System.Configuration.ConfigurationProperty("name", DefaultValue="", Options=System.Configuration.ConfigurationPropertyOptions.IsKey | System.Configuration.ConfigurationPropertyOptions.IsRequired)]
public string Name { get; set; }
public string Name { get; set; }
[<System.Configuration.ConfigurationProperty("name", DefaultValue="", Options=System.Configuration.ConfigurationPropertyOptions.IsKey | System.Configuration.ConfigurationPropertyOptions.IsRequired)>]
member this.Name : string with get, set
member this.Name : string with get, set
Public Property Name As String

속성 값

속성에 할당된 문자열 값입니다 Name .

특성

예제

다음 예제에서는 속성을 사용 하는 방법을 보여 있습니다 Name .

Console.WriteLine($"  Name: {cs.Name}");
Console.WriteLine("  Name: {0}", cs.Name)

적용 대상

추가 정보