WMIConn Class

Contains the methods and properties used by WMI connections.

Namespace:  Microsoft.SqlServer.Dts.ManagedConnections
Assembly:  Microsoft.SqlServer.ManagedConnections (in Microsoft.SqlServer.ManagedConnections.dll)

[DtsConnectionAttribute(ConnectionType = "WMI", LocalizationType = typeof(WMIConn), 
	ConnectionContact = "Microsoft Corporation", UITypeName = "Microsoft.DataTransformationServices.Design.WmiConnectionManagerUI, Microsoft.DataTransformationServices.Design, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91")]
public class WMIConn : ConnectionManagerBase, IDTSComponentPersist

The WMIConn type exposes the following members.

  NameDescription
Public methodWMIConn()Initializes a new instance of the WMIConn class.
Public methodWMIConn(String, String)Initializes a new instance of the WMIConn class, initializing the WMI server name and namespace.
Public methodWMIConn(Boolean, String, String)Initializes a new instance of the WMIConn class, initializing the authentication mode, user name, and password.
Public methodWMIConn(Boolean, String, String, String, String)Initializes a new instance of the WMIConn class, initializing the authentication mode, user name, password, server, and namespace.
Top

  NameDescription
Public propertyStatic memberConnectionDescriptionGets a description of the connection manager for the WMI connection.
Public propertyStatic memberConnectionDisplayNameReturns the localized display name of the connection.
Public propertyConnectionStringGets or sets the connection string for the WMI connection. (Overrides ConnectionManagerBase.ConnectionString.)
Public propertyNamespaceGets or sets the WMI namespace.
Public propertyPasswordSets the password for the connection, if you do not use Windows Authentication.
Public propertyProtectionLevelGets or sets a value, by using the DTSProtectionLevel enumeration, that enforces how the connection controls sensitive information. (Inherited from ConnectionManagerBase.)
Public propertyServerNameGets or sets the name of the server to connect to as a WMI connection.
Public propertySupportsDTCTransactionsReturns a Boolean that indicates if the connection supports Microsoft Distributed Transaction Coordinator (MS DTC) transactions. (Inherited from ConnectionManagerBase.)
Public propertyUserNameGets or sets the user name for the connection, if you do not use Windows Authentication.
Public propertyUseWindowsAuthGets or sets a Boolean that indicates if Windows Authentication is used for the connection.
Public propertyVersionReturns the version of this connection manager. (Inherited from ConnectionManagerBase.)
Top

  NameDescription
Public methodAcquireConnectionEstablishes the WMI connection and returns a connection object. (Overrides ConnectionManagerBase.AcquireConnection(Object).)
Public methodCanUpdateGets or sets a Boolean that determines whether a connection manager supports upgrading the connection XML to a newer version. (Inherited from ConnectionManagerBase.)
Public methodEqualsDetermines whether two object instances are equal. (Inherited from DtsObject.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCodeReturns the hash code for this instance. (Inherited from DtsObject.)
Public methodGetType (Inherited from Object.)
Public methodLoadFromXMLThis method is not callable by your application code. To load a package saved as .xml, use the Application.LoadPackage method.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodReleaseConnectionFrees the connection established during AcquireConnection. Called at design time and run time. (Inherited from ConnectionManagerBase.)
Public methodSaveToXMLThis method is not callable by your application code. To save a package as .xml, use the Application.SaveToXml method.
Public methodSetQualifierChanges a qualifier on the connection manager after the connection manager has been created, but before it is run. (Inherited from ConnectionManagerBase.)
Public methodToString (Inherited from Object.)
Public methodUpdateUpdates the XML persisted by a previous version of the connection manager. (Inherited from ConnectionManagerBase.)
Public methodValidateValidates the connection and returns an enumeration that indicates success or failure. (Inherited from ConnectionManagerBase.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show: