Udostępnij za pośrednictwem


ServerProtocolCollection Members

The ServerProtocolCollection class represents a collection of ServerProtocol objects that represent all the server protocols defined on the parent object.

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

Protected Fields

  Name Description
ms220811.protfield(en-US,SQL.90).gif initialized  (inherited from WmiCollectionBase )
ms220811.protfield(en-US,SQL.90).gif innerColl  (inherited from WmiCollectionBase )

Top

Public Properties

  Name Description
ms220811.pubproperty(en-US,SQL.90).gif Count Gets the number of ServerProtocol objects in the referenced collection.
ms220811.pubproperty(en-US,SQL.90).gif IsSynchronized  Gets the Boolean property value that specifies whether access to the collection is synchronized (thread safe). (inherited from WmiCollectionBase)
ms220811.pubproperty(en-US,SQL.90).gif Item Overloaded.  
ms220811.pubproperty(en-US,SQL.90).gif Parent Gets the ServerInstance object that is the parent of the ServerProtocolCollection object.
ms220811.pubproperty(en-US,SQL.90).gif SyncRoot  Gets an object that can be used to synchronize access to the collection. (inherited from WmiCollectionBase)

Top

Public Methods

(see also Protected Methods )

  Name Description
ms220811.pubmethod(en-US,SQL.90).gif Contains Checks whether the specified key value exists in the collection.
ms220811.pubmethod(en-US,SQL.90).gif CopyTo Copies the collection objects to a one-dimensional array beginning at the index value specified.
ms220811.pubmethod(en-US,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms220811.pubmethod(en-US,SQL.90).gif GetEnumerator Returns an IEnumerator interface that allows you to iterate through the objects in the collection.
ms220811.pubmethod(en-US,SQL.90).gif GetHashCode  (inherited from Object )
ms220811.pubmethod(en-US,SQL.90).gif GetType  (inherited from Object )
ms220811.pubmethod(en-US,SQL.90).gifms220811.static(en-US,SQL.90).gif ReferenceEquals  (inherited from Object )
ms220811.pubmethod(en-US,SQL.90).gif ToString  (inherited from Object )

Top

Protected Methods

  Name Description
ms220811.protmethod(en-US,SQL.90).gif Add  (inherited from WmiCollectionBase )
ms220811.protmethod(en-US,SQL.90).gif Finalize  (inherited from Object )
ms220811.protmethod(en-US,SQL.90).gif MemberwiseClone  (inherited from Object )
ms220811.protmethod(en-US,SQL.90).gif Remove  (inherited from WmiCollectionBase )

Top

Explicit Interface Implementations

  Name Description
System.Collections.ICollection.CopyTo  

Top

See Also

Reference

ServerProtocolCollection Class
Microsoft.SqlServer.Management.Smo.Wmi Namespace

Other Resources

Using Collections