SqlElementDescriptor Constructor (SqlElementDescriptor.DescriptorVolatility, Type)
Initializes a new instance of the SqlElementDescriptor class.
Namespace: Microsoft.Data.Schema.Sql.SchemaModel.SqlServer
Assembly: Microsoft.Data.Schema.Sql (in Microsoft.Data.Schema.Sql.dll)
Syntax
'Declaration
Public Sub New ( _
volatility As SqlElementDescriptor..::..DescriptorVolatility, _
elementType As Type _
)
'Usage
Dim volatility As SqlElementDescriptor..::..DescriptorVolatility
Dim elementType As Type
Dim instance As New SqlElementDescriptor(volatility, _
elementType)
public SqlElementDescriptor(
SqlElementDescriptor..::..DescriptorVolatility volatility,
Type elementType
)
public:
SqlElementDescriptor(
SqlElementDescriptor..::..DescriptorVolatility volatility,
Type^ elementType
)
public function SqlElementDescriptor(
volatility : SqlElementDescriptor..::..DescriptorVolatility,
elementType : Type
)
new :
volatility:SqlElementDescriptor..::..DescriptorVolatility *
elementType:Type -> SqlElementDescriptor
Parameters
- volatility
Type: Microsoft.Data.Schema.Sql.SchemaModel.SqlServer.SqlElementDescriptor.DescriptorVolatility
The value for the temporary status of the object
- elementType
Type: System.Type
The class of the element
Remarks
The constructor for unnamed elements.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.