. méthode (String, T)
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Private Function TryGetPropertyValue(Of T) ( _
name As String, _
<OutAttribute> ByRef value As T _
) As Boolean Implements ISfcPropertySet.TryGetPropertyValue``1
'Utilisation
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 ne prend pas en charge les types et les méthodes génériques.
Paramètres de type
- T
Valeur de retour
Type : System. . :: . .Boolean
Implémente
ISfcPropertySetTryGetPropertyValue``1(String, UMP%)