WMIConn Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contains the methods and properties used by WMI connections.
public ref class WMIConn : Microsoft::SqlServer::Dts::Runtime::ConnectionManagerBase, Microsoft::SqlServer::Dts::Runtime::IDTSComponentPersist
[Microsoft.SqlServer.Dts.Runtime.DtsConnection(ConnectionContact="Microsoft Corporation", ConnectionType="WMI", LocalizationType=typeof(Microsoft.SqlServer.Dts.ManagedConnections.WMIConn), UITypeName="Microsoft.DataTransformationServices.Design.WmiConnectionManagerUI, Microsoft.DataTransformationServices.Design, Version=13.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91")]
public class WMIConn : Microsoft.SqlServer.Dts.Runtime.ConnectionManagerBase, Microsoft.SqlServer.Dts.Runtime.IDTSComponentPersist
[Microsoft.SqlServer.Dts.Runtime.DtsConnection(ConnectionContact="Microsoft Corporation", ConnectionType="WMI", LocalizationType=typeof(Microsoft.SqlServer.Dts.ManagedConnections.WMIConn), UITypeName="Microsoft.DataTransformationServices.Design.WmiConnectionManagerUI, Microsoft.DataTransformationServices.Design, Version=14.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91")]
public class WMIConn : Microsoft.SqlServer.Dts.Runtime.ConnectionManagerBase, Microsoft.SqlServer.Dts.Runtime.IDTSComponentPersist
[Microsoft.SqlServer.Dts.Runtime.DtsConnection(ConnectionContact="Microsoft Corporation", ConnectionType="WMI", LocalizationType=typeof(Microsoft.SqlServer.Dts.ManagedConnections.WMIConn), UITypeName="Microsoft.DataTransformationServices.Design.WmiConnectionManagerUI, Microsoft.DataTransformationServices.Design, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91")]
public class WMIConn : Microsoft.SqlServer.Dts.Runtime.ConnectionManagerBase, Microsoft.SqlServer.Dts.Runtime.IDTSComponentPersist
[<Microsoft.SqlServer.Dts.Runtime.DtsConnection(ConnectionContact="Microsoft Corporation", ConnectionType="WMI", LocalizationType=typeof(Microsoft.SqlServer.Dts.ManagedConnections.WMIConn), UITypeName="Microsoft.DataTransformationServices.Design.WmiConnectionManagerUI, Microsoft.DataTransformationServices.Design, Version=13.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91")>]
type WMIConn = class
inherit ConnectionManagerBase
interface IDTSComponentPersist
[<Microsoft.SqlServer.Dts.Runtime.DtsConnection(ConnectionContact="Microsoft Corporation", ConnectionType="WMI", LocalizationType=typeof(Microsoft.SqlServer.Dts.ManagedConnections.WMIConn), UITypeName="Microsoft.DataTransformationServices.Design.WmiConnectionManagerUI, Microsoft.DataTransformationServices.Design, Version=14.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91")>]
type WMIConn = class
inherit ConnectionManagerBase
interface IDTSComponentPersist
[<Microsoft.SqlServer.Dts.Runtime.DtsConnection(ConnectionContact="Microsoft Corporation", ConnectionType="WMI", LocalizationType=typeof(Microsoft.SqlServer.Dts.ManagedConnections.WMIConn), UITypeName="Microsoft.DataTransformationServices.Design.WmiConnectionManagerUI, Microsoft.DataTransformationServices.Design, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91")>]
type WMIConn = class
inherit ConnectionManagerBase
interface IDTSComponentPersist
Public Class WMIConn
Inherits ConnectionManagerBase
Implements IDTSComponentPersist
- Inheritance
- Attributes
- Implements
Constructors
WMIConn() |
Initializes a new instance of the WMIConn class. |
WMIConn(Boolean, String, String, String, String) |
Initializes a new instance of the WMIConn class, initializing the authentication mode, user name, password, server, and namespace. |
WMIConn(Boolean, String, String) |
Initializes a new instance of the WMIConn class, initializing the authentication mode, user name, and password. |
WMIConn(String, String) |
Initializes a new instance of the WMIConn class, initializing the WMI server name and namespace. |
Properties
AccessTokenProvider |
Gets or sets the access token provider used when acquiring connection. (Inherited from ConnectionManagerBase) |
ConnectionDescription |
Gets a description of the connection manager for the WMI connection. |
ConnectionDisplayName |
Returns the localized display name of the connection. |
ConnectionString |
Gets or sets the connection string for the WMI connection. |
Namespace |
Gets or sets the WMI namespace. |
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) |
Scope |
Gets the DTS connection manager scope for this ConnectionManagerBase object. (Inherited from ConnectionManagerBase) |
ServerName |
Gets or sets the name of the server to connect to as a WMI connection. |
SupportsDTCTransactions |
Returns a Boolean that indicates if the connection supports Microsoft Distributed Transaction Coordinator (MS DTC) transactions. (Inherited from ConnectionManagerBase) |
TargetServerVersion | (Inherited from ConnectionManagerBase) |
UserName |
Gets or sets the user name for the connection, if you do not use Windows Authentication. |
UseWindowsAuth |
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) |
Methods
AcquireConnection(Object) |
Establishes the WMI connection and returns a connection object. |
CanUpdate(String) |
Gets or sets a Boolean that determines whether a connection manager supports upgrading the connection XML to a newer version. (Inherited from ConnectionManagerBase) |
Equals(Object) |
Determines whether two object instances are equal. (Inherited from DtsObject) |
GetHashCode() |
Returns the hash code for this instance. (Inherited from DtsObject) |
LoadFromXML(XmlElement, IDTSInfoEvents) |
This method is not callable by your application code. To load a package saved as .xml, use the LoadPackage(String, IDTSEvents) method. |
ReleaseConnection(Object) |
Frees the connection established during AcquireConnection(Object). Called at design time and run time. (Inherited from ConnectionManagerBase) |
SaveToXML(XmlDocument, IDTSInfoEvents) |
This method is not callable by your application code. To save a package as .xml, use the SaveToXml(String, Package, IDTSEvents) method. |
SetQualifier(String) |
Changes a qualifier on the connection manager after the connection manager has been created, but before it is run. (Inherited from ConnectionManagerBase) |
Update(String) |
Updates the XML persisted by a previous version of the connection manager. (Inherited from ConnectionManagerBase) |
Validate(IDTSInfoEvents) |
Validates the connection and returns an enumeration that indicates success or failure. (Inherited from ConnectionManagerBase) |