ConnectionSettings.ServerInstance 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
对象将连接到的SQL Server的名称。 如果未设置,则隐含本地服务器。 异常:ConnectionCannotBeChangedException InvalidPropertyValueException
public string ServerInstance { get; set; }
member this.ServerInstance : string with get, set
Public Property ServerInstance As String