Condividi tramite


Metodo TryGetPropertyValue (String, Object)

Attempts to get the property value. 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
Function TryGetPropertyValue ( _
    name As String, _
    <OutAttribute> ByRef value As Object _
) As Boolean
'Utilizzo
Dim instance As ISfcPropertySet
Dim name As String
Dim value As Object
Dim returnValue As Boolean

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

Parametri

Valore restituito

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