SqlObjectBase.GetSqlProperty(String, ObjectPropertyUsages) SqlObjectBase.GetSqlProperty(String, ObjectPropertyUsages) SqlObjectBase.GetSqlProperty(String, ObjectPropertyUsages) Method

Definition

Retrieves the property field if it is legal for the usage, else throws. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

public:
 Microsoft::SqlServer::Management::Sdk::Sfc::SqlObjectProperty ^ GetSqlProperty(System::String ^ field, Microsoft::SqlServer::Management::Sdk::Sfc::ObjectPropertyUsages usage);
public Microsoft.SqlServer.Management.Sdk.Sfc.SqlObjectProperty GetSqlProperty (string field, Microsoft.SqlServer.Management.Sdk.Sfc.ObjectPropertyUsages usage);
Public Function GetSqlProperty (field As String, usage As ObjectPropertyUsages) As SqlObjectProperty
Parameters
field
String String String

The string that represents a property of an object.

usage
ObjectPropertyUsages ObjectPropertyUsages ObjectPropertyUsages

The usage of the property of an object.

Returns

The property field of an object.

Applies to