Share via


ObjectProperty.Expensive Property

Gets or sets a Boolean property value that specifies whether the object property is expensive in terms of time taken to load and initialize.

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

Syntax

'Declaration
<XmlAttributeAttribute> _
Public Property Expensive As Boolean
[XmlAttributeAttribute] 
public bool Expensive { get; set; }
[XmlAttributeAttribute] 
public:
property bool Expensive {
    bool get ();
    void set (bool value);
}
/** @property */
public boolean get_Expensive ()

/** @property */
public void set_Expensive (boolean value)
public function get Expensive () : boolean

public function set Expensive (value : boolean)

Property Value

A Boolean value that specifies whether the property is expensive in terms of time to load. If True, the property is expensive. If False (default), the property is not expensive.

Remarks

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

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

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

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