Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Contains the methods and properties used by SMO connections.
The following tables list the members exposed by the SMOServerConn type.
Public Constructors
Name | Description | |
---|---|---|
SMOServerConn | Overloaded. Initializes a new instance of the SMOServerConn class. |
Top
Public Properties
Name | Description | |
---|---|---|
![]() ![]() |
ConnectionDescription | Gets the description of the connection manager for the SMO connection. |
![]() ![]() |
ConnectionDisplayName | Returns the localized display name of the connection. |
![]() |
ConnectionString | Overridden. Gets or sets the connection string for the SMO connection. |
![]() |
Password | Sets the password for the connection, if you do not use Windows Authentication. |
![]() |
ProtectionLevel | Gets or sets a value, by using the DTSProtectionLevel enumeration, that enforces how the connection controls sensitive information. (inherited from ConnectionManagerBase) |
![]() |
SqlServerName | Gets or sets a String that contains the name of the SQL Server to which you want to make the SMO connection. |
![]() |
SupportsDTCTransactions | Returns a Boolean that indicates if the connection supports Microsoft Distributed Transaction Coordinator (MS DTC) transactions. (inherited from ConnectionManagerBase) |
![]() |
UserName | Gets or sets the user name for the connection, if you do not use Windows Authentication. |
![]() |
UseWindowsAuthentication | Gets or sets a Boolean that indicates if Windows Authentication is used for the connection. |
![]() |
Version | Returns the version of this connection manager. (inherited from ConnectionManagerBase) |
Top
Public Methods
(see also Protected Methods )
Name | Description | |
---|---|---|
![]() |
AcquireConnection | Overridden. Establishes the SMO connection and returns a connection object. |
![]() |
CanUpdate | (inherited from ConnectionManagerBase ) |
![]() |
Equals | Overloaded. (inherited from DtsObject ) |
![]() |
GetHashCode | Returns the hash code for this instance. (inherited from DtsObject) |
![]() |
GetType | (inherited from Object ) |
![]() |
LoadFromXML | This method is not callable by your application code. To load a package saved as .xml, use the Application.LoadPackage method. |
![]() ![]() |
op_Equality | (inherited from DtsObject ) |
![]() ![]() |
op_Inequality | (inherited from DtsObject ) |
![]() ![]() |
ReferenceEquals | (inherited from Object ) |
![]() |
ReleaseConnection | (inherited from ConnectionManagerBase ) |
![]() |
SaveToXML | This method is not callable by your application code. To save a package as .xml, use the Application.SaveToXml method. |
![]() |
SetQualifier | (inherited from ConnectionManagerBase ) |
![]() |
ToString | (inherited from Object ) |
![]() |
Update | (inherited from ConnectionManagerBase ) |
![]() |
Validate | (inherited from ConnectionManagerBase ) |
Top
Protected Methods
Name | Description | |
---|---|---|
![]() |
Finalize | (inherited from Object ) |
![]() |
MemberwiseClone | (inherited from Object ) |
Top
See Also
Reference
SMOServerConn Class
Microsoft.SqlServer.Dts.ManagedConnections Namespace