Condividi tramite


Metodo TryGetPropertyValue(T) (String, T)

Attempts to get the property value. 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
Function TryGetPropertyValue(Of T) ( _
    name As String, _
    <OutAttribute> ByRef value As T _
) As Boolean
'Utilizzo
Dim instance As ISfcPropertySet
Dim name As String
Dim value As T
Dim returnValue As Boolean

returnValue = instance.TryGetPropertyValue(name, _
    value)
bool TryGetPropertyValue<T>(
    string name,
    out T value
)
generic<typename T>
bool TryGetPropertyValue(
    String^ name, 
    [OutAttribute] T% value
)
abstract TryGetPropertyValue : 
        name:string * 
        value:'T byref -> bool 
JScript non supporta i metodi e i tipi generici.

Parametri di tipo

  • T
    The type of the property value.

Parametri

  • value
    Tipo: T%
    An Object that represents the property value.

Valore restituito

Tipo: System. . :: . .Boolean
true if the property value is successfully retrieved; otherwise, false.