| ExtensionsEnumerateInstances Method |
Gets the informations about both named and default LocalDB instances on the user’s workstation.
Namespace:
usis.Data.LocalDb
Assembly:
usis.Data.LocalDb (in usis.Data.LocalDb.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static IEnumerable<InstanceInfo> EnumerateInstances(
this Manager manager
)
<ExtensionAttribute>
Public Shared Function EnumerateInstances (
manager As Manager
) As IEnumerable(Of InstanceInfo)
public:
[ExtensionAttribute]
static IEnumerable<InstanceInfo^>^ EnumerateInstances(
Manager^ manager
)
[<ExtensionAttribute>]
static member EnumerateInstances :
manager : Manager -> IEnumerable<InstanceInfo>
Parameters
- manager
- Type: usis.Data.LocalDbManager
The LocalDB manager object.
Return Value
Type:
IEnumerableInstanceInfo
An enumerator to iterate through all instance informations.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Manager. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also