Partilhar via


Server.EnumAvailableMedia Method

Enumerates a list of media that are visible to the instance of Microsoft SQL Server on the local area network.

Remarks

Updated text:

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Overload List

Name Description
Server.EnumAvailableMedia ()
Enumerates a list of media that is visible to the instance of Microsoft SQL Server on the local area network.
Server.EnumAvailableMedia (MediaTypes)
Enumerates a list of media that is visible to the instance of Microsoft SQL Server on the local area network and limited to the type of media specified.

See Also

Reference

Server Class
Server Members
Microsoft.SqlServer.Management.Smo Namespace

Other Resources

How to: Use an Enumeration Method that Returns a DataTable Object in Visual Basic .NET
Calling Methods
Managing Servers

Change History

Release

History

New content:
  • Added code sample to the Example section.