EnumObject.GetProperty(String, ObjectPropertyUsages) EnumObject.GetProperty(String, ObjectPropertyUsages) EnumObject.GetProperty(String, ObjectPropertyUsages) Method

Definition

Do not reference this member directly in your code. It supports the SQL Server infrastructure.

protected:
 Microsoft::SqlServer::Management::Sdk::Sfc::ObjectProperty ^ GetProperty(System::String ^ name, Microsoft::SqlServer::Management::Sdk::Sfc::ObjectPropertyUsages usage);
protected Microsoft.SqlServer.Management.Sdk.Sfc.ObjectProperty GetProperty (string name, Microsoft.SqlServer.Management.Sdk.Sfc.ObjectPropertyUsages usage);
Protected Function GetProperty (name As String, usage As ObjectPropertyUsages) As ObjectProperty
Parameters
name
String String String

The name of the property.

Returns

An exception if the property does not meet the usage requirement or does not exist, else the corresponding property object.

Applies to