Metodo EnumObject.GetProperty
Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server.
Spazio dei nomi Microsoft.SqlServer.Management.Sdk.Sfc
Assembly: Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Sintassi
'Dichiarazione
Protected Function GetProperty ( _
name As String, _
usage As ObjectPropertyUsages _
) As ObjectProperty
'Utilizzo
Dim name As String
Dim usage As ObjectPropertyUsages
Dim returnValue As ObjectProperty
returnValue = Me.GetProperty(name, _
usage)
protected ObjectProperty GetProperty(
string name,
ObjectPropertyUsages usage
)
protected:
ObjectProperty^ GetProperty(
String^ name,
ObjectPropertyUsages usage
)
member GetProperty :
name:string *
usage:ObjectPropertyUsages -> ObjectProperty
protected function GetProperty(
name : String,
usage : ObjectPropertyUsages
) : ObjectProperty
Parametri
- name
Tipo: System.String
The name of the property.
- usage
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc.ObjectPropertyUsages
The usage filter.
Valore restituito
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc.ObjectProperty
An exception if the property does not meet the usage requirement or does not exist, else the corresponding property object.