SqlGeography.InstanceOf(String) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Teste si l’instance SqlGeography est identique au type spécifié.
[Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=true)]
public System.Data.SqlTypes.SqlBoolean InstanceOf(string geometryType);
[<Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=true)>]
member this.InstanceOf : string -> System.Data.SqlTypes.SqlBoolean
Public Function InstanceOf (geometryType As String) As SqlBoolean
Paramètres
- geometryType
- String
Chaîne qui spécifie l’un des 12 types exposés dans la hiérarchie de types geography.
Retours
Valeur SqlBoolean qui indique si l’instance SqlGeography est identique au type geometry spécifié. Retourne true si le type d’une instance geography est identique au type spécifié, ou si le type spécifié est un ancêtre du type d’instance ; sinon, retourne false.
- Attributs