Classe Connections
Contains a collection of ConnectionManager objects that are accessed through the Package object. This class cannot be inherited.
Gerarchia di ereditarietà
System.Object
Microsoft.SqlServer.Dts.Runtime.DTSReadOnlyCollectionBase
Microsoft.SqlServer.Dts.Runtime.Connections
Spazio dei nomi Microsoft.SqlServer.Dts.Runtime
Assembly: Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)
Sintassi
'Dichiarazione
Public NotInheritable Class Connections _
Inherits DTSReadOnlyCollectionBase
'Utilizzo
Dim instance As Connections
public sealed class Connections : DTSReadOnlyCollectionBase
public ref class Connections sealed : public DTSReadOnlyCollectionBase
[<SealedAttribute>]
type Connections =
class
inherit DTSReadOnlyCollectionBase
end
public final class Connections extends DTSReadOnlyCollectionBase
Nel tipo Connections sono esposti i membri seguenti.
Proprietà
Nome | Descrizione | |
---|---|---|
Count | Gets the number of elements contained in the DTSReadOnlyCollectionBase instance. Ereditato da DTSReadOnlyCollectionBase. | |
IsSynchronized | Gets a value that indicates whether access to the DTSReadOnlyCollectionBase is synchronized (thread-safe). Ereditato da DTSReadOnlyCollectionBase. | |
Item | Gets a ConnectionManager object from the Connections collection. | |
SyncRoot | Gets an object that can be used to synchronize access to the DTSReadOnlyCollectionBase. Ereditato da DTSReadOnlyCollectionBase. |
In alto
Metodi
Nome | Descrizione | |
---|---|---|
Add | Adds a ConnectionManager object of the specified connection type to the Connections collection. | |
Contains | Indicates whether the ConnectionManager items in the collection can be accessed by using indexing without throwing an exception. | |
CopyTo | Copies the entire DTSReadOnlyCollectionBase to a compatible one-dimensional array, starting at the specified index of the target array. Ereditato da DTSReadOnlyCollectionBase. | |
Equals | Ereditato da Object. | |
GetEnumerator | Returns a ConnectionEnumerator for use in iterating over the Connections collection. | |
GetHashCode | Ereditato da Object. | |
GetType | Ereditato da Object. | |
Join | Joins a connection to the list of connections. | |
Remove | Removes a ConnectionManager object from the Connections collection. | |
ToString | Ereditato da Object. |
In alto
Protezione dei thread
I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.