共用方式為


ConnectionManagerBase Members

Represents the connection manager that accesses the Configuration Manager 2007 console for query operations made throughout the managed Configuration Manager libraries.

The following tables list the members exposed by the ConnectionManagerBase type.

Protected Constructors

  Name Description
  ConnectionManagerBase Overloaded.  

Top

Public Properties

  Name Description
public property AsyncQueryBatchSize Gets or sets the number of objects in a batch of the query result set that is retrieved from the data source for an asynchronous query.
public property Context Gets or sets the connection manager context.
public property ExecuteQueryBatchSize Gets or sets the number of objects in a batch of the query result set that is retrieved from the data source.
public property MaxVersion Gets or sets the maximum version of the management provider to which the application can connect.
public property MinVersion Gets or sets the minimum version of the management provider to which the application can connect.
public property NamedValueDictionary Gets the dictionary of named values for the connection manager.
public property QueryProcessor Gets the query processor for the connection manager.
public property ResultObjectsBatchSize Gets or sets the maximum number of result objects that were sent when processing OnFireQueryProcessorObjectsReady.
public property static SmsTraceSource Gets or sets the Configuration Manager trace source.
public property static SqmManager Gets the SQM manager. This property supports the Configuration Manager infrastructure and is not intended to be used directly from your code.
public property UniqueIdentifier Gets the unique identifier for the connection manager.
public property UserDataObject Gets or sets the user data for the root connection node.

Top

Public Methods

(see also Protected Methods)

  Name Description
public method Close Closes the connection manager and performs optional cleanup.
public method CommitSiteControlFileUpdates Commits site control file changes.
public method Connect Overloaded.  
public method CreateEmbeddedObjectInstance Creates an embedded object as an instance of the specified class.
public method CreateInstance Overloaded.  
public method Dispose Overloaded.  
public method Equals  Overloaded. (inherited from Object)
public method EscapeQueryString Prepares the specified query string to be sent to the provider. The method adds escape sequences so that any reserved characters in the query are maintained.
public method ExecuteMethod Overloaded.  
public method GetClassObject Gets the object corresponding to the named SMS Provider Windows Management Instrumentation (WMI) server class.
public method GetHashCode  (inherited from Object)
public method GetInstance Gets the WMI server class object that is indicated by the specified path.
public method GetPropertyNames Gets the names of properties that are defined by the specified class.
public method GetQualifierNames Overloaded.  
public method GetQualifierValue Overloaded.  
public method GetSubclasses Gets the subclasses of the specified class.
public method GetType  (inherited from Object)
public method IsQueryValid Determines whether the specified query is valid for the connection manager.
public methodstatic ReferenceEquals  (inherited from Object)
public method RefreshScf Refreshes the site control file.
public method ToString  (inherited from Object)
public method UpdateClassRightsToCache Updates the class rights to the cache.

Top

Protected Methods

  Name Description
protected method Dispose Overloaded.  
protected method Finalize  (inherited from Object)
protected method MemberwiseClone  (inherited from Object)
protected method RunInitializers Runs the initializers for the specified query processor and named values.

Top

See Also

Reference

ConnectionManagerBase Class
Microsoft.ConfigurationManagement.ManagementProvider Namespace

Other Resources

Managed SMS Provider Fundamentals in Configuration Manager
How to Connect to an SMS Provider in Configuration Manager by Using Managed Code