Condividi tramite


Metodo SfcPropertyCollection.TryGetPropertyValue<T> (String, T%)

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 TryGetPropertyValue(Of T) ( _
    propertyName As String, _
    <OutAttribute> ByRef value As T _
) As Boolean
'Utilizzo
Dim instance As SfcPropertyCollection 
Dim propertyName As String 
Dim value As T
Dim returnValue As Boolean 

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

Parametri di tipo

  • T

Parametri

  • propertyName
    Tipo: System.String
    A string that represents the property name.
  • value
    Tipo: T%
    The value of the object in the collection.

Valore restituito

Tipo: System.Boolean
true if the Property tries to get its property value; otherwise, false.

Implementa

ISfcPropertySet.TryGetPropertyValue<T>(String, T%)

Vedere anche

Riferimento

SfcPropertyCollection Classe

Overload TryGetPropertyValue

Spazio dei nomi Microsoft.SqlServer.Management.Sdk.Sfc