Share via


ConnectionManagerAdoClass.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 name of the server.

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 ConnectionManagerAdoClass 
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 name of the server.

Implements

IDTSConnectionManagerDatabaseParameters100.ServerName

See Also

Reference

ConnectionManagerAdoClass Class

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace