다음을 통해 공유


SqlServerName 속성

Gets or sets a String that contains the name of the SQL Server to which you want to make the SMO connection.

네임스페이스:  Microsoft.SqlServer.Dts.ManagedConnections
어셈블리:  Microsoft.SqlServer.ManagedConnections.dll의 Microsoft.SqlServer.ManagedConnections

구문

‘선언
Public Property SqlServerName As String
    Get
    Set
‘사용 방법
Dim instance As SMOServerConn
Dim value As String

value = instance.SqlServerName

instance.SqlServerName = value
public string SqlServerName { get; set; }
public:
property String^ SqlServerName {
    String^ get ();
    void set (String^ value);
}
member SqlServerName : string with get, set
function get SqlServerName () : String
function set SqlServerName (value : String)

속성 값

형식: System. . :: . .String
A String that contains the name of the SQL Server to connect to as an SMO connection.