SqlConnectionInfo 클래스

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

상속 계층

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

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

구문

‘선언
<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

SqlConnectionInfo 유형에서 다음 멤버를 표시합니다.

생성자

  이름 설명
공용 메서드 SqlConnectionInfo() Initializes a new instance of the SqlConnectionInfo class.
공용 메서드 SqlConnectionInfo(String) Initializes a new instance of the SqlConnectionInfo class.
공용 메서드 SqlConnectionInfo(SqlConnectionInfo) Initializes a new instance of the SqlConnectionInfo class.
공용 메서드 SqlConnectionInfo(ServerConnection, ConnectionType) Initializes a new instance of the SqlConnectionInfo class.
공용 메서드 SqlConnectionInfo(String, String, String) Initializes a new instance of the SqlConnectionInfo class.

맨 위로 이동

속성

  이름 설명
공용 속성 AdditionalParameters Gets or sets the additional parameters for the connection.
공용 속성 ApplicationName Gets or sets the name of the application that is connected to the instance of SQL Server.
공용 속성 ConnectionProtocol Gets or sets the network protocol used by the connection to the instance of SQL Server.
공용 속성 ConnectionString Gets the connection string used when the connection is established with the instance of SQL Server. (SqlOlapConnectionInfoBase.ConnectionString을(를) 재정의함)
보호된 속성 ConnectionStringInternal Gets or sets the internal connection string. (SqlOlapConnectionInfoBase에서 상속됨)
공용 속성 ConnectionTimeout Gets or sets the number of seconds before a connection times out. (SqlOlapConnectionInfoBase에서 상속됨)
보호된 속성 ConnectionTimeoutInternal Gets or sets the internal connection timeout period in seconds. (SqlOlapConnectionInfoBase에서 상속됨)
공용 속성 DatabaseName Gets or sets the database with which the connection is established. (SqlOlapConnectionInfoBase에서 상속됨)
보호된 속성 DatabaseNameInternal Gets or sets the internal database name. (SqlOlapConnectionInfoBase에서 상속됨)
공용 속성 EncryptConnection Gets or sets the Boolean property value that specifies whether the connection information is encrypted.
보호된 속성 IntegratedSecurityInternal Gets or sets the Boolean property value that specifies whether the connection supports integrated security. (SqlOlapConnectionInfoBase에서 상속됨)
공용 속성 MaxPoolSize Gets or sets the maximum number of execution threads in a thread pool that the connection will accept.
공용 속성 MinPoolSize Gets or sets the minimum number of execution threads in a thread pool that the connection will accept.
공용 속성 PacketSize Gets or sets the network packet size used by the connection to send and receive data in bytes.
공용 속성 Password Gets or sets the password used to establish a connection. (SqlOlapConnectionInfoBase에서 상속됨)
공용 속성 PoolConnectionLifeTime Gets or sets the pool connection period in seconds.
공용 속성 Pooled Gets or sets the SqlBoolean property value that specifies whether the connection is pooled.
공용 속성 QueryTimeout Gets or sets the number of seconds before a query times out. (SqlOlapConnectionInfoBase에서 상속됨)
보호된 속성 QueryTimeoutInternal Gets or sets the internal query timeout period in seconds. (SqlOlapConnectionInfoBase에서 상속됨)
보호된 속성 RebuildConnectionStringInternal Gets or sets a Boolean indicating whether the internal connection string must be rebuilt. (SqlOlapConnectionInfoBase에서 상속됨)
공용 속성 SecurePassword Gets or sets the secure password used to establish a connection. (SqlOlapConnectionInfoBase에서 상속됨)
공용 속성 ServerCaseSensitivity Gets or sets the server case sensitivity for the connection. (ConnectionInfoBase에서 상속됨)
공용 속성 ServerName Gets or sets the name of the instance of SQL Server. (SqlOlapConnectionInfoBase에서 상속됨)
보호된 속성 ServerNameInternal Gets or sets the internal name of the instance of SQL Server. (SqlOlapConnectionInfoBase에서 상속됨)
공용 속성 ServerType Gets or sets the server connection type. (ConnectionInfoBase에서 상속됨)
공용 속성 ServerVersion Gets or sets the version information about the instance of SQL Server. (ConnectionInfoBase에서 상속됨)
공용 속성 UseIntegratedSecurity Gets or sets the Boolean property value that specifies whether the connection uses integrated security. (SqlOlapConnectionInfoBase에서 상속됨)
공용 속성 UserName Gets or sets the user that is connecting to the instance of SQL Server. (SqlOlapConnectionInfoBase에서 상속됨)
공용 속성 WorkstationId Gets or sets the value that uniquely identifies the client workstation.

맨 위로 이동

메서드

  이름 설명
보호된 메서드 ConnectionParmsChanged Changes the connection parameters. (SqlOlapConnectionInfoBase에서 상속됨)
공용 메서드 Copy Returns a copy of the SqlConnectionInfo object.
공용 메서드 CreateConnectionObject Creates a system connection object. (SqlOlapConnectionInfoBase.CreateConnectionObject()을(를) 재정의함)
공용 메서드 Equals (Object에서 상속됨)
보호된 메서드 Finalize (Object에서 상속됨)
공용 메서드 GetHashCode (Object에서 상속됨)
공용 메서드 GetType (Object에서 상속됨)
보호된 메서드 MemberwiseClone (Object에서 상속됨)
공용 메서드 ToString Returns the SqlConnectionInfo object in string format. (SqlOlapConnectionInfoBase.ToString()을(를) 재정의함)

맨 위로 이동

필드

  이름 설명
공용 필드정적 멤버 DefaultNetworkProtocol The NetworkProtocol object that specifies the default network protocol for the connection.

맨 위로 이동

주의

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

스레드 보안

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

참고 항목

참조

Microsoft.SqlServer.Management.Common 네임스페이스