Partager via


SMOServerConn Constructor (Boolean, String, String)

Initializes a new instance of the SMOServerConn class, initializing the authentication mode, user name, and password.

Espace de noms: Microsoft.SqlServer.Dts.ManagedConnections
Assembly: Microsoft.SqlServer.ManagedConnections (in microsoft.sqlserver.managedconnections.dll)

Syntaxe

'Déclaration
Public Sub New ( _
    bUseWindowsAuthentication As Boolean, _
    UserName As String, _
    Password As String _
)
public SMOServerConn (
    bool bUseWindowsAuthentication,
    string UserName,
    string Password
)
public:
SMOServerConn (
    bool bUseWindowsAuthentication, 
    String^ UserName, 
    String^ Password
)
public SMOServerConn (
    boolean bUseWindowsAuthentication, 
    String UserName, 
    String Password
)
public function SMOServerConn (
    bUseWindowsAuthentication : boolean, 
    UserName : String, 
    Password : String
)

Paramètres

  • bUseWindowsAuthentication
    A Boolean that specifies whether the connection manager uses Windows Authentication. true if Windows Authentication is used.
  • UserName
    The user name that the connection manager uses.
  • Password
    The password that the connection manager uses.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

SMOServerConn Class
SMOServerConn Members
Microsoft.SqlServer.Dts.ManagedConnections Namespace