SMOServerConn.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.

请参阅

参考

SMOServerConn 类

Microsoft.SqlServer.Dts.ManagedConnections 命名空间