Nota:
El acceso a esta página requiere autorización. Puede intentar iniciar sesión o cambiar directorios.
El acceso a esta página requiere autorización. Puede intentar cambiar los directorios.
Initializes a new instance of the SMOServerConn class, initializing the authentication mode, user name, password, and server.
Espacio de nombres: Microsoft.SqlServer.Dts.ManagedConnections
Ensamblado: Microsoft.SqlServer.ManagedConnections (in microsoft.sqlserver.managedconnections.dll)
Sintaxis
'Declaración
Public Sub New ( _
bUseWindowsAuthentication As Boolean, _
UserName As String, _
Password As String, _
SqlServerName As String _
)
public SMOServerConn (
bool bUseWindowsAuthentication,
string UserName,
string Password,
string SqlServerName
)
public:
SMOServerConn (
bool bUseWindowsAuthentication,
String^ UserName,
String^ Password,
String^ SqlServerName
)
public SMOServerConn (
boolean bUseWindowsAuthentication,
String UserName,
String Password,
String SqlServerName
)
public function SMOServerConn (
bUseWindowsAuthentication : boolean,
UserName : String,
Password : String,
SqlServerName : String
)
Parámetros
- 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.
- SqlServerName
The name of the server to which you want to make the SMO connection.
Plataformas
Plataformas de desarrollo
Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.
Plataformas de destino
Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.
Vea también
Referencia
SMOServerConn Class
SMOServerConn Members
Microsoft.SqlServer.Dts.ManagedConnections Namespace