Compartilhar via


Método TryGetPropertyValue (String, Object)

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

returnValue = instance.TryGetPropertyValue(propertyName, _
    value)
public bool TryGetPropertyValue(
    string propertyName,
    out Object value
)
public:
virtual bool TryGetPropertyValue(
    String^ propertyName, 
    [OutAttribute] Object^% value
) sealed
abstract TryGetPropertyValue : 
        propertyName:string * 
        value:Object byref -> bool 
override TryGetPropertyValue : 
        propertyName:string * 
        value:Object byref -> bool 
public final function TryGetPropertyValue(
    propertyName : String, 
    value : Object
) : boolean

Parâmetros

Valor de retorno

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

Implementa

ISfcPropertySet. . :: . .TryGetPropertyValue(String, Object%)