Compartir a través de


ISfcPropertySet.TryGetPropertyValue<T> Método (String, T%)

Attempts to get the property value. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server.

Espacio de nombres:  Microsoft.SqlServer.Management.Sdk.Sfc
Ensamblado:  Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Sintaxis

'Declaración
Function TryGetPropertyValue(Of T) ( _
    name As String, _
    <OutAttribute> ByRef value As T _
) As Boolean
'Uso
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 no admite tipos y métodos genéricos.

Parámetros de tipo

  • T
    The type of the property value.

Parámetros

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

Valor devuelto

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

Vea también

Referencia

ISfcPropertySet Interfaz

Sobrecarga de TryGetPropertyValue

Espacio de nombres Microsoft.SqlServer.Management.Sdk.Sfc