Bagikan melalui


EnvironmentReferenceCollection Class

Represents the collection for environment references.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Management.Sdk.Sfc.SfcCollection<EnvironmentReference, EnvironmentReference.Key, ProjectInfo>
    Microsoft.SqlServer.Management.Sdk.Sfc.SfcCollatedDictionaryCollection<EnvironmentReference, EnvironmentReference.Key, ProjectInfo>
      Microsoft.SqlServer.Management.IntegrationServices.EnvironmentReferenceCollection

Namespace:  Microsoft.SqlServer.Management.IntegrationServices
Assembly:  Microsoft.SqlServer.Management.IntegrationServices (in Microsoft.SqlServer.Management.IntegrationServices.dll)

Syntax

'Declaration
Public NotInheritable Class EnvironmentReferenceCollection _
    Inherits SfcCollatedDictionaryCollection(Of EnvironmentReference, EnvironmentReference.Key, ProjectInfo)
'Usage
Dim instance As EnvironmentReferenceCollection
public sealed class EnvironmentReferenceCollection : SfcCollatedDictionaryCollection<EnvironmentReference, EnvironmentReference.Key, ProjectInfo>
public ref class EnvironmentReferenceCollection sealed : public SfcCollatedDictionaryCollection<EnvironmentReference^, EnvironmentReference.Key^, ProjectInfo^>
[<SealedAttribute>]
type EnvironmentReferenceCollection =  
    class 
        inherit SfcCollatedDictionaryCollection<EnvironmentReference, EnvironmentReference.Key, ProjectInfo>
    end
public final class EnvironmentReferenceCollection extends SfcCollatedDictionaryCollection<EnvironmentReference, EnvironmentReference.Key, ProjectInfo>

The EnvironmentReferenceCollection type exposes the following members.

Properties

  Name Description
Public property Ascending (Inherited from SfcCollatedDictionaryCollection<EnvironmentReference, EnvironmentReference.Key, ProjectInfo>.)
Public property Count (Inherited from SfcCollatedDictionaryCollection<EnvironmentReference, EnvironmentReference.Key, ProjectInfo>.)
Protected property Initialized (Inherited from SfcCollection<EnvironmentReference, EnvironmentReference.Key, ProjectInfo>.)
Public property IsReadOnly (Inherited from SfcCollatedDictionaryCollection<EnvironmentReference, EnvironmentReference.Key, ProjectInfo>.)
Public property IsSynchronized (Inherited from SfcCollection<EnvironmentReference, EnvironmentReference.Key, ProjectInfo>.)
Public property Item[K] (Inherited from SfcCollection<EnvironmentReference, EnvironmentReference.Key, ProjectInfo>.)
Public property Item[String, String] Gets the environment reference from the environment reference collection based upon the specified name and environment folder name.
Protected property Parent (Inherited from SfcCollection<EnvironmentReference, EnvironmentReference.Key, ProjectInfo>.)
Public property SyncRoot (Inherited from SfcCollection<EnvironmentReference, EnvironmentReference.Key, ProjectInfo>.)

Top

Methods

  Name Description
Public method Add(String) Adds a local reference to an environment under the current folder with the specified environment name.
Public method Add(T) (Inherited from SfcCollection<EnvironmentReference, EnvironmentReference.Key, ProjectInfo>.)
Public method Add(String, String) Adds a reference to an environment with the specified environment name and folder name.
Public method Clear (Inherited from SfcCollatedDictionaryCollection<EnvironmentReference, EnvironmentReference.Key, ProjectInfo>.)
Public method Contains(T) (Inherited from SfcCollatedDictionaryCollection<EnvironmentReference, EnvironmentReference.Key, ProjectInfo>.)
Public method Contains(T) (Inherited from SfcCollatedDictionaryCollection<EnvironmentReference, EnvironmentReference.Key, ProjectInfo>.)
Public method Contains(String, String) Returns a value that indicates whether the environment reference collection contains the specified name and environment folder name.
Public method CopyTo(Array, Int32) (Inherited from SfcCollection<EnvironmentReference, EnvironmentReference.Key, ProjectInfo>.)
Public method CopyTo(array<T[], Int32) (Inherited from SfcCollatedDictionaryCollection<EnvironmentReference, EnvironmentReference.Key, ProjectInfo>.)
Public method Equals (Inherited from Object.)
Public method GetEnumerator (Inherited from SfcCollatedDictionaryCollection<EnvironmentReference, EnvironmentReference.Key, ProjectInfo>.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method Refresh() (Inherited from SfcCollection<EnvironmentReference, EnvironmentReference.Key, ProjectInfo>.)
Public method Refresh(Boolean) (Inherited from SfcCollection<EnvironmentReference, EnvironmentReference.Key, ProjectInfo>.)
Public method Remove(T) (Inherited from SfcCollatedDictionaryCollection<EnvironmentReference, EnvironmentReference.Key, ProjectInfo>.)
Public method Remove(String, String) Removes a reference specified by the environment name and the environment folder name.
Protected method RemoveInternal (Inherited from SfcCollection<EnvironmentReference, EnvironmentReference.Key, ProjectInfo>.)
Protected method Rename (Inherited from SfcCollection<EnvironmentReference, EnvironmentReference.Key, ProjectInfo>.)
Public method ToString (Inherited from Object.)
Public method TryGetValue (Inherited from SfcCollatedDictionaryCollection<EnvironmentReference, EnvironmentReference.Key, ProjectInfo>.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method ISfcCollection.Add (Inherited from SfcCollection<EnvironmentReference, EnvironmentReference.Key, ProjectInfo>.)
Explicit interface implemetationPrivate method ISfcCollection.AddShadow (Inherited from SfcCollection<EnvironmentReference, EnvironmentReference.Key, ProjectInfo>.)
Explicit interface implemetationPrivate method IComparer<K>.Compare (Inherited from SfcCollatedDictionaryCollection<EnvironmentReference, EnvironmentReference.Key, ProjectInfo>.)
Explicit interface implemetationPrivate property IListSource.ContainsListCollection (Inherited from SfcCollection<EnvironmentReference, EnvironmentReference.Key, ProjectInfo>.)
Explicit interface implemetationPrivate property ISfcCollection.Count (Inherited from SfcCollection<EnvironmentReference, EnvironmentReference.Key, ProjectInfo>.)
Explicit interface implemetationPrivate method ISfcCollection.EnsureInitialized (Inherited from SfcCollection<EnvironmentReference, EnvironmentReference.Key, ProjectInfo>.)
Explicit interface implemetationPrivate method ISfcCollection.FinishMerge (Inherited from SfcCollection<EnvironmentReference, EnvironmentReference.Key, ProjectInfo>.)
Explicit interface implemetationPrivate method ISfcCollection.GetCollectionElementNameImpl (Inherited from SfcCollection<EnvironmentReference, EnvironmentReference.Key, ProjectInfo>.)
Explicit interface implemetationPrivate method ISfcCollection.GetElementFactory (Inherited from SfcCollection<EnvironmentReference, EnvironmentReference.Key, ProjectInfo>.)
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator (Inherited from SfcCollection<EnvironmentReference, EnvironmentReference.Key, ProjectInfo>.)
Explicit interface implemetationPrivate method ISfcCollection.GetExisting (Inherited from SfcCollection<EnvironmentReference, EnvironmentReference.Key, ProjectInfo>.)
Explicit interface implemetationPrivate method IListSource.GetList (Inherited from SfcCollection<EnvironmentReference, EnvironmentReference.Key, ProjectInfo>.)
Explicit interface implemetationPrivate method ISfcCollection.GetObjectByKey (Inherited from SfcCollection<EnvironmentReference, EnvironmentReference.Key, ProjectInfo>.)
Explicit interface implemetationPrivate property ISfcCollection.Initialized (Inherited from SfcCollection<EnvironmentReference, EnvironmentReference.Key, ProjectInfo>.)
Explicit interface implemetationPrivate property ISfcCollection.Parent (Inherited from SfcCollection<EnvironmentReference, EnvironmentReference.Key, ProjectInfo>.)
Explicit interface implemetationPrivate method ISfcCollection.PrepareMerge (Inherited from SfcCollection<EnvironmentReference, EnvironmentReference.Key, ProjectInfo>.)
Explicit interface implemetationPrivate method ISfcCollection.Remove (Inherited from SfcCollection<EnvironmentReference, EnvironmentReference.Key, ProjectInfo>.)
Explicit interface implemetationPrivate method ISfcCollection.RemoveElement (Inherited from SfcCollection<EnvironmentReference, EnvironmentReference.Key, ProjectInfo>.)
Explicit interface implemetationPrivate method ISfcCollection.Rename (Inherited from SfcCollection<EnvironmentReference, EnvironmentReference.Key, ProjectInfo>.)

Top

Thread Safety

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

See Also

Reference

Microsoft.SqlServer.Management.IntegrationServices Namespace