ConnectionString 属性(SqlServerAlias 类)ConnectionString Property (SqlServerAlias Class)

适用于:Applies to: 是SQL ServerSQL Server(所有支持的版本)yesSQL ServerSQL Server (all supported versions) 适用于:Applies to: 是SQL ServerSQL Server(所有支持的版本)yesSQL ServerSQL Server (all supported versions)

获取用于建立服务器连接别名连接的连接字符串。Gets the connection string that is used to establish the connection for the server connection alias.

语法Syntax

  
object.ConnectionString [= value]  

组成部分Parts

objectobject
一个表示别名的 SqlServerAlias 类 对象 SQL ServerSQL ServerA SqlServerAlias Class object that represents a SQL ServerSQL Server alias.

属性值/返回值Property Value/Return Value

一个字符串,指定用于建立服务器连接别名代表的连接的连接字符串。A string that specifies the connection string that is used to establish the connection for the server connection alias.

备注Remarks