Поделиться через


Свойство SqlServerName

Gets or sets a String that contains the name of the SQL Server to which you want to make the SMO connection.

Пространство имен:  Microsoft.SqlServer.Dts.ManagedConnections
Сборка:  Microsoft.SqlServer.ManagedConnections (в Microsoft.SqlServer.ManagedConnections.dll)

Синтаксис

'Декларация
Public Property SqlServerName As String
    Get
    Set
'Применение
Dim instance As SMOServerConn
Dim value As String

value = instance.SqlServerName

instance.SqlServerName = value
public string SqlServerName { get; set; }
public:
property String^ SqlServerName {
    String^ get ();
    void set (String^ value);
}
member SqlServerName : string with get, set
function get SqlServerName () : String
function set SqlServerName (value : String)

Значение свойства

Тип: System. . :: . .String
A String that contains the name of the SQL Server to connect to as an SMO connection.