مشاركة عبر


RegisteredServerCollection.Count Property

Gets the number of RegisteredServer objects in the collection.

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

Syntax

'Declaration
Public ReadOnly Property Count As Integer 
    Get
'Usage
Dim instance As RegisteredServerCollection 
Dim value As Integer 

value = instance.Count
public int Count { get; }
public:
virtual property int Count {
    int get () sealed;
}
abstract Count : int 
override Count : int
final function get Count () : int

Property Value

Type: System.Int32
An Int32 value that specifies the number of RegisteredServer objects in the collection.

Implements

ICollection.Count

Examples

Using Collections

See Also

Reference

RegisteredServerCollection Class

Microsoft.SqlServer.Management.Smo.RegisteredServers Namespace

Other Resources

Using Collections