Freigeben über


SMOServerConn.SqlServerName-Eigenschaft

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

Namespace:  Microsoft.SqlServer.Dts.ManagedConnections
Assembly:  Microsoft.SqlServer.ManagedConnections (in Microsoft.SqlServer.ManagedConnections.dll)

Syntax

'Declaration
Public Property SqlServerName As String 
    Get 
    Set
'Usage
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)

Eigenschaftswert

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

Siehe auch

Verweis

SMOServerConn Klasse

Microsoft.SqlServer.Dts.ManagedConnections-Namespace