Server.EnumAvailableMedia Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
EnumAvailableMedia() |
Returns output of xp_availablemedia |
EnumAvailableMedia(MediaTypes) |
Returns output of xp_availablemedia |
EnumAvailableMedia()
Returns output of xp_availablemedia
public System.Data.DataTable EnumAvailableMedia ();
member this.EnumAvailableMedia : unit -> System.Data.DataTable
Public Function EnumAvailableMedia () As DataTable
Returns
Applies to
EnumAvailableMedia(MediaTypes)
Returns output of xp_availablemedia
public System.Data.DataTable EnumAvailableMedia (Microsoft.SqlServer.Management.Smo.MediaTypes media);
member this.EnumAvailableMedia : Microsoft.SqlServer.Management.Smo.MediaTypes -> System.Data.DataTable
Public Function EnumAvailableMedia (media As MediaTypes) As DataTable
Parameters
- media
- MediaTypes
Specifies media types to which the data will be filtered. If media includes MediaTypes.SharedFixedDisk, only shared drives will be returned.