共用方式為


ConnectionSettings.ServerInstance Property

Definition

The name of the SQL Server the object will connect to. If not set, the local server is implied. Exceptions: ConnectionCannotBeChangedException InvalidPropertyValueException

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

Property Value

Applies to