Partilhar via


Método TryGetPropertyValue(T) (String, T)

Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (em Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Sintaxe

'Declaração
Public Function TryGetPropertyValue(Of T) ( _
    propertyName As String, _
    <OutAttribute> ByRef value As T _
) As Boolean
'Uso
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 não dá suporte a tipos e métodos genéricos.

Parâmetros de tipo

  • T

Parâmetros

  • value
    Tipo: T%
    The value of the object in the collection.

Valor de retorno

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

Implementa

ISfcPropertySet. . :: . .TryGetPropertyValue< (Of < <' (T> ) > > )(String, T%)