Поделиться через


Элементы ServerAliasCollection

The ServerAliasCollection class represents a collection of ServerAlias objects that represent all the SQL Server aliases defined on the parent object.

Тип ServerAliasCollection предоставляет доступ к следующим элементам.

Методы

  Имя Описание
Защищенный метод Add Adds the specified object to the referenced collection. (Наследуется из WmiCollectionBase.)
Открытый метод Contains Checks whether the specified key value exists in the collection.
Открытый метод CopyTo Copies the collection objects to a one-dimensional array beginning at the index value specified.
Открытый метод Equals (Наследуется из Object.)
Защищенный метод Finalize (Наследуется из Object.)
Открытый метод GetEnumerator Returns an IEnumerator interface that allows you to iterate through the objects in the collection.
Открытый метод GetHashCode (Наследуется из Object.)
Открытый метод GetType (Наследуется из Object.)
Защищенный метод MemberwiseClone (Наследуется из Object.)
Защищенный метод Remove Removes the specified object from the referenced collection. (Наследуется из WmiCollectionBase.)
Открытый метод ToString (Наследуется из Object.)

В начало

Поля

  Имя Описание
Защищенное поле initialized (Наследуется из WmiCollectionBase.)
Защищенное поле innerColl (Наследуется из WmiCollectionBase.)

В начало

Свойства

  Имя Описание
Открытое свойство Count Gets the number of ServerAlias objects in the referenced collection.
Открытое свойство IsSynchronized Gets the Boolean property value that specifies whether access to the collection is synchronized (thread safe). (Наследуется из WmiCollectionBase.)
Открытое свойство Item[ ( [ ( Int32] ) ] ) Gets a ServerAlias object in the collection by index number.
Открытое свойство Item[ ( [ ( String] ) ] ) Gets a ServerAlias object in the collection by name.
Открытое свойство Parent Gets the ManagedComputer object that is the parent of the ServerAliasCollection object.
Открытое свойство SyncRoot Gets an object that can be used to synchronize access to the collection. (Наследуется из WmiCollectionBase.)

В начало

Явные реализации интерфейса

  Имя Описание
Явная реализация интерфейсаЗакрытый метод ICollection. . :: . .CopyTo

В начало