EnumObject.GetProperty(String, ObjectPropertyUsages) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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