DatabaseSegmentCollection Methods

 

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

Methods

Name Description
System_CAPS_pubmethod Add(DatabaseSegment)

Adds a segment database to the collection.

System_CAPS_protmethod AddExisting(SqlSmoObject)

Adds an object to the collection.(Inherited from AbstractCollectionBase.)

System_CAPS_pubmethod Contains(String)

Verifies whether the specified object exists in the collection.(Inherited from SimpleObjectCollectionBase.)

System_CAPS_pubmethod CopyTo(DatabaseSegment[], Int32)

Copies the elements of the collection to an array, starting at a particular array index.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetEnumerator()

Returns an IEnumerator interface that allows you to iterate through the objects in the collection. (Inherited from SmoCollectionBase.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod ItemById(Int32)

Gets the database segment in the collection identified by the segment ID value.

System_CAPS_pubmethod Refresh()

Refreshes the referenced collection.(Inherited from SmoCollectionBase.)

System_CAPS_pubmethod Refresh(Boolean)

Refreshes the referenced collection with the option to refresh child objects of the referenced collection.(Inherited from SmoCollectionBase.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Explicit Interface Implementations

Name Description
System_CAPS_pubinterfaceSystem_CAPS_privmethod ICollection.CopyTo(Array, Int32)

Copies the elements from an instance to an array beginning at the index indicated.(Inherited from SmoCollectionBase.)

See Also

DatabaseSegmentCollection Class
Microsoft.SqlServer.Management.Smo Namespace

Return to top