Share via


ISfcPropertySet.TryGetPropertyValue Method (String, Object%)

Attempts to get the property value. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

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

Syntax

'Declaration
Function TryGetPropertyValue ( _
    name As String, _
    <OutAttribute> ByRef value As Object _
) As Boolean
'Usage
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

Parameters

Return Value

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

See Also

Reference

ISfcPropertySet Interface

TryGetPropertyValue Overload

Microsoft.SqlServer.Management.Sdk.Sfc Namespace