Condividi tramite


Metodo TryGetPropertyValue (String, Object)

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 ( _
    propertyName As String, _
    <OutAttribute> ByRef value As Object _
) As Boolean
'Utilizzo
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

Parametri

Valore restituito

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

Implementa

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