Partilhar via


DeviceType Enumeration

The DeviceType enumeration is a list of constant values that specify the various different types of devices supported by Microsoft SQL Server.

Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntax

'Declaration
Public Enumeration DeviceType
public enum DeviceType
public enum class DeviceType
public enum DeviceType
public enum DeviceType

Members

Member name Description
File Specifies a disk file.
LogicalDevice Specifies a logical device.
Pipe Specifies a named pipe.
Tape Specifies a tape device.
VirtualDevice Specifies a virtual device.

Remarks

The DeviceType enumeration class is served by the DeviceType property.

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

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

Microsoft.SqlServer.Management.Smo Namespace