Share via


ConnectionManagerAdoNetClass.ServerName Property

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Gets or sets the server name.

Namespace:  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly:  Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)

Syntax

'Declaration
Public Overridable Property ServerName As String 
    Get 
    Set
'Usage
Dim instance As ConnectionManagerAdoNetClass 
Dim value As String 

value = instance.ServerName

instance.ServerName = value
public virtual string ServerName { get; set; }
public:
virtual property String^ ServerName {
    String^ get ();
    void set (String^ value);
}
abstract ServerName : string with get, set 
override ServerName : string with get, set
function get ServerName () : String 
function set ServerName (value : String)

Property Value

Type: System.String
The server name.

Implements

IDTSConnectionManagerDatabaseParameters100.ServerName

Remarks

For more information, see ConnectionManager.

See Also

Reference

ConnectionManagerAdoNetClass Class

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace