Share via


ISfcPropertySet.TryGetPropertyValue<T> Method (String, T%)

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(Of T) ( _
    name As String, _
    <OutAttribute> ByRef value As T _
) As Boolean
'Usage
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 does not support generic types and methods.

Type Parameters

  • T
    The type of the property value.

Parameters

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

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