다음을 통해 공유


SqlConnectionInfo 클래스

The SqlConnectionInfo object represents information that is required to establish a connection to an instance of SQL Server.

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

구문

‘선언
<SerializableAttribute> _
<ComVisibleAttribute(False)> _
Public Class SqlConnectionInfo _
    Inherits SqlOlapConnectionInfoBase
‘사용 방법
Dim instance As SqlConnectionInfo
[SerializableAttribute]
[ComVisibleAttribute(false)]
public class SqlConnectionInfo : SqlOlapConnectionInfoBase
[SerializableAttribute]
[ComVisibleAttribute(false)]
public ref class SqlConnectionInfo : public SqlOlapConnectionInfoBase
[<SerializableAttribute>]
[<ComVisibleAttribute(false)>]
type SqlConnectionInfo =  
    class
        inherit SqlOlapConnectionInfoBase
    end
public class SqlConnectionInfo extends SqlOlapConnectionInfoBase

주의

The SqlConnectionInfo object can be passed as a parameter when constructing the ServerConnection object to provide connection information.

상속 계층 구조

System. . :: . .Object
  Microsoft.SqlServer.Management.Common. . :: . .ConnectionInfoBase
    Microsoft.SqlServer.Management.Common. . :: . .SqlOlapConnectionInfoBase
      Microsoft.SqlServer.Management.Common..::..SqlConnectionInfo

스레드로부터의 안전성

이 형식의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.