Contains the members used when enumerating over SQL Server Management Objects (SMO). This class cannot be inherited.
The following tables list the members exposed by the ForEachSMOEnumerator type.
Public Constructors
| 名称 | Description | |
|---|---|---|
| ForEachSMOEnumerator | Initializes a new instance of the ForEachSMOEnumerator class. | 
顶部
Public Properties
| 名称 | Description | |
|---|---|---|
| .gif) | CollectionEnumerator | Gets or sets Boolean that indicates if the foreach loop enumerator is enumerating collections of objects or enumerating collections of collections. (inherited from ForEachEnumerator) | 
| .gif) | EnumURN | Gets or sets a String that contains the SMO enumeration Uniform Resource Name (URN) for the selected enumeration. | 
| .gif) | Version | Returns the version number of the package. This property is read-only. (inherited from ForEachEnumerator) | 
顶部
Public Methods
(see also Protected Methods )
| 名称 | Description | |
|---|---|---|
| .gif) | CanUpdate | (inherited from ForEachEnumerator ) | 
| .gif) | Equals | Overloaded. (inherited from DtsObject ) | 
| .gif) | GetEnumerator | Overridden. Returns an enumerator that can iterate through the ForEachSMOEnumerator instance. | 
| .gif) | GetHashCode | Returns the hash code for this instance. (inherited from DtsObject) | 
| .gif) | GetType | (inherited from Object ) | 
| .gif) | InitializeForEachEnumerator | (inherited from ForEachEnumerator ) | 
| .gif) | LoadFromXML | This method is not callable by your application code. To load a package saved as .xml, use the Application.LoadPackage method. | 
| .gif) .gif) | op_Equality | (inherited from DtsObject ) | 
| .gif) .gif) | op_Inequality | (inherited from DtsObject ) | 
| .gif) .gif) | ReferenceEquals | (inherited from Object ) | 
| .gif) | SaveToXML | This method is not callable by your application code. To save a package as .xml, use the Application.SaveToXml method. | 
| .gif) | ToString | (inherited from Object ) | 
| .gif) | Update | (inherited from ForEachEnumerator ) | 
| .gif) | Validate | Overridden. Returns a value that indicates whether the container has invalid settings that will prevent it from running successfully. | 
顶部
Protected Methods
| 名称 | Description | |
|---|---|---|
| .gif) | Finalize | (inherited from Object ) | 
| .gif) | MemberwiseClone | (inherited from Object ) | 
顶部
请参阅
参考
ForEachSMOEnumerator Class
Microsoft.SqlServer.Dts.Runtime.Enumerators.SMO Namespace