Partilhar via


EnumObject.GetProperty(String, ObjectPropertyUsages) Method

Definition

accessor for a property by name and usage ( internal use )

protected Microsoft.SqlServer.Management.Sdk.Sfc.ObjectProperty GetProperty (string name, Microsoft.SqlServer.Management.Sdk.Sfc.ObjectPropertyUsages usage);
member this.GetProperty : string * Microsoft.SqlServer.Management.Sdk.Sfc.ObjectPropertyUsages -> Microsoft.SqlServer.Management.Sdk.Sfc.ObjectProperty
Protected Function GetProperty (name As String, usage As ObjectPropertyUsages) As ObjectProperty

Parameters

name
String

name of the property

usage
ObjectPropertyUsages

intended usage

Returns

exception if the property does not meet the usage requirement or does not exist, else the coresponding property object

Applies to