Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Tries to get the property value specified by the name parameter and type specified by the property parameter.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Private Function TryGetPropertyValue ( _
name As String, _
<OutAttribute> ByRef value As Object _
) As Boolean Implements ISfcPropertySet.TryGetPropertyValue
'Utilisation
Dim instance As PropertyCollection
Dim name As String
Dim value As Object
Dim returnValue As Boolean
returnValue = CType(instance, ISfcPropertySet).TryGetPropertyValue(name, _
value)
bool ISfcPropertySet.TryGetPropertyValue(
string name,
out Object value
)
private:
virtual bool TryGetPropertyValue(
String^ name,
[OutAttribute] Object^% value
) sealed = ISfcPropertySet::TryGetPropertyValue
private abstract TryGetPropertyValue :
name:string *
value:Object byref -> bool
private override TryGetPropertyValue :
name:string *
value:Object byref -> bool
JScript prend en charge l'utilisation d'implémentations d'interface explicites, mais pas la déclaration de nouvelles implémentations d'interface.
Paramètres
- name
Type : System.String
A string value that specifies the name of the property.
- value
Type : System.Object%
An Object.
Valeur de retour
Type : System.Boolean
A Boolean value, True if the collection contains the property value, otherwise False.
Implémente
ISfcPropertySet.TryGetPropertyValue(String, Object%)