Partilhar via


ObjectProperty.Usage Property

Gets or sets the way in which the property is used.

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

Syntax

'Declaration
<XmlAttributeAttribute> _
Public Property Usage As ObjectPropertyUsages
[XmlAttributeAttribute] 
public ObjectPropertyUsages Usage { get; set; }
[XmlAttributeAttribute] 
public:
property ObjectPropertyUsages Usage {
    ObjectPropertyUsages get ();
    void set (ObjectPropertyUsages value);
}
/** @property */
public ObjectPropertyUsages get_Usage ()

/** @property */
public void set_Usage (ObjectPropertyUsages value)
public function get Usage () : ObjectPropertyUsages

public function set Usage (value : ObjectPropertyUsages)

Property Value

An ObjectPropertyUsages object value that specifies the way in which the property is used.

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