Proprietà ServerInstanceCollection.Count
Gets the number of ServerInstance objects in the referenced collection.
Spazio dei nomi Microsoft.SqlServer.Management.Smo.Wmi
Assembly: Microsoft.SqlServer.SqlWmiManagement (in Microsoft.SqlServer.SqlWmiManagement.dll)
Sintassi
'Dichiarazione
Public ReadOnly Property Count As Integer
Get
'Utilizzo
Dim instance As ServerInstanceCollection
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
Valore proprietà
Tipo: System.Int32
An int32 value that specifies the number of ServerInstance objects in the referenced collection.