PropertyCollection.. Method (String, T%)

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Private Function TryGetPropertyValue(Of T) ( _
    name As String, _
    <OutAttribute> ByRef value As T _
) As Boolean Implements ISfcPropertySet.TryGetPropertyValue``1
'Usage
Dim instance As PropertyCollection
Dim name As String
Dim value As T
Dim returnValue As Boolean

returnValue = CType(instance, ISfcPropertySet).TryGetPropertyValue``1(name, _
    value)
bool ISfcPropertySet.TryGetPropertyValue``1<T>(
    string name,
    out T value
)
private:
generic<typename T>
virtual bool TryGetPropertyValue(
    String^ name, 
    [OutAttribute] T% value
) sealed = ISfcPropertySet::TryGetPropertyValue``1
private abstract TryGetPropertyValue : 
        name:string * 
        value:'T byref -> bool 
private override TryGetPropertyValue : 
        name:string * 
        value:'T byref -> bool 
JScript does not support generic types and methods.

Type Parameters

  • T

Parameters

  • value
    Type: T%

Return Value

Type: System.Boolean

Implements

ISfcPropertySetTryGetPropertyValue``1(String, UMP%)