Condividi tramite


Metodo GetSqlProperty

Retrieves the property field if it is legal for the usage, else throws. 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
Public Function GetSqlProperty ( _
    field As String, _
    usage As ObjectPropertyUsages _
) As SqlObjectProperty
'Utilizzo
Dim instance As SqlObjectBase
Dim field As String
Dim usage As ObjectPropertyUsages
Dim returnValue As SqlObjectProperty

returnValue = instance.GetSqlProperty(field, _
    usage)
public SqlObjectProperty GetSqlProperty(
    string field,
    ObjectPropertyUsages usage
)
public:
SqlObjectProperty^ GetSqlProperty(
    String^ field, 
    ObjectPropertyUsages usage
)
member GetSqlProperty : 
        field:string * 
        usage:ObjectPropertyUsages -> SqlObjectProperty 
public function GetSqlProperty(
    field : String, 
    usage : ObjectPropertyUsages
) : SqlObjectProperty

Parametri

Valore restituito

Tipo: Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SqlObjectProperty
The property field of an object.