Condividi tramite


Server.EnumAvailableMedia Method

Definition

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.

Returns

Applies to