ConnectionSettings.ServerInstance 属性

定义

对象将连接到的SQL Server的名称。 如果未设置,则隐含本地服务器。 异常:ConnectionCannotBeChangedException InvalidPropertyValueException

public string ServerInstance { get; set; }
member this.ServerInstance : string with get, set
Public Property ServerInstance As String

属性值

适用于